Assets interface

Interface representing a Assets.

Methods

beginCreateOrReplace(string, string, Asset, AssetsCreateOrReplaceOptionalParams)

Create a Asset

beginCreateOrReplaceAndWait(string, string, Asset, AssetsCreateOrReplaceOptionalParams)

Create a Asset

beginDelete(string, string, AssetsDeleteOptionalParams)

Delete a Asset

beginDeleteAndWait(string, string, AssetsDeleteOptionalParams)

Delete a Asset

beginUpdate(string, string, AssetUpdate, AssetsUpdateOptionalParams)

Update a Asset

beginUpdateAndWait(string, string, AssetUpdate, AssetsUpdateOptionalParams)

Update a Asset

get(string, string, AssetsGetOptionalParams)

Get a Asset

listByResourceGroup(string, AssetsListByResourceGroupOptionalParams)

List Asset resources by resource group

listBySubscription(AssetsListBySubscriptionOptionalParams)

List Asset resources by subscription ID

Method Details

beginCreateOrReplace(string, string, Asset, AssetsCreateOrReplaceOptionalParams)

Create a Asset

function beginCreateOrReplace(resourceGroupName: string, assetName: string, resource: Asset, options?: AssetsCreateOrReplaceOptionalParams): Promise<SimplePollerLike<OperationState<Asset>, Asset>>

Parameters

resourceGroupName

string

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

assetName

string

Asset name parameter.

resource
Asset

Resource create parameters.

options
AssetsCreateOrReplaceOptionalParams

The options parameters.

Returns

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

beginCreateOrReplaceAndWait(string, string, Asset, AssetsCreateOrReplaceOptionalParams)

Create a Asset

function beginCreateOrReplaceAndWait(resourceGroupName: string, assetName: string, resource: Asset, options?: AssetsCreateOrReplaceOptionalParams): Promise<Asset>

Parameters

resourceGroupName

string

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

assetName

string

Asset name parameter.

resource
Asset

Resource create parameters.

options
AssetsCreateOrReplaceOptionalParams

The options parameters.

Returns

Promise<Asset>

beginDelete(string, string, AssetsDeleteOptionalParams)

Delete a Asset

function beginDelete(resourceGroupName: string, assetName: string, options?: AssetsDeleteOptionalParams): Promise<SimplePollerLike<OperationState<AssetsDeleteHeaders>, AssetsDeleteHeaders>>

Parameters

resourceGroupName

string

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

assetName

string

Asset name parameter.

options
AssetsDeleteOptionalParams

The options parameters.

Returns

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

beginDeleteAndWait(string, string, AssetsDeleteOptionalParams)

Delete a Asset

function beginDeleteAndWait(resourceGroupName: string, assetName: string, options?: AssetsDeleteOptionalParams): Promise<AssetsDeleteHeaders>

Parameters

resourceGroupName

string

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

assetName

string

Asset name parameter.

options
AssetsDeleteOptionalParams

The options parameters.

Returns

beginUpdate(string, string, AssetUpdate, AssetsUpdateOptionalParams)

Update a Asset

function beginUpdate(resourceGroupName: string, assetName: string, properties: AssetUpdate, options?: AssetsUpdateOptionalParams): Promise<SimplePollerLike<OperationState<Asset>, Asset>>

Parameters

resourceGroupName

string

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

assetName

string

Asset name parameter.

properties
AssetUpdate

The resource properties to be updated.

options
AssetsUpdateOptionalParams

The options parameters.

Returns

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

beginUpdateAndWait(string, string, AssetUpdate, AssetsUpdateOptionalParams)

Update a Asset

function beginUpdateAndWait(resourceGroupName: string, assetName: string, properties: AssetUpdate, options?: AssetsUpdateOptionalParams): Promise<Asset>

Parameters

resourceGroupName

string

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

assetName

string

Asset name parameter.

properties
AssetUpdate

The resource properties to be updated.

options
AssetsUpdateOptionalParams

The options parameters.

Returns

Promise<Asset>

get(string, string, AssetsGetOptionalParams)

Get a Asset

function get(resourceGroupName: string, assetName: string, options?: AssetsGetOptionalParams): Promise<Asset>

Parameters

resourceGroupName

string

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

assetName

string

Asset name parameter.

options
AssetsGetOptionalParams

The options parameters.

Returns

Promise<Asset>

listByResourceGroup(string, AssetsListByResourceGroupOptionalParams)

List Asset resources by resource group

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

Parameters

resourceGroupName

string

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

options
AssetsListByResourceGroupOptionalParams

The options parameters.

Returns

listBySubscription(AssetsListBySubscriptionOptionalParams)

List Asset resources by subscription ID

function listBySubscription(options?: AssetsListBySubscriptionOptionalParams): PagedAsyncIterableIterator<Asset, Asset[], PageSettings>

Parameters

options
AssetsListBySubscriptionOptionalParams

The options parameters.

Returns