azure.mgmt.servicefabric.operations module¶
-
class
azure.mgmt.servicefabric.operations.
ClustersOperations
(client, config, serializer, deserializer)[source]¶ Bases:
object
ClustersOperations operations.
You should not instantiate directly this class, but create a Client instance that will create it for you and attach it as attribute.
Parameters: - client – Client for service requests.
- config – Configuration of service client.
- serializer – An object model serializer.
- deserializer – An object model deserializer.
Variables: api_version – The version of the Service Fabric resource provider API. This is a required parameter and it’s value must be “2019-03-01” for this specification. Constant value: “2019-03-01”.
-
create_or_update
(resource_group_name, cluster_name, parameters, custom_headers=None, raw=False, polling=True, **operation_config)[source]¶ Creates or updates a Service Fabric cluster resource.
Create or update a Service Fabric cluster resource with the specified name.
Parameters: - resource_group_name (str) – The name of the resource group.
- cluster_name (str) – The name of the cluster resource.
- parameters (Cluster) – The cluster resource.
- custom_headers (dict) – headers that will be added to the request
- raw (bool) – The poller return type is ClientRawResponse, the direct response alongside the deserialized response
- polling – True for ARMPolling, False for no polling, or a polling object for personal polling strategy
Returns: An instance of LROPoller that returns Cluster or ClientRawResponse<Cluster> if raw==True
Return type: AzureOperationPoller[Cluster] or AzureOperationPoller[ClientRawResponse[Cluster]]
Raises:
-
delete
(resource_group_name, cluster_name, custom_headers=None, raw=False, **operation_config)[source]¶ Deletes a Service Fabric cluster resource.
Delete a Service Fabric cluster resource with the specified name.
Parameters: - resource_group_name (str) – The name of the resource group.
- cluster_name (str) – The name of the cluster resource.
- custom_headers (dict) – headers that will be added to the request
- raw (bool) – returns the direct response alongside the deserialized response
- operation_config – Operation configuration overrides.
Returns: None or ClientRawResponse if raw=true
Return type: None or ClientRawResponse
Raises:
-
get
(resource_group_name, cluster_name, custom_headers=None, raw=False, **operation_config)[source]¶ Gets a Service Fabric cluster resource.
Get a Service Fabric cluster resource created or in the process of being created in the specified resource group.
Parameters: - resource_group_name (str) – The name of the resource group.
- cluster_name (str) – The name of the cluster resource.
- custom_headers (dict) – headers that will be added to the request
- raw (bool) – returns the direct response alongside the deserialized response
- operation_config – Operation configuration overrides.
Returns: Cluster or ClientRawResponse if raw=true
Return type: Cluster or ClientRawResponse
Raises:
-
list
(custom_headers=None, raw=False, **operation_config)[source]¶ Gets the list of Service Fabric cluster resources created in the specified subscription.
Gets all Service Fabric cluster resources created or in the process of being created in the subscription.
Parameters: - custom_headers (dict) – headers that will be added to the request
- raw (bool) – returns the direct response alongside the deserialized response
- operation_config – Operation configuration overrides.
Returns: ClusterListResult or ClientRawResponse if raw=true
Return type: ClusterListResult or ClientRawResponse
Raises:
-
list_by_resource_group
(resource_group_name, custom_headers=None, raw=False, **operation_config)[source]¶ Gets the list of Service Fabric cluster resources created in the specified resource group.
Gets all Service Fabric cluster resources created or in the process of being created in the resource group.
Parameters: - resource_group_name (str) – The name of the resource group.
- custom_headers (dict) – headers that will be added to the request
- raw (bool) – returns the direct response alongside the deserialized response
- operation_config – Operation configuration overrides.
Returns: ClusterListResult or ClientRawResponse if raw=true
Return type: ClusterListResult or ClientRawResponse
Raises:
-
update
(resource_group_name, cluster_name, parameters, custom_headers=None, raw=False, polling=True, **operation_config)[source]¶ Updates the configuration of a Service Fabric cluster resource.
Update the configuration of a Service Fabric cluster resource with the specified name.
Parameters: - resource_group_name (str) – The name of the resource group.
- cluster_name (str) – The name of the cluster resource.
- parameters (ClusterUpdateParameters) – The parameters which contains the property value and property name which used to update the cluster configuration.
- custom_headers (dict) – headers that will be added to the request
- raw (bool) – The poller return type is ClientRawResponse, the direct response alongside the deserialized response
- polling – True for ARMPolling, False for no polling, or a polling object for personal polling strategy
Returns: An instance of LROPoller that returns Cluster or ClientRawResponse<Cluster> if raw==True
Return type: AzureOperationPoller[Cluster] or AzureOperationPoller[ClientRawResponse[Cluster]]
Raises:
-
models
= <module 'azure.mgmt.servicefabric.models' from '/usr/lib/python3/dist-packages/azure/mgmt/servicefabric/models/__init__.py'>¶
-
class
azure.mgmt.servicefabric.operations.
ClusterVersionsOperations
(client, config, serializer, deserializer)[source]¶ Bases:
object
ClusterVersionsOperations operations.
You should not instantiate directly this class, but create a Client instance that will create it for you and attach it as attribute.
Parameters: - client – Client for service requests.
- config – Configuration of service client.
- serializer – An object model serializer.
- deserializer – An object model deserializer.
Variables: api_version – The version of the Service Fabric resource provider API. This is a required parameter and it’s value must be “2019-03-01” for this specification. Constant value: “2019-03-01”.
-
get
(location, cluster_version, custom_headers=None, raw=False, **operation_config)[source]¶ Gets information about a Service Fabric cluster code version available in the specified location.
Gets information about an available Service Fabric cluster code version.
Parameters: - location (str) – The location for the cluster code versions. This is different from cluster location.
- cluster_version (str) – The cluster code version.
- custom_headers (dict) – headers that will be added to the request
- raw (bool) – returns the direct response alongside the deserialized response
- operation_config – Operation configuration overrides.
Returns: ClusterCodeVersionsListResult or ClientRawResponse if raw=true
Return type: ClusterCodeVersionsListResult or ClientRawResponse
Raises: CloudError
-
get_by_environment
(location, environment, cluster_version, custom_headers=None, raw=False, **operation_config)[source]¶ Gets information about a Service Fabric cluster code version available for the specified environment.
Gets information about an available Service Fabric cluster code version by environment.
Parameters: - location (str) – The location for the cluster code versions. This is different from cluster location.
- environment (str) – The operating system of the cluster. The default means all. Possible values include: ‘Windows’, ‘Linux’
- cluster_version (str) – The cluster code version.
- custom_headers (dict) – headers that will be added to the request
- raw (bool) – returns the direct response alongside the deserialized response
- operation_config – Operation configuration overrides.
Returns: ClusterCodeVersionsListResult or ClientRawResponse if raw=true
Return type: ClusterCodeVersionsListResult or ClientRawResponse
Raises: CloudError
-
list
(location, custom_headers=None, raw=False, **operation_config)[source]¶ Gets the list of Service Fabric cluster code versions available for the specified location.
Gets all available code versions for Service Fabric cluster resources by location.
Parameters: - location (str) – The location for the cluster code versions. This is different from cluster location.
- custom_headers (dict) – headers that will be added to the request
- raw (bool) – returns the direct response alongside the deserialized response
- operation_config – Operation configuration overrides.
Returns: ClusterCodeVersionsListResult or ClientRawResponse if raw=true
Return type: ClusterCodeVersionsListResult or ClientRawResponse
Raises: CloudError
-
list_by_environment
(location, environment, custom_headers=None, raw=False, **operation_config)[source]¶ Gets the list of Service Fabric cluster code versions available for the specified environment.
Gets all available code versions for Service Fabric cluster resources by environment.
Parameters: - location (str) – The location for the cluster code versions. This is different from cluster location.
- environment (str) – The operating system of the cluster. The default means all. Possible values include: ‘Windows’, ‘Linux’
- custom_headers (dict) – headers that will be added to the request
- raw (bool) – returns the direct response alongside the deserialized response
- operation_config – Operation configuration overrides.
Returns: ClusterCodeVersionsListResult or ClientRawResponse if raw=true
Return type: ClusterCodeVersionsListResult or ClientRawResponse
Raises: CloudError
-
models
= <module 'azure.mgmt.servicefabric.models' from '/usr/lib/python3/dist-packages/azure/mgmt/servicefabric/models/__init__.py'>¶
-
class
azure.mgmt.servicefabric.operations.
Operations
(client, config, serializer, deserializer)[source]¶ Bases:
object
Operations operations.
You should not instantiate directly this class, but create a Client instance that will create it for you and attach it as attribute.
Parameters: - client – Client for service requests.
- config – Configuration of service client.
- serializer – An object model serializer.
- deserializer – An object model deserializer.
-
list
(api_version, custom_headers=None, raw=False, **operation_config)[source]¶ Lists all of the available Service Fabric resource provider API operations.
Get the list of available Service Fabric resource provider API operations.
Parameters: - api_version (str) – The version of the Service Fabric resource provider API
- custom_headers (dict) – headers that will be added to the request
- raw (bool) – returns the direct response alongside the deserialized response
- operation_config – Operation configuration overrides.
Returns: An iterator like instance of OperationResult
Return type: Raises:
-
models
= <module 'azure.mgmt.servicefabric.models' from '/usr/lib/python3/dist-packages/azure/mgmt/servicefabric/models/__init__.py'>¶
-
class
azure.mgmt.servicefabric.operations.
ApplicationTypesOperations
(client, config, serializer, deserializer)[source]¶ Bases:
object
ApplicationTypesOperations operations.
You should not instantiate directly this class, but create a Client instance that will create it for you and attach it as attribute.
Parameters: - client – Client for service requests.
- config – Configuration of service client.
- serializer – An object model serializer.
- deserializer – An object model deserializer.
Variables: api_version – The version of the Service Fabric resource provider API. This is a required parameter and it’s value must be “2019-03-01” for this specification. Constant value: “2019-03-01”.
-
create_or_update
(resource_group_name, cluster_name, application_type_name, location=None, tags=None, custom_headers=None, raw=False, **operation_config)[source]¶ Creates or updates a Service Fabric application type name resource.
Create or update a Service Fabric application type name resource with the specified name.
Parameters: - resource_group_name (str) – The name of the resource group.
- cluster_name (str) – The name of the cluster resource.
- application_type_name (str) – The name of the application type name resource.
- location (str) – It will be deprecated in New API, resource location depends on the parent resource.
- tags (dict[str, str]) – Azure resource tags.
- custom_headers (dict) – headers that will be added to the request
- raw (bool) – returns the direct response alongside the deserialized response
- operation_config – Operation configuration overrides.
Returns: ApplicationTypeResource or ClientRawResponse if raw=true
Return type: ApplicationTypeResource or ClientRawResponse
Raises:
-
delete
(resource_group_name, cluster_name, application_type_name, custom_headers=None, raw=False, polling=True, **operation_config)[source]¶ Deletes a Service Fabric application type name resource.
Delete a Service Fabric application type name resource with the specified name.
Parameters: - resource_group_name (str) – The name of the resource group.
- cluster_name (str) – The name of the cluster resource.
- application_type_name (str) – The name of the application type name resource.
- custom_headers (dict) – headers that will be added to the request
- raw (bool) – The poller return type is ClientRawResponse, the direct response alongside the deserialized response
- polling – True for ARMPolling, False for no polling, or a polling object for personal polling strategy
Returns: An instance of LROPoller that returns None or ClientRawResponse<None> if raw==True
Return type: AzureOperationPoller[None] or AzureOperationPoller[ClientRawResponse[None]]
Raises:
-
get
(resource_group_name, cluster_name, application_type_name, custom_headers=None, raw=False, **operation_config)[source]¶ Gets a Service Fabric application type name resource.
Get a Service Fabric application type name resource created or in the process of being created in the Service Fabric cluster resource.
Parameters: - resource_group_name (str) – The name of the resource group.
- cluster_name (str) – The name of the cluster resource.
- application_type_name (str) – The name of the application type name resource.
- custom_headers (dict) – headers that will be added to the request
- raw (bool) – returns the direct response alongside the deserialized response
- operation_config – Operation configuration overrides.
Returns: ApplicationTypeResource or ClientRawResponse if raw=true
Return type: ApplicationTypeResource or ClientRawResponse
Raises:
-
list
(resource_group_name, cluster_name, custom_headers=None, raw=False, **operation_config)[source]¶ Gets the list of application type name resources created in the specified Service Fabric cluster resource.
Gets all application type name resources created or in the process of being created in the Service Fabric cluster resource.
Parameters: - resource_group_name (str) – The name of the resource group.
- cluster_name (str) – The name of the cluster resource.
- custom_headers (dict) – headers that will be added to the request
- raw (bool) – returns the direct response alongside the deserialized response
- operation_config – Operation configuration overrides.
Returns: ApplicationTypeResourceList or ClientRawResponse if raw=true
Return type: ApplicationTypeResourceList or ClientRawResponse
Raises:
-
models
= <module 'azure.mgmt.servicefabric.models' from '/usr/lib/python3/dist-packages/azure/mgmt/servicefabric/models/__init__.py'>¶
-
class
azure.mgmt.servicefabric.operations.
ApplicationTypeVersionsOperations
(client, config, serializer, deserializer)[source]¶ Bases:
object
ApplicationTypeVersionsOperations operations.
You should not instantiate directly this class, but create a Client instance that will create it for you and attach it as attribute.
Parameters: - client – Client for service requests.
- config – Configuration of service client.
- serializer – An object model serializer.
- deserializer – An object model deserializer.
Variables: api_version – The version of the Service Fabric resource provider API. This is a required parameter and it’s value must be “2019-03-01” for this specification. Constant value: “2019-03-01”.
-
create_or_update
(resource_group_name, cluster_name, application_type_name, version, parameters, custom_headers=None, raw=False, polling=True, **operation_config)[source]¶ Creates or updates a Service Fabric application type version resource.
Create or update a Service Fabric application type version resource with the specified name.
Parameters: - resource_group_name (str) – The name of the resource group.
- cluster_name (str) – The name of the cluster resource.
- application_type_name (str) – The name of the application type name resource.
- version (str) – The application type version.
- parameters (ApplicationTypeVersionResource) – The application type version resource.
- custom_headers (dict) – headers that will be added to the request
- raw (bool) – The poller return type is ClientRawResponse, the direct response alongside the deserialized response
- polling – True for ARMPolling, False for no polling, or a polling object for personal polling strategy
Returns: An instance of LROPoller that returns ApplicationTypeVersionResource or ClientRawResponse<ApplicationTypeVersionResource> if raw==True
Return type: AzureOperationPoller[ApplicationTypeVersionResource] or AzureOperationPoller[ClientRawResponse[ApplicationTypeVersionResource]]
Raises:
-
delete
(resource_group_name, cluster_name, application_type_name, version, custom_headers=None, raw=False, polling=True, **operation_config)[source]¶ Deletes a Service Fabric application type version resource.
Delete a Service Fabric application type version resource with the specified name.
Parameters: - resource_group_name (str) – The name of the resource group.
- cluster_name (str) – The name of the cluster resource.
- application_type_name (str) – The name of the application type name resource.
- version (str) – The application type version.
- custom_headers (dict) – headers that will be added to the request
- raw (bool) – The poller return type is ClientRawResponse, the direct response alongside the deserialized response
- polling – True for ARMPolling, False for no polling, or a polling object for personal polling strategy
Returns: An instance of LROPoller that returns None or ClientRawResponse<None> if raw==True
Return type: AzureOperationPoller[None] or AzureOperationPoller[ClientRawResponse[None]]
Raises:
-
get
(resource_group_name, cluster_name, application_type_name, version, custom_headers=None, raw=False, **operation_config)[source]¶ Gets a Service Fabric application type version resource.
Get a Service Fabric application type version resource created or in the process of being created in the Service Fabric application type name resource.
Parameters: - resource_group_name (str) – The name of the resource group.
- cluster_name (str) – The name of the cluster resource.
- application_type_name (str) – The name of the application type name resource.
- version (str) – The application type version.
- custom_headers (dict) – headers that will be added to the request
- raw (bool) – returns the direct response alongside the deserialized response
- operation_config – Operation configuration overrides.
Returns: ApplicationTypeVersionResource or ClientRawResponse if raw=true
Return type: ApplicationTypeVersionResource or ClientRawResponse
Raises:
-
list
(resource_group_name, cluster_name, application_type_name, custom_headers=None, raw=False, **operation_config)[source]¶ Gets the list of application type version resources created in the specified Service Fabric application type name resource.
Gets all application type version resources created or in the process of being created in the Service Fabric application type name resource.
Parameters: - resource_group_name (str) – The name of the resource group.
- cluster_name (str) – The name of the cluster resource.
- application_type_name (str) – The name of the application type name resource.
- custom_headers (dict) – headers that will be added to the request
- raw (bool) – returns the direct response alongside the deserialized response
- operation_config – Operation configuration overrides.
Returns: ApplicationTypeVersionResourceList or ClientRawResponse if raw=true
Return type: ApplicationTypeVersionResourceList or ClientRawResponse
Raises:
-
models
= <module 'azure.mgmt.servicefabric.models' from '/usr/lib/python3/dist-packages/azure/mgmt/servicefabric/models/__init__.py'>¶
-
class
azure.mgmt.servicefabric.operations.
ApplicationsOperations
(client, config, serializer, deserializer)[source]¶ Bases:
object
ApplicationsOperations operations.
You should not instantiate directly this class, but create a Client instance that will create it for you and attach it as attribute.
Parameters: - client – Client for service requests.
- config – Configuration of service client.
- serializer – An object model serializer.
- deserializer – An object model deserializer.
Variables: api_version – The version of the Service Fabric resource provider API. This is a required parameter and it’s value must be “2019-03-01” for this specification. Constant value: “2019-03-01”.
-
create_or_update
(resource_group_name, cluster_name, application_name, parameters, custom_headers=None, raw=False, polling=True, **operation_config)[source]¶ Creates or updates a Service Fabric application resource.
Create or update a Service Fabric application resource with the specified name.
Parameters: - resource_group_name (str) – The name of the resource group.
- cluster_name (str) – The name of the cluster resource.
- application_name (str) – The name of the application resource.
- parameters (ApplicationResource) – The application resource.
- custom_headers (dict) – headers that will be added to the request
- raw (bool) – The poller return type is ClientRawResponse, the direct response alongside the deserialized response
- polling – True for ARMPolling, False for no polling, or a polling object for personal polling strategy
Returns: An instance of LROPoller that returns ApplicationResource or ClientRawResponse<ApplicationResource> if raw==True
Return type: AzureOperationPoller[ApplicationResource] or AzureOperationPoller[ClientRawResponse[ApplicationResource]]
Raises:
-
delete
(resource_group_name, cluster_name, application_name, custom_headers=None, raw=False, polling=True, **operation_config)[source]¶ Deletes a Service Fabric application resource.
Delete a Service Fabric application resource with the specified name.
Parameters: - resource_group_name (str) – The name of the resource group.
- cluster_name (str) – The name of the cluster resource.
- application_name (str) – The name of the application resource.
- custom_headers (dict) – headers that will be added to the request
- raw (bool) – The poller return type is ClientRawResponse, the direct response alongside the deserialized response
- polling – True for ARMPolling, False for no polling, or a polling object for personal polling strategy
Returns: An instance of LROPoller that returns None or ClientRawResponse<None> if raw==True
Return type: AzureOperationPoller[None] or AzureOperationPoller[ClientRawResponse[None]]
Raises:
-
get
(resource_group_name, cluster_name, application_name, custom_headers=None, raw=False, **operation_config)[source]¶ Gets a Service Fabric application resource.
Get a Service Fabric application resource created or in the process of being created in the Service Fabric cluster resource.
Parameters: - resource_group_name (str) – The name of the resource group.
- cluster_name (str) – The name of the cluster resource.
- application_name (str) – The name of the application resource.
- custom_headers (dict) – headers that will be added to the request
- raw (bool) – returns the direct response alongside the deserialized response
- operation_config – Operation configuration overrides.
Returns: ApplicationResource or ClientRawResponse if raw=true
Return type: ApplicationResource or ClientRawResponse
Raises:
-
list
(resource_group_name, cluster_name, custom_headers=None, raw=False, **operation_config)[source]¶ Gets the list of application resources created in the specified Service Fabric cluster resource.
Gets all application resources created or in the process of being created in the Service Fabric cluster resource.
Parameters: - resource_group_name (str) – The name of the resource group.
- cluster_name (str) – The name of the cluster resource.
- custom_headers (dict) – headers that will be added to the request
- raw (bool) – returns the direct response alongside the deserialized response
- operation_config – Operation configuration overrides.
Returns: ApplicationResourceList or ClientRawResponse if raw=true
Return type: ApplicationResourceList or ClientRawResponse
Raises:
-
update
(resource_group_name, cluster_name, application_name, parameters, custom_headers=None, raw=False, polling=True, **operation_config)[source]¶ Updates a Service Fabric application resource.
Update a Service Fabric application resource with the specified name.
Parameters: - resource_group_name (str) – The name of the resource group.
- cluster_name (str) – The name of the cluster resource.
- application_name (str) – The name of the application resource.
- parameters (ApplicationResourceUpdate) – The application resource for patch operations.
- custom_headers (dict) – headers that will be added to the request
- raw (bool) – The poller return type is ClientRawResponse, the direct response alongside the deserialized response
- polling – True for ARMPolling, False for no polling, or a polling object for personal polling strategy
Returns: An instance of LROPoller that returns ApplicationResource or ClientRawResponse<ApplicationResource> if raw==True
Return type: AzureOperationPoller[ApplicationResource] or AzureOperationPoller[ClientRawResponse[ApplicationResource]]
Raises:
-
models
= <module 'azure.mgmt.servicefabric.models' from '/usr/lib/python3/dist-packages/azure/mgmt/servicefabric/models/__init__.py'>¶
-
class
azure.mgmt.servicefabric.operations.
ServicesOperations
(client, config, serializer, deserializer)[source]¶ Bases:
object
ServicesOperations operations.
You should not instantiate directly this class, but create a Client instance that will create it for you and attach it as attribute.
Parameters: - client – Client for service requests.
- config – Configuration of service client.
- serializer – An object model serializer.
- deserializer – An object model deserializer.
Variables: api_version – The version of the Service Fabric resource provider API. This is a required parameter and it’s value must be “2019-03-01” for this specification. Constant value: “2019-03-01”.
-
create_or_update
(resource_group_name, cluster_name, application_name, service_name, parameters, custom_headers=None, raw=False, polling=True, **operation_config)[source]¶ Creates or updates a Service Fabric service resource.
Create or update a Service Fabric service resource with the specified name.
Parameters: - resource_group_name (str) – The name of the resource group.
- cluster_name (str) – The name of the cluster resource.
- application_name (str) – The name of the application resource.
- service_name (str) – The name of the service resource in the format of {applicationName}~{serviceName}.
- parameters (ServiceResource) – The service resource.
- custom_headers (dict) – headers that will be added to the request
- raw (bool) – The poller return type is ClientRawResponse, the direct response alongside the deserialized response
- polling – True for ARMPolling, False for no polling, or a polling object for personal polling strategy
Returns: An instance of LROPoller that returns ServiceResource or ClientRawResponse<ServiceResource> if raw==True
Return type: AzureOperationPoller[ServiceResource] or AzureOperationPoller[ClientRawResponse[ServiceResource]]
Raises:
-
delete
(resource_group_name, cluster_name, application_name, service_name, custom_headers=None, raw=False, polling=True, **operation_config)[source]¶ Deletes a Service Fabric service resource.
Delete a Service Fabric service resource with the specified name.
Parameters: - resource_group_name (str) – The name of the resource group.
- cluster_name (str) – The name of the cluster resource.
- application_name (str) – The name of the application resource.
- service_name (str) – The name of the service resource in the format of {applicationName}~{serviceName}.
- custom_headers (dict) – headers that will be added to the request
- raw (bool) – The poller return type is ClientRawResponse, the direct response alongside the deserialized response
- polling – True for ARMPolling, False for no polling, or a polling object for personal polling strategy
Returns: An instance of LROPoller that returns None or ClientRawResponse<None> if raw==True
Return type: AzureOperationPoller[None] or AzureOperationPoller[ClientRawResponse[None]]
Raises:
-
get
(resource_group_name, cluster_name, application_name, service_name, custom_headers=None, raw=False, **operation_config)[source]¶ Gets a Service Fabric service resource.
Get a Service Fabric service resource created or in the process of being created in the Service Fabric application resource.
Parameters: - resource_group_name (str) – The name of the resource group.
- cluster_name (str) – The name of the cluster resource.
- application_name (str) – The name of the application resource.
- service_name (str) – The name of the service resource in the format of {applicationName}~{serviceName}.
- custom_headers (dict) – headers that will be added to the request
- raw (bool) – returns the direct response alongside the deserialized response
- operation_config – Operation configuration overrides.
Returns: ServiceResource or ClientRawResponse if raw=true
Return type: ServiceResource or ClientRawResponse
Raises:
-
list
(resource_group_name, cluster_name, application_name, custom_headers=None, raw=False, **operation_config)[source]¶ Gets the list of service resources created in the specified Service Fabric application resource.
Gets all service resources created or in the process of being created in the Service Fabric application resource.
Parameters: - resource_group_name (str) – The name of the resource group.
- cluster_name (str) – The name of the cluster resource.
- application_name (str) – The name of the application resource.
- custom_headers (dict) – headers that will be added to the request
- raw (bool) – returns the direct response alongside the deserialized response
- operation_config – Operation configuration overrides.
Returns: ServiceResourceList or ClientRawResponse if raw=true
Return type: ServiceResourceList or ClientRawResponse
Raises:
-
update
(resource_group_name, cluster_name, application_name, service_name, parameters, custom_headers=None, raw=False, polling=True, **operation_config)[source]¶ Updates a Service Fabric service resource.
Update a Service Fabric service resource with the specified name.
Parameters: - resource_group_name (str) – The name of the resource group.
- cluster_name (str) – The name of the cluster resource.
- application_name (str) – The name of the application resource.
- service_name (str) – The name of the service resource in the format of {applicationName}~{serviceName}.
- parameters (ServiceResourceUpdate) – The service resource for patch operations.
- custom_headers (dict) – headers that will be added to the request
- raw (bool) – The poller return type is ClientRawResponse, the direct response alongside the deserialized response
- polling – True for ARMPolling, False for no polling, or a polling object for personal polling strategy
Returns: An instance of LROPoller that returns ServiceResource or ClientRawResponse<ServiceResource> if raw==True
Return type: AzureOperationPoller[ServiceResource] or AzureOperationPoller[ClientRawResponse[ServiceResource]]
Raises:
-
models
= <module 'azure.mgmt.servicefabric.models' from '/usr/lib/python3/dist-packages/azure/mgmt/servicefabric/models/__init__.py'>¶