ServiceReplica class
Class representing a ServiceReplica.
Constructors
Service |
Create a ServiceReplica. |
Methods
Constructor Details
ServiceReplica(ServiceFabricMeshManagementClientContext)
Create a ServiceReplica.
new ServiceReplica(client: ServiceFabricMeshManagementClientContext)
Parameters
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<ServiceReplicaGetResponse>
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
- callback
The callback
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.
- callback
The callback
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<ServiceReplicaListResponse>
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
- callback
The callback
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.
- callback
The callback
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<ServiceReplicaListNextResponse>
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
- callback
The callback
listNext(string, ServiceCallback<ServiceReplicaDescriptionList>)
function listNext(nextPageLink: string, callback: ServiceCallback<ServiceReplicaDescriptionList>)
Parameters
- nextPageLink
-
string
The NextLink from the previous successful call to List operation.
- callback
The callback