你当前正在访问 Microsoft Azure Global Edition 技术文档网站。 如果需要访问由世纪互联运营的 Microsoft Azure 中国技术文档网站,请访问 https://docs.azure.cn。
DedicatedCloudServices interface
表示 DedicatedCloudServices 的接口。
方法
方法详细信息
beginDelete(string, string, DedicatedCloudServicesDeleteOptionalParams)
删除 dedicate 云服务
function beginDelete(resourceGroupName: string, dedicatedCloudServiceName: string, options?: DedicatedCloudServicesDeleteOptionalParams): Promise<PollerLike<PollOperationState<void>, void>>
参数
- resourceGroupName
-
string
资源组的名称
- dedicatedCloudServiceName
-
string
专用云服务名称
选项参数。
返回
Promise<PollerLike<@azure/core-lro.PollOperationState<void>, void>>
beginDeleteAndWait(string, string, DedicatedCloudServicesDeleteOptionalParams)
删除 dedicate 云服务
function beginDeleteAndWait(resourceGroupName: string, dedicatedCloudServiceName: string, options?: DedicatedCloudServicesDeleteOptionalParams): Promise<void>
参数
- resourceGroupName
-
string
资源组的名称
- dedicatedCloudServiceName
-
string
专用云服务名称
选项参数。
返回
Promise<void>
createOrUpdate(string, string, DedicatedCloudService, DedicatedCloudServicesCreateOrUpdateOptionalParams)
创建 dedicate 云服务
function createOrUpdate(resourceGroupName: string, dedicatedCloudServiceName: string, dedicatedCloudServiceRequest: DedicatedCloudService, options?: DedicatedCloudServicesCreateOrUpdateOptionalParams): Promise<DedicatedCloudService>
参数
- resourceGroupName
-
string
资源组的名称
- dedicatedCloudServiceName
-
string
专用云服务名称
- dedicatedCloudServiceRequest
- DedicatedCloudService
创建专用云服务请求
选项参数。
返回
Promise<DedicatedCloudService>
get(string, string, DedicatedCloudServicesGetOptionalParams)
返回 Dedicate 云服务
function get(resourceGroupName: string, dedicatedCloudServiceName: string, options?: DedicatedCloudServicesGetOptionalParams): Promise<DedicatedCloudService>
参数
- resourceGroupName
-
string
资源组的名称
- dedicatedCloudServiceName
-
string
专用云服务名称
选项参数。
返回
Promise<DedicatedCloudService>
listByResourceGroup(string, DedicatedCloudServicesListByResourceGroupOptionalParams)
返回资源组中专用云服务的列表
function listByResourceGroup(resourceGroupName: string, options?: DedicatedCloudServicesListByResourceGroupOptionalParams): PagedAsyncIterableIterator<DedicatedCloudService, DedicatedCloudService[], PageSettings>
参数
- resourceGroupName
-
string
资源组的名称
选项参数。
返回
listBySubscription(DedicatedCloudServicesListBySubscriptionOptionalParams)
返回订阅中专用云服务的列表
function listBySubscription(options?: DedicatedCloudServicesListBySubscriptionOptionalParams): PagedAsyncIterableIterator<DedicatedCloudService, DedicatedCloudService[], PageSettings>
参数
选项参数。
返回
update(string, string, PatchPayload, DedicatedCloudServicesUpdateOptionalParams)
修补专用云服务的属性
function update(resourceGroupName: string, dedicatedCloudServiceName: string, dedicatedCloudServiceRequest: PatchPayload, options?: DedicatedCloudServicesUpdateOptionalParams): Promise<DedicatedCloudService>
参数
- resourceGroupName
-
string
资源组的名称
- dedicatedCloudServiceName
-
string
专用云服务名称
- dedicatedCloudServiceRequest
- PatchPayload
修补专用云服务请求
选项参数。
返回
Promise<DedicatedCloudService>