ServiceGroupsManagementClient class
屬性
| pipeline | 此客戶端用來提出要求的管線 |
| service |
服務群組的操作群組 |
方法
建構函式詳細資料
ServiceGroupsManagementClient(TokenCredential, ServiceGroupsManagementClientOptionalParams)
new ServiceGroupsManagementClient(credential: TokenCredential, options?: ServiceGroupsManagementClientOptionalParams)
參數
- credential
- TokenCredential
屬性詳細資料
pipeline
serviceGroups
方法詳細資料
createOrUpdateServiceGroup(string, ServiceGroup, CreateOrUpdateServiceGroupOptionalParams)
建立或更新服務群組
function createOrUpdateServiceGroup(serviceGroupName: string, createServiceGroupRequest: ServiceGroup, options?: CreateOrUpdateServiceGroupOptionalParams): PollerLike<OperationState<ServiceGroup>, ServiceGroup>
參數
- serviceGroupName
-
string
- createServiceGroupRequest
- ServiceGroup
傳回
deleteServiceGroup(string, DeleteServiceGroupOptionalParams)
刪除服務群組
function deleteServiceGroup(serviceGroupName: string, options?: DeleteServiceGroupOptionalParams): PollerLike<OperationState<void>, void>
參數
- serviceGroupName
-
string
- options
- DeleteServiceGroupOptionalParams
傳回
PollerLike<OperationState<void>, void>
updateServiceGroup(string, ServiceGroup, UpdateServiceGroupOptionalParams)
更新服務群組
function updateServiceGroup(serviceGroupName: string, updateServiceGroupRequest: ServiceGroup, options?: UpdateServiceGroupOptionalParams): PollerLike<OperationState<ServiceGroup>, ServiceGroup>
參數
- serviceGroupName
-
string
- updateServiceGroupRequest
- ServiceGroup
- options
- UpdateServiceGroupOptionalParams