共用方式為


AssetsOperations interface

表示資產作業的介面。

屬性

createOrReplace

建立資產

delete
get

取得資產

listByResourceGroup

依資源群組列出資產資源

listBySubscription

依訂用帳戶標識碼列出資產資源

update

更新資產

屬性詳細資料

createOrReplace

建立資產

createOrReplace: (resourceGroupName: string, assetName: string, resource: Asset, options?: AssetsCreateOrReplaceOptionalParams) => PollerLike<OperationState<Asset>, Asset>

屬性值

(resourceGroupName: string, assetName: string, resource: Asset, options?: AssetsCreateOrReplaceOptionalParams) => PollerLike<OperationState<Asset>, Asset>

delete

delete: (resourceGroupName: string, assetName: string, options?: AssetsDeleteOptionalParams) => PollerLike<OperationState<void>, void>

屬性值

(resourceGroupName: string, assetName: string, options?: AssetsDeleteOptionalParams) => PollerLike<OperationState<void>, void>

get

取得資產

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

屬性值

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

listByResourceGroup

依資源群組列出資產資源

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

屬性值

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

listBySubscription

依訂用帳戶標識碼列出資產資源

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

屬性值

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

update

更新資產

update: (resourceGroupName: string, assetName: string, properties: AssetUpdate, options?: AssetsUpdateOptionalParams) => PollerLike<OperationState<Asset>, Asset>

屬性值

(resourceGroupName: string, assetName: string, properties: AssetUpdate, options?: AssetsUpdateOptionalParams) => PollerLike<OperationState<Asset>, Asset>