Services interface
Interface representing a Services.
Methods
| create |
Create or update service |
| delete(string, string, Services |
Delete service |
| get(string, string, Services |
Get service |
| list |
Lists services within a resource group |
| list |
Lists services within an Azure subscription. |
| update(string, string, Services |
Update service |
Method Details
createOrUpdate(string, string, ServicesCreateOrUpdateOptionalParams)
Create or update service
function createOrUpdate(resourceGroupName: string, serviceName: string, options?: ServicesCreateOrUpdateOptionalParams): Promise<Service>
Parameters
- resourceGroupName
-
string
The name of the resource group. The name is case insensitive.
- serviceName
-
string
Service name
The options parameters.
Returns
Promise<Service>
delete(string, string, ServicesDeleteOptionalParams)
Delete service
function delete(resourceGroupName: string, serviceName: string, options?: ServicesDeleteOptionalParams): Promise<void>
Parameters
- resourceGroupName
-
string
The name of the resource group. The name is case insensitive.
- serviceName
-
string
Service name
- options
- ServicesDeleteOptionalParams
The options parameters.
Returns
Promise<void>
get(string, string, ServicesGetOptionalParams)
Get service
function get(resourceGroupName: string, serviceName: string, options?: ServicesGetOptionalParams): Promise<Service>
Parameters
- resourceGroupName
-
string
The name of the resource group. The name is case insensitive.
- serviceName
-
string
Service name
- options
- ServicesGetOptionalParams
The options parameters.
Returns
Promise<Service>
listByResourceGroup(string, ServicesListByResourceGroupOptionalParams)
Lists services within a resource group
function listByResourceGroup(resourceGroupName: string, options?: ServicesListByResourceGroupOptionalParams): PagedAsyncIterableIterator<Service, Service[], PageSettings>
Parameters
- resourceGroupName
-
string
The name of the resource group. The name is case insensitive.
The options parameters.
Returns
listBySubscription(ServicesListBySubscriptionOptionalParams)
Lists services within an Azure subscription.
function listBySubscription(options?: ServicesListBySubscriptionOptionalParams): PagedAsyncIterableIterator<Service, Service[], PageSettings>
Parameters
The options parameters.
Returns
update(string, string, ServicesUpdateOptionalParams)
Update service
function update(resourceGroupName: string, serviceName: string, options?: ServicesUpdateOptionalParams): Promise<Service>
Parameters
- resourceGroupName
-
string
The name of the resource group. The name is case insensitive.
- serviceName
-
string
Service name
- options
- ServicesUpdateOptionalParams
The options parameters.
Returns
Promise<Service>