Share via


ServicesOperations interface

Interface representing a Services operations.

Properties

createOrUpdate

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

delete
get

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

listByApplications

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

restartReplica

A long-running resource action.

update

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

Property Details

createOrUpdate

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

createOrUpdate: (resourceGroupName: string, clusterName: string, applicationName: string, serviceName: string, parameters: ServiceResource, options?: ServicesCreateOrUpdateOptionalParams) => PollerLike<OperationState<ServiceResource>, ServiceResource>

Property Value

(resourceGroupName: string, clusterName: string, applicationName: string, serviceName: string, parameters: ServiceResource, options?: ServicesCreateOrUpdateOptionalParams) => PollerLike<OperationState<ServiceResource>, ServiceResource>

delete

delete: (resourceGroupName: string, clusterName: string, applicationName: string, serviceName: string, options?: ServicesDeleteOptionalParams) => PollerLike<OperationState<void>, void>

Property Value

(resourceGroupName: string, clusterName: string, applicationName: string, serviceName: string, options?: ServicesDeleteOptionalParams) => PollerLike<OperationState<void>, void>

get

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

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

Property Value

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

listByApplications

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

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

Property Value

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

restartReplica

A long-running resource action.

restartReplica: (resourceGroupName: string, clusterName: string, applicationName: string, serviceName: string, parameters: RestartReplicaRequest, options?: ServicesRestartReplicaOptionalParams) => PollerLike<OperationState<void>, void>

Property Value

(resourceGroupName: string, clusterName: string, applicationName: string, serviceName: string, parameters: RestartReplicaRequest, options?: ServicesRestartReplicaOptionalParams) => PollerLike<OperationState<void>, void>

update

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

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

Property Value

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