ServiceReplica class

Class representing a ServiceReplica.

Constructors

ServiceReplica(ServiceFabricMeshManagementClientContext)

Create a ServiceReplica.

Methods

get(string, string, string, string, RequestOptionsBase)

Gets the information about the service replica with the given name. The information include the description and other properties of the service replica.

get(string, string, string, string, RequestOptionsBase, ServiceCallback<ServiceReplicaDescription>)
get(string, string, string, string, ServiceCallback<ServiceReplicaDescription>)
list(string, string, string, RequestOptionsBase)

Gets the information about all replicas of a given service of an application. The information includes the runtime properties of the replica instance.

list(string, string, string, RequestOptionsBase, ServiceCallback<ServiceReplicaDescriptionList>)
list(string, string, string, ServiceCallback<ServiceReplicaDescriptionList>)
listNext(string, RequestOptionsBase)

Gets the information about all replicas of a given service of an application. The information includes the runtime properties of the replica instance.

listNext(string, RequestOptionsBase, ServiceCallback<ServiceReplicaDescriptionList>)
listNext(string, ServiceCallback<ServiceReplicaDescriptionList>)

Constructor Details

ServiceReplica(ServiceFabricMeshManagementClientContext)

Create a ServiceReplica.

new ServiceReplica(client: ServiceFabricMeshManagementClientContext)

Parameters

client
ServiceFabricMeshManagementClientContext

Reference to the service client.

Method Details

get(string, string, string, string, RequestOptionsBase)

Gets the information about the service replica with the given name. The information include the description and other properties of the service replica.

function get(resourceGroupName: string, applicationResourceName: string, serviceResourceName: string, replicaName: string, options?: RequestOptionsBase): Promise<ServiceReplicaGetResponse>

Parameters

resourceGroupName

string

Azure resource group name

applicationResourceName

string

The identity of the application.

serviceResourceName

string

The identity of the service.

replicaName

string

Service Fabric replica name.

options
RequestOptionsBase

The optional parameters

Returns

Promise<Models.ServiceReplicaGetResponse>

get(string, string, string, string, RequestOptionsBase, ServiceCallback<ServiceReplicaDescription>)

function get(resourceGroupName: string, applicationResourceName: string, serviceResourceName: string, replicaName: string, options: RequestOptionsBase, callback: ServiceCallback<ServiceReplicaDescription>)

Parameters

resourceGroupName

string

Azure resource group name

applicationResourceName

string

The identity of the application.

serviceResourceName

string

The identity of the service.

replicaName

string

Service Fabric replica name.

options
RequestOptionsBase

The optional parameters

get(string, string, string, string, ServiceCallback<ServiceReplicaDescription>)

function get(resourceGroupName: string, applicationResourceName: string, serviceResourceName: string, replicaName: string, callback: ServiceCallback<ServiceReplicaDescription>)

Parameters

resourceGroupName

string

Azure resource group name

applicationResourceName

string

The identity of the application.

serviceResourceName

string

The identity of the service.

replicaName

string

Service Fabric replica name.

list(string, string, string, RequestOptionsBase)

Gets the information about all replicas of a given service of an application. The information includes the runtime properties of the replica instance.

function list(resourceGroupName: string, applicationResourceName: string, serviceResourceName: string, options?: RequestOptionsBase): Promise<ServiceReplicaListResponse>

Parameters

resourceGroupName

string

Azure resource group name

applicationResourceName

string

The identity of the application.

serviceResourceName

string

The identity of the service.

options
RequestOptionsBase

The optional parameters

Returns

Promise<Models.ServiceReplicaListResponse>

list(string, string, string, RequestOptionsBase, ServiceCallback<ServiceReplicaDescriptionList>)

function list(resourceGroupName: string, applicationResourceName: string, serviceResourceName: string, options: RequestOptionsBase, callback: ServiceCallback<ServiceReplicaDescriptionList>)

Parameters

resourceGroupName

string

Azure resource group name

applicationResourceName

string

The identity of the application.

serviceResourceName

string

The identity of the service.

options
RequestOptionsBase

The optional parameters

list(string, string, string, ServiceCallback<ServiceReplicaDescriptionList>)

function list(resourceGroupName: string, applicationResourceName: string, serviceResourceName: string, callback: ServiceCallback<ServiceReplicaDescriptionList>)

Parameters

resourceGroupName

string

Azure resource group name

applicationResourceName

string

The identity of the application.

serviceResourceName

string

The identity of the service.

listNext(string, RequestOptionsBase)

Gets the information about all replicas of a given service of an application. The information includes the runtime properties of the replica instance.

function listNext(nextPageLink: string, options?: RequestOptionsBase): Promise<ServiceReplicaListNextResponse>

Parameters

nextPageLink

string

The NextLink from the previous successful call to List operation.

options
RequestOptionsBase

The optional parameters

Returns

Promise<Models.ServiceReplicaListNextResponse>

listNext(string, RequestOptionsBase, ServiceCallback<ServiceReplicaDescriptionList>)

function listNext(nextPageLink: string, options: RequestOptionsBase, callback: ServiceCallback<ServiceReplicaDescriptionList>)

Parameters

nextPageLink

string

The NextLink from the previous successful call to List operation.

options
RequestOptionsBase

The optional parameters

listNext(string, ServiceCallback<ServiceReplicaDescriptionList>)

function listNext(nextPageLink: string, callback: ServiceCallback<ServiceReplicaDescriptionList>)

Parameters

nextPageLink

string

The NextLink from the previous successful call to List operation.