ServiceUnits interface
Interface representing a ServiceUnits.
Methods
begin |
This is an asynchronous operation and can be polled to completion using the operation resource returned by this operation. |
begin |
This is an asynchronous operation and can be polled to completion using the operation resource returned by this operation. |
delete(string, string, string, string, Service |
Deletes the service unit. |
get(string, string, string, string, Service |
Gets the service unit. |
list(string, string, string, Service |
Lists the service units under a service in the service topology. |
Method Details
beginCreateOrUpdate(string, string, string, string, ServiceUnitResource, ServiceUnitsCreateOrUpdateOptionalParams)
This is an asynchronous operation and can be polled to completion using the operation resource returned by this operation.
function beginCreateOrUpdate(resourceGroupName: string, serviceTopologyName: string, serviceName: string, serviceUnitName: string, serviceUnitInfo: ServiceUnitResource, options?: ServiceUnitsCreateOrUpdateOptionalParams): Promise<PollerLike<PollOperationState<ServiceUnitsCreateOrUpdateResponse>, ServiceUnitsCreateOrUpdateResponse>>
Parameters
- resourceGroupName
-
string
The name of the resource group. The name is case insensitive.
- serviceTopologyName
-
string
The name of the service topology .
- serviceName
-
string
The name of the service resource.
- serviceUnitName
-
string
The name of the service unit resource.
- serviceUnitInfo
- ServiceUnitResource
The service unit resource object.
The options parameters.
Returns
Promise<PollerLike<@azure/core-lro.PollOperationState<ServiceUnitsCreateOrUpdateResponse>, ServiceUnitsCreateOrUpdateResponse>>
beginCreateOrUpdateAndWait(string, string, string, string, ServiceUnitResource, ServiceUnitsCreateOrUpdateOptionalParams)
This is an asynchronous operation and can be polled to completion using the operation resource returned by this operation.
function beginCreateOrUpdateAndWait(resourceGroupName: string, serviceTopologyName: string, serviceName: string, serviceUnitName: string, serviceUnitInfo: ServiceUnitResource, options?: ServiceUnitsCreateOrUpdateOptionalParams): Promise<ServiceUnitsCreateOrUpdateResponse>
Parameters
- resourceGroupName
-
string
The name of the resource group. The name is case insensitive.
- serviceTopologyName
-
string
The name of the service topology .
- serviceName
-
string
The name of the service resource.
- serviceUnitName
-
string
The name of the service unit resource.
- serviceUnitInfo
- ServiceUnitResource
The service unit resource object.
The options parameters.
Returns
Promise<ServiceUnitsCreateOrUpdateResponse>
delete(string, string, string, string, ServiceUnitsDeleteOptionalParams)
Deletes the service unit.
function delete(resourceGroupName: string, serviceTopologyName: string, serviceName: string, serviceUnitName: string, options?: ServiceUnitsDeleteOptionalParams): Promise<void>
Parameters
- resourceGroupName
-
string
The name of the resource group. The name is case insensitive.
- serviceTopologyName
-
string
The name of the service topology .
- serviceName
-
string
The name of the service resource.
- serviceUnitName
-
string
The name of the service unit resource.
- options
- ServiceUnitsDeleteOptionalParams
The options parameters.
Returns
Promise<void>
get(string, string, string, string, ServiceUnitsGetOptionalParams)
Gets the service unit.
function get(resourceGroupName: string, serviceTopologyName: string, serviceName: string, serviceUnitName: string, options?: ServiceUnitsGetOptionalParams): Promise<ServiceUnitResource>
Parameters
- resourceGroupName
-
string
The name of the resource group. The name is case insensitive.
- serviceTopologyName
-
string
The name of the service topology .
- serviceName
-
string
The name of the service resource.
- serviceUnitName
-
string
The name of the service unit resource.
- options
- ServiceUnitsGetOptionalParams
The options parameters.
Returns
Promise<ServiceUnitResource>
list(string, string, string, ServiceUnitsListOptionalParams)
Lists the service units under a service in the service topology.
function list(resourceGroupName: string, serviceTopologyName: string, serviceName: string, options?: ServiceUnitsListOptionalParams): Promise<ServiceUnitsListResponse>
Parameters
- resourceGroupName
-
string
The name of the resource group. The name is case insensitive.
- serviceTopologyName
-
string
The name of the service topology .
- serviceName
-
string
The name of the service resource.
- options
- ServiceUnitsListOptionalParams
The options parameters.
Returns
Promise<ServiceUnitsListResponse>
Azure SDK for JavaScript