DataProducts interface

Interface representing a DataProducts.

Methods

addUserRole(string, string, RoleAssignmentCommonProperties, DataProductsAddUserRoleOptionalParams)

Assign role to the data product.

beginCreate(string, string, DataProduct, DataProductsCreateOptionalParams)

Create data product resource.

beginCreateAndWait(string, string, DataProduct, DataProductsCreateOptionalParams)

Create data product resource.

beginDelete(string, string, DataProductsDeleteOptionalParams)

Delete data product resource.

beginDeleteAndWait(string, string, DataProductsDeleteOptionalParams)

Delete data product resource.

beginUpdate(string, string, DataProductUpdate, DataProductsUpdateOptionalParams)

Update data product resource.

beginUpdateAndWait(string, string, DataProductUpdate, DataProductsUpdateOptionalParams)

Update data product resource.

generateStorageAccountSasToken(string, string, AccountSas, DataProductsGenerateStorageAccountSasTokenOptionalParams)

Generate sas token for storage account.

get(string, string, DataProductsGetOptionalParams)

Retrieve data product resource.

listByResourceGroup(string, DataProductsListByResourceGroupOptionalParams)

List data products by resource group.

listBySubscription(DataProductsListBySubscriptionOptionalParams)

List data products by subscription.

listRolesAssignments(string, string, Record<string, unknown>, DataProductsListRolesAssignmentsOptionalParams)

List user roles associated with the data product.

removeUserRole(string, string, RoleAssignmentDetail, DataProductsRemoveUserRoleOptionalParams)

Remove role from the data product.

rotateKey(string, string, KeyVaultInfo, DataProductsRotateKeyOptionalParams)

Initiate key rotation on Data Product.

Method Details

addUserRole(string, string, RoleAssignmentCommonProperties, DataProductsAddUserRoleOptionalParams)

Assign role to the data product.

function addUserRole(resourceGroupName: string, dataProductName: string, body: RoleAssignmentCommonProperties, options?: DataProductsAddUserRoleOptionalParams): Promise<RoleAssignmentDetail>

Parameters

resourceGroupName

string

The name of the resource group. The name is case insensitive.

dataProductName

string

The data product resource name

body
RoleAssignmentCommonProperties

The content of the action request

options
DataProductsAddUserRoleOptionalParams

The options parameters.

Returns

beginCreate(string, string, DataProduct, DataProductsCreateOptionalParams)

Create data product resource.

function beginCreate(resourceGroupName: string, dataProductName: string, resource: DataProduct, options?: DataProductsCreateOptionalParams): Promise<SimplePollerLike<OperationState<DataProduct>, DataProduct>>

Parameters

resourceGroupName

string

The name of the resource group. The name is case insensitive.

dataProductName

string

The data product resource name

resource
DataProduct

Resource create parameters.

options
DataProductsCreateOptionalParams

The options parameters.

Returns

Promise<@azure/core-lro.SimplePollerLike<OperationState<DataProduct>, DataProduct>>

beginCreateAndWait(string, string, DataProduct, DataProductsCreateOptionalParams)

Create data product resource.

function beginCreateAndWait(resourceGroupName: string, dataProductName: string, resource: DataProduct, options?: DataProductsCreateOptionalParams): Promise<DataProduct>

Parameters

resourceGroupName

string

The name of the resource group. The name is case insensitive.

dataProductName

string

The data product resource name

resource
DataProduct

Resource create parameters.

options
DataProductsCreateOptionalParams

The options parameters.

Returns

Promise<DataProduct>

beginDelete(string, string, DataProductsDeleteOptionalParams)

Delete data product resource.

function beginDelete(resourceGroupName: string, dataProductName: string, options?: DataProductsDeleteOptionalParams): Promise<SimplePollerLike<OperationState<DataProductsDeleteHeaders>, DataProductsDeleteHeaders>>

Parameters

resourceGroupName

string

The name of the resource group. The name is case insensitive.

dataProductName

string

The data product resource name

options
DataProductsDeleteOptionalParams

The options parameters.

Returns

Promise<@azure/core-lro.SimplePollerLike<OperationState<DataProductsDeleteHeaders>, DataProductsDeleteHeaders>>

beginDeleteAndWait(string, string, DataProductsDeleteOptionalParams)

Delete data product resource.

function beginDeleteAndWait(resourceGroupName: string, dataProductName: string, options?: DataProductsDeleteOptionalParams): Promise<DataProductsDeleteHeaders>

Parameters

resourceGroupName

string

The name of the resource group. The name is case insensitive.

dataProductName

string

The data product resource name

options
DataProductsDeleteOptionalParams

The options parameters.

Returns

beginUpdate(string, string, DataProductUpdate, DataProductsUpdateOptionalParams)

