Services interface
Interface representing a Services.
Methods
create |
Synchronously creates a new service or updates an existing service. |
delete(string, string, string, Services |
Deletes the service. |
get(string, string, string, Services |
Gets the service. |
list(string, string, Services |
Lists the services in the service topology. |
Method Details
createOrUpdate(string, string, string, ServiceResource, ServicesCreateOrUpdateOptionalParams)
Synchronously creates a new service or updates an existing service.
function createOrUpdate(resourceGroupName: string, serviceTopologyName: string, serviceName: string, serviceInfo: ServiceResource, options?: ServicesCreateOrUpdateOptionalParams): Promise<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
The options parameters.
Returns
Promise<ServiceResource>
delete(string, string, string, ServicesDeleteOptionalParams)
Deletes the service.
function delete(resourceGroupName: string, serviceTopologyName: string, serviceName: string, options?: ServicesDeleteOptionalParams): 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.
- options
- ServicesDeleteOptionalParams
The options parameters.
Returns
Promise<void>
get(string, string, string, ServicesGetOptionalParams)
Gets the service.
function get(resourceGroupName: string, serviceTopologyName: string, serviceName: string, options?: ServicesGetOptionalParams): Promise<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
- ServicesGetOptionalParams
The options parameters.
Returns
Promise<ServiceResource>
list(string, string, ServicesListOptionalParams)
Lists the services in the service topology.
function list(resourceGroupName: string, serviceTopologyName: string, options?: ServicesListOptionalParams): 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
- ServicesListOptionalParams
The options parameters.
Returns
Promise<ServicesListResponse>