Share via


DataProductResource Class

Definition

A Class representing a DataProduct along with the instance operations that can be performed on it. If you have a Azure.Core.ResourceIdentifier you can construct a DataProductResource from an instance of Azure.ResourceManager.ArmClient using the GetDataProductResource method. Otherwise you can get one from its parent resource Azure.ResourceManager.Resources.ResourceGroupResource using the GetDataProduct method.

public class DataProductResource : Azure.ResourceManager.ArmResource, System.ClientModel.Primitives.IJsonModel<Azure.ResourceManager.NetworkAnalytics.DataProductData>, System.ClientModel.Primitives.IPersistableModel<Azure.ResourceManager.NetworkAnalytics.DataProductData>
type DataProductResource = class
    inherit ArmResource
    interface IJsonModel<DataProductData>
    interface IPersistableModel<DataProductData>
Public Class DataProductResource
Inherits ArmResource
Implements IJsonModel(Of DataProductData), IPersistableModel(Of DataProductData)
Inheritance
Azure.ResourceManager.ArmResource
DataProductResource
Implements
System.ClientModel.Primitives.IJsonModel<DataProductData> System.ClientModel.Primitives.IPersistableModel<DataProductData> System.ClientModel.Primitives.IPersistableModel<T>

Constructors

DataProductResource()

Initializes a new instance of the DataProductResource class for mocking.

Fields

ResourceType

Gets the resource type for the operations.

Properties

Data

Gets the data representing this Feature.

HasData

Gets whether or not the current instance has data.

Methods

AddTag(String, String, CancellationToken)

Add a tag to the current resource.

  • Request Path: /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.NetworkAnalytics/dataProducts/{dataProductName}
  • Operation Id: DataProducts_Get
  • Default Api Version: 2023-11-15
  • Resource: DataProductResource
AddTagAsync(String, String, CancellationToken)

Add a tag to the current resource.

  • Request Path: /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.NetworkAnalytics/dataProducts/{dataProductName}
  • Operation Id: DataProducts_Get
  • Default Api Version: 2023-11-15
  • Resource: DataProductResource
AddUserRole(RoleAssignmentCommonProperties, CancellationToken)

Assign role to the data product.

  • Request Path: /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.NetworkAnalytics/dataProducts/{dataProductName}/addUserRole
  • Operation Id: DataProducts_AddUserRole
  • Default Api Version: 2023-11-15
  • Resource: DataProductResource
AddUserRoleAsync(RoleAssignmentCommonProperties, CancellationToken)

Assign role to the data product.

  • Request Path: /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.NetworkAnalytics/dataProducts/{dataProductName}/addUserRole
  • Operation Id: DataProducts_AddUserRole
  • Default Api Version: 2023-11-15
  • Resource: DataProductResource
CreateResourceIdentifier(String, String, String)

Generate the resource identifier of a DataProductResource instance.

Delete(WaitUntil, CancellationToken)

Delete data product resource.

  • Request Path: /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.NetworkAnalytics/dataProducts/{dataProductName}
  • Operation Id: DataProducts_Delete
  • Default Api Version: 2023-11-15
  • Resource: DataProductResource
DeleteAsync(WaitUntil, CancellationToken)

Delete data product resource.

  • Request Path: /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.NetworkAnalytics/dataProducts/{dataProductName}
  • Operation Id: DataProducts_Delete
  • Default Api Version: 2023-11-15
  • Resource: DataProductResource
GenerateStorageAccountSasToken(AccountSasContent, CancellationToken)

Generate sas token for storage account.

  • Request Path: /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.NetworkAnalytics/dataProducts/{dataProductName}/generateStorageAccountSasToken
  • Operation Id: DataProducts_GenerateStorageAccountSasToken
  • Default Api Version: 2023-11-15
  • Resource: DataProductResource
GenerateStorageAccountSasTokenAsync(AccountSasContent, CancellationToken)

Generate sas token for storage account.

  • Request Path: /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.NetworkAnalytics/dataProducts/{dataProductName}/generateStorageAccountSasToken
  • Operation Id: DataProducts_GenerateStorageAccountSasToken
  • Default Api Version: 2023-11-15
  • Resource: DataProductResource
Get(CancellationToken)

Retrieve data product resource.

  • Request Path: /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.NetworkAnalytics/dataProducts/{dataProductName}
  • Operation Id: DataProducts_Get
  • Default Api Version: 2023-11-15
  • Resource: DataProductResource
GetAsync(CancellationToken)

Retrieve data product resource.

  • Request Path: /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.NetworkAnalytics/dataProducts/{dataProductName}
  • Operation Id: DataProducts_Get
  • Default Api Version: 2023-11-15
  • Resource: DataProductResource
GetDataTypes(CancellationToken)

List data type by parent resource.

  • Request Path: /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.NetworkAnalytics/dataProducts/{dataProductName}/dataTypes
  • Operation Id: DataTypes_ListByDataProduct
  • Default Api Version: 2023-11-15
