ServiceGroupsManagementClient class
Constructors
| Service |
Properties
| pipeline | The pipeline used by this client to make requests |
| service |
The operation groups for serviceGroups |
Methods
| create |
Create or Update a serviceGroup |
| delete |
Delete a ServiceGroup |
| update |
Update a serviceGroup |
Constructor Details
ServiceGroupsManagementClient(TokenCredential, ServiceGroupsManagementClientOptionalParams)
new ServiceGroupsManagementClient(credential: TokenCredential, options?: ServiceGroupsManagementClientOptionalParams)
Parameters
- credential
- TokenCredential
Property Details
pipeline
serviceGroups
The operation groups for serviceGroups
serviceGroups: ServiceGroupsOperations
Property Value
Method Details
createOrUpdateServiceGroup(string, ServiceGroup, CreateOrUpdateServiceGroupOptionalParams)
Create or Update a serviceGroup
function createOrUpdateServiceGroup(serviceGroupName: string, createServiceGroupRequest: ServiceGroup, options?: CreateOrUpdateServiceGroupOptionalParams): PollerLike<OperationState<ServiceGroup>, ServiceGroup>
Parameters
- serviceGroupName
-
string
- createServiceGroupRequest
- ServiceGroup
Returns
deleteServiceGroup(string, DeleteServiceGroupOptionalParams)
Delete a ServiceGroup
function deleteServiceGroup(serviceGroupName: string, options?: DeleteServiceGroupOptionalParams): PollerLike<OperationState<void>, void>
Parameters
- serviceGroupName
-
string
- options
- DeleteServiceGroupOptionalParams
Returns
PollerLike<OperationState<void>, void>
updateServiceGroup(string, ServiceGroup, UpdateServiceGroupOptionalParams)
Update a serviceGroup
function updateServiceGroup(serviceGroupName: string, updateServiceGroupRequest: ServiceGroup, options?: UpdateServiceGroupOptionalParams): PollerLike<OperationState<ServiceGroup>, ServiceGroup>
Parameters
- serviceGroupName
-
string
- updateServiceGroupRequest
- ServiceGroup
- options
- UpdateServiceGroupOptionalParams