Update data product resource.

function beginUpdate(resourceGroupName: string, dataProductName: string, properties: DataProductUpdate, options?: DataProductsUpdateOptionalParams): Promise<SimplePollerLike<OperationState<DataProduct>, DataProduct>>

Parameters

resourceGroupName

string

The name of the resource group. The name is case insensitive.

dataProductName

string

The data product resource name

properties
DataProductUpdate

The resource properties to be updated.

options
DataProductsUpdateOptionalParams

The options parameters.

Returns

Promise<@azure/core-lro.SimplePollerLike<OperationState<DataProduct>, DataProduct>>

beginUpdateAndWait(string, string, DataProductUpdate, DataProductsUpdateOptionalParams)

Update data product resource.

function beginUpdateAndWait(resourceGroupName: string, dataProductName: string, properties: DataProductUpdate, options?: DataProductsUpdateOptionalParams): Promise<DataProduct>

Parameters

resourceGroupName

string

The name of the resource group. The name is case insensitive.

dataProductName

string

The data product resource name

properties
DataProductUpdate

The resource properties to be updated.

options
DataProductsUpdateOptionalParams

The options parameters.

Returns

Promise<DataProduct>

generateStorageAccountSasToken(string, string, AccountSas, DataProductsGenerateStorageAccountSasTokenOptionalParams)

Generate sas token for storage account.

function generateStorageAccountSasToken(resourceGroupName: string, dataProductName: string, body: AccountSas, options?: DataProductsGenerateStorageAccountSasTokenOptionalParams): Promise<AccountSasToken>

Parameters

resourceGroupName

string

The name of the resource group. The name is case insensitive.

dataProductName

string

The data product resource name

body
AccountSas

The content of the action request

Returns

Promise<AccountSasToken>

get(string, string, DataProductsGetOptionalParams)

Retrieve data product resource.

function get(resourceGroupName: string, dataProductName: string, options?: DataProductsGetOptionalParams): Promise<DataProduct>

Parameters

resourceGroupName

string

The name of the resource group. The name is case insensitive.

dataProductName

string

The data product resource name

options
DataProductsGetOptionalParams

The options parameters.

Returns

Promise<DataProduct>

listByResourceGroup(string, DataProductsListByResourceGroupOptionalParams)

List data products by resource group.

function listByResourceGroup(resourceGroupName: string, options?: DataProductsListByResourceGroupOptionalParams): PagedAsyncIterableIterator<DataProduct, DataProduct[], PageSettings>

Parameters

resourceGroupName

string

The name of the resource group. The name is case insensitive.

options
DataProductsListByResourceGroupOptionalParams

The options parameters.

Returns

listBySubscription(DataProductsListBySubscriptionOptionalParams)

List data products by subscription.

function listBySubscription(options?: DataProductsListBySubscriptionOptionalParams): PagedAsyncIterableIterator<DataProduct, DataProduct[], PageSettings>

Parameters

options
DataProductsListBySubscriptionOptionalParams

The options parameters.

Returns

listRolesAssignments(string, string, Record<string, unknown>, DataProductsListRolesAssignmentsOptionalParams)

List user roles associated with the data product.

function listRolesAssignments(resourceGroupName: string, dataProductName: string, body: Record<string, unknown>, options?: DataProductsListRolesAssignmentsOptionalParams): Promise<ListRoleAssignments>

Parameters

resourceGroupName

string

The name of the resource group. The name is case insensitive.

dataProductName

string

The data product resource name

body

Record<string, unknown>

The content of the action request

options
DataProductsListRolesAssignmentsOptionalParams

The options parameters.

Returns

removeUserRole(string, string, RoleAssignmentDetail, DataProductsRemoveUserRoleOptionalParams)

Remove role from the data product.

function removeUserRole(resourceGroupName: string, dataProductName: string, body: RoleAssignmentDetail, options?: DataProductsRemoveUserRoleOptionalParams): Promise<void>

Parameters

resourceGroupName

string

The name of the resource group. The name is case insensitive.

dataProductName

string

The data product resource name

body
RoleAssignmentDetail

The content of the action request

options
DataProductsRemoveUserRoleOptionalParams

The options parameters.

Returns

Promise<void>

rotateKey(string, string, KeyVaultInfo, DataProductsRotateKeyOptionalParams)

Initiate key rotation on Data Product.

function rotateKey(resourceGroupName: string, dataProductName: string, body: KeyVaultInfo, options?: DataProductsRotateKeyOptionalParams): Promise<void>

Parameters

resourceGroupName

string

The name of the resource group. The name is case insensitive.

dataProductName

string

The data product resource name

body
KeyVaultInfo

The content of the action request

options
DataProductsRotateKeyOptionalParams

The options parameters.

Returns

Promise<void>