GetDataTypesAsync(CancellationToken)

List data type by parent resource.

  • Request Path: /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.NetworkAnalytics/dataProducts/{dataProductName}/dataTypes
  • Operation Id: DataTypes_ListByDataProduct
  • Default Api Version: 2023-11-15
GetRolesAssignments(BinaryData, CancellationToken)

List user roles associated with the data product.

  • Request Path: /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.NetworkAnalytics/dataProducts/{dataProductName}/listRolesAssignments
  • Operation Id: DataProducts_ListRolesAssignments
  • Default Api Version: 2023-11-15
  • Resource: DataProductResource
GetRolesAssignmentsAsync(BinaryData, CancellationToken)

List user roles associated with the data product.

  • Request Path: /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.NetworkAnalytics/dataProducts/{dataProductName}/listRolesAssignments
  • Operation Id: DataProducts_ListRolesAssignments
  • Default Api Version: 2023-11-15
  • Resource: DataProductResource
RemoveTag(String, CancellationToken)

Removes a tag by key from the resource.

  • Request Path: /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.NetworkAnalytics/dataProducts/{dataProductName}
  • Operation Id: DataProducts_Get
  • Default Api Version: 2023-11-15
  • Resource: DataProductResource
RemoveTagAsync(String, CancellationToken)

Removes a tag by key from the resource.

  • Request Path: /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.NetworkAnalytics/dataProducts/{dataProductName}
  • Operation Id: DataProducts_Get
  • Default Api Version: 2023-11-15
  • Resource: DataProductResource
RemoveUserRole(RoleAssignmentDetail, CancellationToken)

Remove role from the data product.

  • Request Path: /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.NetworkAnalytics/dataProducts/{dataProductName}/removeUserRole
  • Operation Id: DataProducts_RemoveUserRole
  • Default Api Version: 2023-11-15
  • Resource: DataProductResource
RemoveUserRoleAsync(RoleAssignmentDetail, CancellationToken)

Remove role from the data product.

  • Request Path: /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.NetworkAnalytics/dataProducts/{dataProductName}/removeUserRole
  • Operation Id: DataProducts_RemoveUserRole
  • Default Api Version: 2023-11-15
  • Resource: DataProductResource
RotateKey(NetworkAnalyticsKeyVaultContent, CancellationToken)

Initiate key rotation on Data Product.

  • Request Path: /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.NetworkAnalytics/dataProducts/{dataProductName}/rotateKey
  • Operation Id: DataProducts_RotateKey
  • Default Api Version: 2023-11-15
  • Resource: DataProductResource
RotateKeyAsync(NetworkAnalyticsKeyVaultContent, CancellationToken)

Initiate key rotation on Data Product.

  • Request Path: /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.NetworkAnalytics/dataProducts/{dataProductName}/rotateKey
  • Operation Id: DataProducts_RotateKey
  • Default Api Version: 2023-11-15
  • Resource: DataProductResource
SetTags(IDictionary<String,String>, CancellationToken)

Replace the tags on the resource with the given set.

  • Request Path: /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.NetworkAnalytics/dataProducts/{dataProductName}
  • Operation Id: DataProducts_Get
  • Default Api Version: 2023-11-15
  • Resource: DataProductResource
SetTagsAsync(IDictionary<String,String>, CancellationToken)

Replace the tags on the resource with the given set.

  • Request Path: /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.NetworkAnalytics/dataProducts/{dataProductName}
  • Operation Id: DataProducts_Get
  • Default Api Version: 2023-11-15
  • Resource: DataProductResource
Update(WaitUntil, DataProductPatch, CancellationToken)

Update data product resource.

  • Request Path: /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.NetworkAnalytics/dataProducts/{dataProductName}
  • Operation Id: DataProducts_Update
  • Default Api Version: 2023-11-15
  • Resource: DataProductResource
UpdateAsync(WaitUntil, DataProductPatch, CancellationToken)

Update data product resource.

  • Request Path: /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.NetworkAnalytics/dataProducts/{dataProductName}
  • Operation Id: DataProducts_Update
  • Default Api Version: 2023-11-15
  • Resource: DataProductResource

Explicit Interface Implementations

IJsonModel<DataProductData>.Create(Utf8JsonReader, ModelReaderWriterOptions)

Reads one JSON value (including objects or arrays) from the provided reader and converts it to a model.

IJsonModel<DataProductData>.Write(Utf8JsonWriter, ModelReaderWriterOptions)

Writes the model to the provided System.Text.Json.Utf8JsonWriter.

IPersistableModel<DataProductData>.Create(BinaryData, ModelReaderWriterOptions)

Converts the provided System.BinaryData into a model.

IPersistableModel<DataProductData>.GetFormatFromOptions(ModelReaderWriterOptions)

Gets the data interchange format (JSON, Xml, etc) that the model uses when communicating with the service.

IPersistableModel<DataProductData>.Write(ModelReaderWriterOptions)

Writes the model into a System.BinaryData.

Applies to