FabricClient.ServiceManagementClient Class

Definition

Represents the enabling of the services to be managed.

public sealed class FabricClient.ServiceManagementClient
type FabricClient.ServiceManagementClient = class
Public NotInheritable Class FabricClient.ServiceManagementClient
Inheritance
FabricClient.ServiceManagementClient

Methods

CreateServiceAsync(ServiceDescription)

Instantiates a service with specified description.

CreateServiceAsync(ServiceDescription, TimeSpan, CancellationToken)

Instantiates a service with specified description. Also takes in timeout interval, which is the maximum of time the system will allow this operation to continue before returning TimeoutException and cancellation-token that the operation is observing.

CreateServiceFromTemplateAsync(ServiceFromTemplateDescription)

Instantiates a service from the template specified in the Application Manifest.

CreateServiceFromTemplateAsync(ServiceFromTemplateDescription, TimeSpan, CancellationToken)

Instantiates a service from the template specified in the Application Manifest.

CreateServiceFromTemplateAsync(Uri, Uri, String, Byte[])

Instantiates a service from the template specified in the Application Manifest.

CreateServiceFromTemplateAsync(Uri, Uri, String, Byte[], TimeSpan, CancellationToken)

Instantiates a service from the template specified in the Application Manifest. Also takes in timeout interval, which is the maximum of time the system will allow this operation to continue before returning TimeoutException and cancellation-token that the operation is observing.

DeleteServiceAsync(DeleteServiceDescription)

Deletes the specified service instance.

DeleteServiceAsync(DeleteServiceDescription, TimeSpan, CancellationToken)

Deletes the specified service instance. Also takes in timeout interval, which is the maximum of time the system will allow this operation to continue before returning TimeoutException and cancellation-token that the operation is observing.

DeleteServiceAsync(Uri)

Deletes the specified service instance.

DeleteServiceAsync(Uri, TimeSpan, CancellationToken)

Deletes the specified service instance. Also takes in timeout interval, which is the maximum of time the system will allow this operation to continue before returning TimeoutException and cancellation-token that the operation is observing.

GetServiceDescriptionAsync(Uri)

Gets the Service Description for the specified service instance.

GetServiceDescriptionAsync(Uri, TimeSpan, CancellationToken)

Gets the Service Description for the specified service instance. Also takes in timeout interval, which is the maximum of time the system will allow this operation to continue before returning TimeoutException and cancellation-token that the operation is observing.

GetServiceManifestAsync(String, String, String)

Gets the provisioned service manifest document in the specified application type name and application type version.

GetServiceManifestAsync(String, String, String, TimeSpan, CancellationToken)

Gets the provisioned service manifest document in the specified application type name and application type version. Also takes in timeout interval, which is the maximum of time the system will allow this operation to continue before returning TimeoutException and cancellation-token that the operation is observing.

RegisterServiceNotificationFilterAsync(ServiceNotificationFilterDescription)

Registers a ServiceNotificationFilterDescription.

RegisterServiceNotificationFilterAsync(ServiceNotificationFilterDescription, TimeSpan, CancellationToken)

Registers a ServiceNotificationFilterDescription. Also takes in timeout interval, which is the maximum of time the system will allow this operation to continue before returning TimeoutException and cancellation-token that the operation is observing.

RegisterServicePartitionResolutionChangeHandler(Uri, Int64, ServicePartitionResolutionChangeHandler)

This API is deprecated, use RegisterServiceNotificationFilterAsync(ServiceNotificationFilterDescription) instead.

RegisterServicePartitionResolutionChangeHandler(Uri, ServicePartitionResolutionChangeHandler)

This API is deprecated, use RegisterServiceNotificationFilterAsync(ServiceNotificationFilterDescription) instead.

RegisterServicePartitionResolutionChangeHandler(Uri, String, ServicePartitionResolutionChangeHandler)

This API is deprecated, use RegisterServiceNotificationFilterAsync(ServiceNotificationFilterDescription) instead.

RemoveReplicaAsync(String, Guid, Int64)

Removes a service replica running on a node.

RemoveReplicaAsync(String, Guid, Int64, Boolean)

Removes a service replica running on a node.

RemoveReplicaAsync(String, Guid, Int64, Boolean, TimeSpan, CancellationToken)

Removes a service replica running on a node. Also takes in timeout interval, which is the maximum of time the system will allow this operation to continue before returning TimeoutException and cancellation-token that the operation is observing.

