Services interface

Interface representing a Services.

Methods

beginCreateOrUpdate(string, string, string, string, ServiceResource, ServicesCreateOrUpdateOptionalParams)

Create or update a Service Fabric managed service resource with the specified name.

beginCreateOrUpdateAndWait(string, string, string, string, ServiceResource, ServicesCreateOrUpdateOptionalParams)

Create or update a Service Fabric managed service resource with the specified name.

beginDelete(string, string, string, string, ServicesDeleteOptionalParams)

Delete a Service Fabric managed service resource with the specified name.

beginDeleteAndWait(string, string, string, string, ServicesDeleteOptionalParams)

Delete a Service Fabric managed service resource with the specified name.

get(string, string, string, string, ServicesGetOptionalParams)

Get a Service Fabric service resource created or in the process of being created in the Service Fabric managed application resource.

listByApplications(string, string, string, ServicesListByApplicationsOptionalParams)

Gets all service resources created or in the process of being created in the Service Fabric managed application resource.

update(string, string, string, string, ServiceUpdateParameters, ServicesUpdateOptionalParams)

Updates the tags of a service resource of a given managed cluster.

Method Details

beginCreateOrUpdate(string, string, string, string, ServiceResource, ServicesCreateOrUpdateOptionalParams)

Create or update a Service Fabric managed service resource with the specified name.

function beginCreateOrUpdate(resourceGroupName: string, clusterName: string, applicationName: string, serviceName: string, parameters: ServiceResource, options?: ServicesCreateOrUpdateOptionalParams): Promise<SimplePollerLike<OperationState<ServiceResource>, ServiceResource>>

Parameters

resourceGroupName

string

The name of the resource group.

clusterName

string

The name of the cluster resource.

applicationName

string

The name of the application resource.

serviceName

string

The name of the service resource in the format of {applicationName}~{serviceName}.

parameters
ServiceResource

The service resource.

options
ServicesCreateOrUpdateOptionalParams

The options parameters.

Returns

Promise<@azure/core-lro.SimplePollerLike<OperationState<ServiceResource>, ServiceResource>>

beginCreateOrUpdateAndWait(string, string, string, string, ServiceResource, ServicesCreateOrUpdateOptionalParams)

Create or update a Service Fabric managed service resource with the specified name.

function beginCreateOrUpdateAndWait(resourceGroupName: string, clusterName: string, applicationName: string, serviceName: string, parameters: ServiceResource, options?: ServicesCreateOrUpdateOptionalParams): Promise<ServiceResource>

Parameters

resourceGroupName

string

The name of the resource group.

clusterName

string

The name of the cluster resource.

applicationName

string

The name of the application resource.

serviceName

string

The name of the service resource in the format of {applicationName}~{serviceName}.

parameters
ServiceResource

The service resource.

options
ServicesCreateOrUpdateOptionalParams

The options parameters.

Returns

Promise<ServiceResource>

beginDelete(string, string, string, string, ServicesDeleteOptionalParams)

Delete a Service Fabric managed service resource with the specified name.

function beginDelete(resourceGroupName: string, clusterName: string, applicationName: string, serviceName: string, options?: ServicesDeleteOptionalParams): Promise<SimplePollerLike<OperationState<void>, void>>

Parameters

resourceGroupName

string

The name of the resource group.

clusterName

string

The name of the cluster resource.

applicationName

string

The name of the application resource.

serviceName

string

The name of the service resource in the format of {applicationName}~{serviceName}.

options
ServicesDeleteOptionalParams

The options parameters.

Returns

Promise<@azure/core-lro.SimplePollerLike<OperationState<void>, void>>

beginDeleteAndWait(string, string, string, string, ServicesDeleteOptionalParams)

Delete a Service Fabric managed service resource with the specified name.

function beginDeleteAndWait(resourceGroupName: string, clusterName: string, applicationName: string, serviceName: string, options?: ServicesDeleteOptionalParams): Promise<void>

Parameters

resourceGroupName

string

The name of the resource group.

clusterName

string

The name of the cluster resource.

applicationName

string

The name of the application resource.

serviceName

string

The name of the service resource in the format of {applicationName}~{serviceName}.

options
ServicesDeleteOptionalParams

The options parameters.

Returns

Promise<void>

get(string, string, string, string, ServicesGetOptionalParams)

Get a Service Fabric service resource created or in the process of being created in the Service Fabric managed application resource.

function get(resourceGroupName: string, clusterName: string, applicationName: string, serviceName: string, options?: ServicesGetOptionalParams): Promise<ServiceResource>

Parameters

resourceGroupName

string

The name of the resource group.

clusterName

string

The name of the cluster resource.

applicationName

string

The name of the application resource.

serviceName

string

The name of the service resource in the format of {applicationName}~{serviceName}.

options
ServicesGetOptionalParams

The options parameters.

Returns

Promise<ServiceResource>

listByApplications(string, string, string, ServicesListByApplicationsOptionalParams)

Gets all service resources created or in the process of being created in the Service Fabric managed application resource.

function listByApplications(resourceGroupName: string, clusterName: string, applicationName: string, options?: ServicesListByApplicationsOptionalParams): PagedAsyncIterableIterator<ServiceResource, ServiceResource[], PageSettings>

Parameters

resourceGroupName

string

The name of the resource group.

clusterName

string

The name of the cluster resource.

applicationName

string

The name of the application resource.

options
ServicesListByApplicationsOptionalParams

The options parameters.

Returns

update(string, string, string, string, ServiceUpdateParameters, ServicesUpdateOptionalParams)

Updates the tags of a service resource of a given managed cluster.

function update(resourceGroupName: string, clusterName: string, applicationName: string, serviceName: string, parameters: ServiceUpdateParameters, options?: ServicesUpdateOptionalParams): Promise<ServiceResource>

Parameters

resourceGroupName

string

The name of the resource group.

clusterName

string

The name of the cluster resource.

applicationName

string

The name of the application resource.

serviceName

string

The name of the service resource in the format of {applicationName}~{serviceName}.

parameters
ServiceUpdateParameters

The service resource updated tags.

options
ServicesUpdateOptionalParams

The options parameters.

Returns

Promise<ServiceResource>