MeshServiceReplicaOperations Class

MeshServiceReplicaOperations operations.

You should not instantiate directly this class, but create a Client instance that will create it for you and attach it as attribute.

Inheritance
builtins.object
MeshServiceReplicaOperations

Constructor

MeshServiceReplicaOperations(client, config, serializer, deserializer)

Parameters

client
Required

Client for service requests.

config
Required

Configuration of service client.

serializer
Required

An object model serializer.

deserializer
Required

An object model deserializer.

Variables

api_version

The version of the API. This parameter is required and its value must be '6.4-preview'. Constant value: "6.4-preview".

Methods

get

Gets the given replica of the service of an application.

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

list

Lists all the replicas of a service.

Gets the information about all replicas of a service. The information include the description and other properties of the service replica.

get

Gets the given replica of the service of an application.

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

get(application_resource_name, service_resource_name, replica_name, custom_headers=None, raw=False, **operation_config)

Parameters

application_resource_name
str
Required

The identity of the application.

service_resource_name
str
Required

The identity of the service.

replica_name
str
Required

Service Fabric replica name.

custom_headers
dict
default value: None

headers that will be added to the request

raw
bool
default value: False

returns the direct response alongside the deserialized response

operation_config
Required

Operation configuration overrides.

Returns

ServiceReplicaDescription or ClientRawResponse if raw=true

Return type

Exceptions

list

Lists all the replicas of a service.

Gets the information about all replicas of a service. The information include the description and other properties of the service replica.

list(application_resource_name, service_resource_name, custom_headers=None, raw=False, **operation_config)

Parameters

application_resource_name
str
Required

The identity of the application.

service_resource_name
str
Required

The identity of the service.

custom_headers
dict
default value: None

headers that will be added to the request

raw
bool
default value: False

returns the direct response alongside the deserialized response

operation_config
Required

Operation configuration overrides.

Returns

PagedServiceReplicaDescriptionList or ClientRawResponse if raw=true

Return type

Exceptions

Attributes

models

models = <module 'azure.servicefabric.models' from 'C:\\hostedtoolcache\\windows\\Python\\3.6.8\\x64\\lib\\site-packages\\azure\\servicefabric\\models\\__init__.py'>