共用方式為


Services interface

Interface representing a Services.

Methods

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

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

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

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

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

Delete a Service Fabric service resource with the specified name.

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

Delete a Service Fabric service resource with the specified name.

beginUpdate(string, string, string, string, ServiceResourceUpdate, ServicesUpdateOptionalParams)

Update a Service Fabric service resource with the specified name.

beginUpdateAndWait(string, string, string, string, ServiceResourceUpdate, ServicesUpdateOptionalParams)

Update a Service Fabric 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 application resource.

list(string, string, string, ServicesListOptionalParams)

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

Method Details

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

Create or update a Service Fabric 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 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 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 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>

beginUpdate(string, string, string, string, ServiceResourceUpdate, ServicesUpdateOptionalParams)

Update a Service Fabric service resource with the specified name.

function beginUpdate(resourceGroupName: string, clusterName: string, applicationName: string, serviceName: string, parameters: ServiceResourceUpdate, options?: ServicesUpdateOptionalParams): 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
ServiceResourceUpdate

The service resource for patch operations.

options
ServicesUpdateOptionalParams

The options parameters.

Returns

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

beginUpdateAndWait(string, string, string, string, ServiceResourceUpdate, ServicesUpdateOptionalParams)

Update a Service Fabric service resource with the specified name.

function beginUpdateAndWait(resourceGroupName: string, clusterName: string, applicationName: string, serviceName: string, parameters: ServiceResourceUpdate, 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
ServiceResourceUpdate

The service resource for patch operations.

options
ServicesUpdateOptionalParams

The options parameters.

Returns

Promise<ServiceResource>

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

Get a Service Fabric service resource created or in the process of being created in the Service Fabric 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>

list(string, string, string, ServicesListOptionalParams)

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

function list(resourceGroupName: string, clusterName: string, applicationName: string, options?: ServicesListOptionalParams): 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
ServicesListOptionalParams

The options parameters.

Returns