Assets interface
Interface representing a Assets.
Methods
begin |
Create a Asset |
begin |
Create a Asset |
begin |
Delete a Asset |
begin |
Delete a Asset |
begin |
Update a Asset |
begin |
Update a Asset |
get(string, string, Assets |
Get a Asset |
list |
List Asset resources by resource group |
list |
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.
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.
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
Promise<AssetsDeleteHeaders>
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.
The options parameters.
Returns
listBySubscription(AssetsListBySubscriptionOptionalParams)
List Asset resources by subscription ID
function listBySubscription(options?: AssetsListBySubscriptionOptionalParams): PagedAsyncIterableIterator<Asset, Asset[], PageSettings>
Parameters
The options parameters.
Returns
Azure SDK for JavaScript