通过


你当前正在访问 Microsoft Azure Global Edition 技术文档网站。 如果需要访问由世纪互联运营的 Microsoft Azure 中国技术文档网站,请访问 https://docs.azure.cn

AssetsOperations interface

表示 Assets 操作的接口。

属性

createOrReplace

创建资产

delete
get

获取资产

listByResourceGroup

按资源组列出资产资源

listBySubscription

按订阅 ID 列出资产资源

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

按订阅 ID 列出资产资源

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>