ServiceUnits class
Class representing a ServiceUnits.
Constructors
Service |
Create a ServiceUnits. |
Methods
Constructor Details
ServiceUnits(AzureDeploymentManagerContext)
Create a ServiceUnits.
new ServiceUnits(client: AzureDeploymentManagerContext)
Parameters
Reference to the service client.
Method Details
beginCreateOrUpdate(string, string, string, string, ServiceUnitResource, RequestOptionsBase)
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?: RequestOptionsBase): Promise<LROPoller>
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.
- options
- RequestOptionsBase
The optional parameters
Returns
Promise<@azure/ms-rest-azure-js.LROPoller>
Promise<msRestAzure.LROPoller>
createOrUpdate(string, string, string, string, ServiceUnitResource, RequestOptionsBase)
This is an asynchronous operation and can be polled to completion using the operation resource returned by this operation.
function createOrUpdate(resourceGroupName: string, serviceTopologyName: string, serviceName: string, serviceUnitName: string, serviceUnitInfo: ServiceUnitResource, options?: RequestOptionsBase): 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.
- options
- RequestOptionsBase
The optional parameters
Returns
Promise<ServiceUnitsCreateOrUpdateResponse>
Promise<Models.ServiceUnitsCreateOrUpdateResponse>
deleteMethod(string, string, string, string, RequestOptionsBase)
function deleteMethod(resourceGroupName: string, serviceTopologyName: string, serviceName: string, serviceUnitName: string, options?: RequestOptionsBase): Promise<RestResponse>
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
- RequestOptionsBase
The optional parameters
Returns
Promise<RestResponse>
Promise<msRest.RestResponse>
deleteMethod(string, string, string, string, RequestOptionsBase, ServiceCallback<void>)
function deleteMethod(resourceGroupName: string, serviceTopologyName: string, serviceName: string, serviceUnitName: string, options: RequestOptionsBase, callback: ServiceCallback<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
- RequestOptionsBase
The optional parameters
- callback
-
ServiceCallback<void>
The callback
deleteMethod(string, string, string, string, ServiceCallback<void>)
function deleteMethod(resourceGroupName: string, serviceTopologyName: string, serviceName: string, serviceUnitName: string, callback: ServiceCallback<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.
- callback
-
ServiceCallback<void>
The callback
get(string, string, string, string, RequestOptionsBase)
function get(resourceGroupName: string, serviceTopologyName: string, serviceName: string, serviceUnitName: string, options?: RequestOptionsBase): Promise<ServiceUnitsGetResponse>
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
- RequestOptionsBase
The optional parameters
Returns
Promise<ServiceUnitsGetResponse>
Promise<Models.ServiceUnitsGetResponse>
get(string, string, string, string, RequestOptionsBase, ServiceCallback<ServiceUnitResource>)
function get(resourceGroupName: string, serviceTopologyName: string, serviceName: string, serviceUnitName: string, options: RequestOptionsBase, callback: ServiceCallback<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
- RequestOptionsBase
The optional parameters
- callback
The callback
get(string, string, string, string, ServiceCallback<ServiceUnitResource>)
function get(resourceGroupName: string, serviceTopologyName: string, serviceName: string, serviceUnitName: string, callback: ServiceCallback<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.
- callback
The callback
list(string, string, string, RequestOptionsBase)
function list(resourceGroupName: string, serviceTopologyName: string, serviceName: string, options?: RequestOptionsBase): 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
- RequestOptionsBase
The optional parameters
Returns
Promise<ServiceUnitsListResponse>
Promise<Models.ServiceUnitsListResponse>
list(string, string, string, RequestOptionsBase, ServiceCallback<ServiceUnitResource[]>)
function list(resourceGroupName: string, serviceTopologyName: string, serviceName: string, options: RequestOptionsBase, callback: ServiceCallback<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.
- options
- RequestOptionsBase
The optional parameters
- callback
The callback
list(string, string, string, ServiceCallback<ServiceUnitResource[]>)
function list(resourceGroupName: string, serviceTopologyName: string, serviceName: string, callback: ServiceCallback<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.
- callback
The callback