Services class
Class representing a Services.
Constructors
Services(Azure |
Create a Services. |
Methods
Constructor Details
Services(AzureDeploymentManagerContext)
Create a Services.
new Services(client: AzureDeploymentManagerContext)
Parameters
Reference to the service client.
Method Details
createOrUpdate(string, string, string, ServiceResource, RequestOptionsBase)
Synchronously creates a new service or updates an existing service.
function createOrUpdate(resourceGroupName: string, serviceTopologyName: string, serviceName: string, serviceInfo: ServiceResource, options?: RequestOptionsBase): Promise<ServicesCreateOrUpdateResponse>
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.
- serviceInfo
- ServiceResource
The service object
- options
- RequestOptionsBase
The optional parameters
Returns
Promise<ServicesCreateOrUpdateResponse>
Promise<Models.ServicesCreateOrUpdateResponse>
createOrUpdate(string, string, string, ServiceResource, RequestOptionsBase, ServiceCallback<ServiceResource>)
function createOrUpdate(resourceGroupName: string, serviceTopologyName: string, serviceName: string, serviceInfo: ServiceResource, options: RequestOptionsBase, callback: ServiceCallback<ServiceResource>)
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.
- serviceInfo
- ServiceResource
The service object
- options
- RequestOptionsBase
The optional parameters
- callback
The callback
createOrUpdate(string, string, string, ServiceResource, ServiceCallback<ServiceResource>)
function createOrUpdate(resourceGroupName: string, serviceTopologyName: string, serviceName: string, serviceInfo: ServiceResource, callback: ServiceCallback<ServiceResource>)
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.
- serviceInfo
- ServiceResource
The service object
- callback
The callback
deleteMethod(string, string, string, RequestOptionsBase)
function deleteMethod(resourceGroupName: string, serviceTopologyName: string, serviceName: 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.
- options
- RequestOptionsBase
The optional parameters
Returns
Promise<RestResponse>
Promise<msRest.RestResponse>
deleteMethod(string, string, string, RequestOptionsBase, ServiceCallback<void>)
function deleteMethod(resourceGroupName: string, serviceTopologyName: string, serviceName: 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.
- options
- RequestOptionsBase
The optional parameters
- callback
-
ServiceCallback<void>
The callback
deleteMethod(string, string, string, ServiceCallback<void>)
function deleteMethod(resourceGroupName: string, serviceTopologyName: string, serviceName: 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.
- callback
-
ServiceCallback<void>
The callback
get(string, string, string, RequestOptionsBase)
function get(resourceGroupName: string, serviceTopologyName: string, serviceName: string, options?: RequestOptionsBase): Promise<ServicesGetResponse>
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<ServicesGetResponse>
Promise<Models.ServicesGetResponse>
get(string, string, string, RequestOptionsBase, ServiceCallback<ServiceResource>)
function get(resourceGroupName: string, serviceTopologyName: string, serviceName: string, options: RequestOptionsBase, callback: ServiceCallback<ServiceResource>)
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
get(string, string, string, ServiceCallback<ServiceResource>)
function get(resourceGroupName: string, serviceTopologyName: string, serviceName: string, callback: ServiceCallback<ServiceResource>)
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
list(string, string, RequestOptionsBase)
function list(resourceGroupName: string, serviceTopologyName: string, options?: RequestOptionsBase): Promise<ServicesListResponse>
Parameters
- resourceGroupName
-
string
The name of the resource group. The name is case insensitive.
- serviceTopologyName
-
string
The name of the service topology .
- options
- RequestOptionsBase
The optional parameters
Returns
Promise<ServicesListResponse>
Promise<Models.ServicesListResponse>
list(string, string, RequestOptionsBase, ServiceCallback<ServiceResource[]>)
function list(resourceGroupName: string, serviceTopologyName: string, options: RequestOptionsBase, callback: ServiceCallback<ServiceResource[]>)
Parameters
- resourceGroupName
-
string
The name of the resource group. The name is case insensitive.
- serviceTopologyName
-
string
The name of the service topology .
- options
- RequestOptionsBase
The optional parameters
- callback
The callback
list(string, string, ServiceCallback<ServiceResource[]>)
function list(resourceGroupName: string, serviceTopologyName: string, callback: ServiceCallback<ServiceResource[]>)
Parameters
- resourceGroupName
-
string
The name of the resource group. The name is case insensitive.
- serviceTopologyName
-
string
The name of the service topology .
- callback
The callback