RemoveReplicaAsync(String, Guid, Int64, TimeSpan, CancellationToken)

Removes a service replica running on a node. Also takes in timeout interval, which is the maximum of time the system will allow this operation to continue before returning TimeoutException and cancellation-token that the operation is observing.

ResolveServicePartitionAsync(Uri)

Queries the system for the set of endpoints the specified service partition is listening to.

ResolveServicePartitionAsync(Uri, Int64)

Queries the system for the set of endpoints the specified service partition is listening to.

ResolveServicePartitionAsync(Uri, Int64, ResolvedServicePartition)

Queries the system for the set of endpoints the specified service partition is listening to.

ResolveServicePartitionAsync(Uri, Int64, ResolvedServicePartition, TimeSpan)

Queries the system for the set of endpoints the specified service partition is listening to.

ResolveServicePartitionAsync(Uri, Int64, ResolvedServicePartition, TimeSpan, CancellationToken)

Queries the system for the set of endpoints the specified service partition is listening to.

ResolveServicePartitionAsync(Uri, Int64, TimeSpan)

Queries the system for the set of endpoints the specified service partition is listening to.

ResolveServicePartitionAsync(Uri, Int64, TimeSpan, CancellationToken)

Queries the system for the set of endpoints the specified service partition is listening to.

ResolveServicePartitionAsync(Uri, ResolvedServicePartition)

Queries the system for the set of endpoints the specified service partition is listening to.

ResolveServicePartitionAsync(Uri, ResolvedServicePartition, TimeSpan)

Queries the system for the set of endpoints the specified service partition is listening to.

ResolveServicePartitionAsync(Uri, ResolvedServicePartition, TimeSpan, CancellationToken)

Queries the system for the set of endpoints the specified service partition is listening to.

ResolveServicePartitionAsync(Uri, String)

Queries the system for the set of endpoints the specified service partition is listening to.

ResolveServicePartitionAsync(Uri, String, ResolvedServicePartition)

Queries the system for the set of endpoints the specified service partition is listening to.

ResolveServicePartitionAsync(Uri, String, ResolvedServicePartition, TimeSpan)

Queries the system for the set of endpoints the specified service partition is listening to.

ResolveServicePartitionAsync(Uri, String, ResolvedServicePartition, TimeSpan, CancellationToken)

Queries the system for the set of endpoints the specified service partition is listening to.

ResolveServicePartitionAsync(Uri, String, TimeSpan)

Queries the system for the set of endpoints the specified service partition is listening to.

ResolveServicePartitionAsync(Uri, String, TimeSpan, CancellationToken)

Queries the system for the set of endpoints the specified service partition is listening to.

ResolveServicePartitionAsync(Uri, TimeSpan)

Queries the system for the set of endpoints the specified service partition is listening to.

ResolveServicePartitionAsync(Uri, TimeSpan, CancellationToken)

Queries the system for the set of endpoints the specified service partition is listening to.

RestartReplicaAsync(String, Guid, Int64)

Restarts a service replica of a persisted service running on a node.

RestartReplicaAsync(String, Guid, Int64, TimeSpan, CancellationToken)

Restarts a service replica of a persisted service running on a node. Also takes in timeout interval, which is the maximum of time the system will allow this operation to continue before returning TimeoutException and cancellation-token that the operation is observing.

UnregisterServiceNotificationFilterAsync(Int64)

Unregisters a previously registered ServiceNotificationFilterDescription.

UnregisterServiceNotificationFilterAsync(Int64, TimeSpan, CancellationToken)

Unregisters a previously registered ServiceNotificationFilterDescription.

UnregisterServicePartitionResolutionChangeHandler(Int64)

Unregisters a change handler previously registered with RegisterServicePartitionResolutionChangeHandler(Uri, ServicePartitionResolutionChangeHandler).

UpdateServiceAsync(Uri, ServiceUpdateDescription)

Updates a service with the specified description.

UpdateServiceAsync(Uri, ServiceUpdateDescription, TimeSpan, CancellationToken)

Updates a service with the specified description. Also takes in timeout interval, which is the maximum of time the system will allow this operation to continue before returning TimeoutException and cancellation-token that the operation is observing.

Events

ServiceNotificationFilterMatched

Raised when a ServiceNotificationFilterDescription previously registered through RegisterServiceNotificationFilterAsync(ServiceNotificationFilterDescription) is matched by a service's endpoint changes in system.

Applies to