azure.mgmt.servicefabric.operations module¶
-
class
azure.mgmt.servicefabric.operations.
ApplicationTypeVersionsOperations
(*args, **kwargs)[source]¶ Bases:
object
Warning
DO NOT instantiate this class directly.
Instead, you should access the following operations through
ServiceFabricManagementClient
’sapplication_type_versions
attribute.-
begin_create_or_update
(resource_group_name: str, cluster_name: str, application_type_name: str, version: str, parameters: _models.ApplicationTypeVersionResource, *, content_type: str = "'application/json'", **kwargs: Any) → LROPoller[_models.ApplicationTypeVersionResource][source]¶ -
begin_create_or_update
(resource_group_name: str, cluster_name: str, application_type_name: str, version: str, parameters: IO, *, content_type: str = "'application/json'", **kwargs: Any) → LROPoller[_models.ApplicationTypeVersionResource] 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. Required.
cluster_name (str) – The name of the cluster resource. Required.
application_type_name (str) – The name of the application type name resource. Required.
version (str) – The application type version. Required.
parameters (ApplicationTypeVersionResource or IO) – The application type version resource. Is either a model type or a IO type. Required.
- Keyword Arguments
content_type (str) – Body Parameter content-type. Known values are: ‘application/json’. Default value is None.
cls (callable) – A custom type or function that will be passed the direct response
continuation_token (str) – A continuation token to restart a poller from a saved state.
polling (bool or PollingMethod) – By default, your polling method will be ARMPolling. Pass in False for this operation to not poll, or pass in your own initialized polling object for a personal polling strategy.
polling_interval (int) – Default waiting time between two polls for LRO operations if no Retry-After header is present.
- Returns
An instance of LROPoller that returns either ApplicationTypeVersionResource or the result of cls(response)
- Return type
- Raises
-
begin_delete
(resource_group_name: str, cluster_name: str, application_type_name: str, version: str, **kwargs: Any) → azure.core.polling._poller.LROPoller[None][source]¶ Deletes a Service Fabric application type version resource.
Delete a Service Fabric application type version resource with the specified name.
- Parameters
- Keyword Arguments
cls (callable) – A custom type or function that will be passed the direct response
continuation_token (str) – A continuation token to restart a poller from a saved state.
polling (bool or PollingMethod) – By default, your polling method will be ARMPolling. Pass in False for this operation to not poll, or pass in your own initialized polling object for a personal polling strategy.
polling_interval (int) – Default waiting time between two polls for LRO operations if no Retry-After header is present.
- Returns
An instance of LROPoller that returns either None or the result of cls(response)
- Return type
- Raises
-
get
(resource_group_name: str, cluster_name: str, application_type_name: str, version: str, **kwargs: Any) → azure.mgmt.servicefabric.models._models_py3.ApplicationTypeVersionResource[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
- Keyword Arguments
cls (callable) – A custom type or function that will be passed the direct response
- Returns
ApplicationTypeVersionResource or the result of cls(response)
- Return type
- Raises
-
list
(resource_group_name: str, cluster_name: str, application_type_name: str, **kwargs: Any) → azure.mgmt.servicefabric.models._models_py3.ApplicationTypeVersionResourceList[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
- Keyword Arguments
cls (callable) – A custom type or function that will be passed the direct response
- Returns
ApplicationTypeVersionResourceList or the result of cls(response)
- Return type
- Raises
-
models
= <module 'azure.mgmt.servicefabric.models' from '/mnt/vss/_work/1/s/sdk/servicefabric/azure-mgmt-servicefabric/.tox/sphinx/lib/python3.9/site-packages/azure/mgmt/servicefabric/models/__init__.py'>¶
-
-
class
azure.mgmt.servicefabric.operations.
ApplicationTypesOperations
(*args, **kwargs)[source]¶ Bases:
object
Warning
DO NOT instantiate this class directly.
Instead, you should access the following operations through
ServiceFabricManagementClient
’sapplication_types
attribute.-
begin_delete
(resource_group_name: str, cluster_name: str, application_type_name: str, **kwargs: Any) → azure.core.polling._poller.LROPoller[None][source]¶ Deletes a Service Fabric application type name resource.
Delete a Service Fabric application type name resource with the specified name.
- Parameters
- Keyword Arguments
cls (callable) – A custom type or function that will be passed the direct response
continuation_token (str) – A continuation token to restart a poller from a saved state.
polling (bool or PollingMethod) – By default, your polling method will be ARMPolling. Pass in False for this operation to not poll, or pass in your own initialized polling object for a personal polling strategy.
polling_interval (int) – Default waiting time between two polls for LRO operations if no Retry-After header is present.
- Returns
An instance of LROPoller that returns either None or the result of cls(response)
- Return type
- Raises
-
create_or_update
(resource_group_name: str, cluster_name: str, application_type_name: str, parameters: _models.ApplicationTypeResource, *, content_type: str = "'application/json'", **kwargs: Any) → _models.ApplicationTypeResource[source]¶ -
create_or_update
(resource_group_name: str, cluster_name: str, application_type_name: str, parameters: IO, *, content_type: str = "'application/json'", **kwargs: Any) → _models.ApplicationTypeResource 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. Required.
cluster_name (str) – The name of the cluster resource. Required.
application_type_name (str) – The name of the application type name resource. Required.
parameters (ApplicationTypeResource or IO) – The application type name resource. Is either a model type or a IO type. Required.
- Keyword Arguments
- Returns
ApplicationTypeResource or the result of cls(response)
- Return type
- Raises
-
get
(resource_group_name: str, cluster_name: str, application_type_name: str, **kwargs: Any) → azure.mgmt.servicefabric.models._models_py3.ApplicationTypeResource[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
- Keyword Arguments
cls (callable) – A custom type or function that will be passed the direct response
- Returns
ApplicationTypeResource or the result of cls(response)
- Return type
- Raises
-
list
(resource_group_name: str, cluster_name: str, **kwargs: Any) → azure.mgmt.servicefabric.models._models_py3.ApplicationTypeResourceList[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
- Keyword Arguments
cls (callable) – A custom type or function that will be passed the direct response
- Returns
ApplicationTypeResourceList or the result of cls(response)
- Return type
- Raises
-
models
= <module 'azure.mgmt.servicefabric.models' from '/mnt/vss/_work/1/s/sdk/servicefabric/azure-mgmt-servicefabric/.tox/sphinx/lib/python3.9/site-packages/azure/mgmt/servicefabric/models/__init__.py'>¶
-
-
class
azure.mgmt.servicefabric.operations.
ApplicationsOperations
(*args, **kwargs)[source]¶ Bases:
object
Warning
DO NOT instantiate this class directly.
Instead, you should access the following operations through
ServiceFabricManagementClient
’sapplications
attribute.-
begin_create_or_update
(resource_group_name: str, cluster_name: str, application_name: str, parameters: _models.ApplicationResource, *, content_type: str = "'application/json'", **kwargs: Any) → LROPoller[_models.ApplicationResource][source]¶ -
begin_create_or_update
(resource_group_name: str, cluster_name: str, application_name: str, parameters: IO, *, content_type: str = "'application/json'", **kwargs: Any) → LROPoller[_models.ApplicationResource] 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. Required.
cluster_name (str) – The name of the cluster resource. Required.
application_name (str) – The name of the application resource. Required.
parameters (ApplicationResource or IO) – The application resource. Is either a model type or a IO type. Required.
- Keyword Arguments
content_type (str) – Body Parameter content-type. Known values are: ‘application/json’. Default value is None.
cls (callable) – A custom type or function that will be passed the direct response
continuation_token (str) – A continuation token to restart a poller from a saved state.
polling (bool or PollingMethod) – By default, your polling method will be ARMPolling. Pass in False for this operation to not poll, or pass in your own initialized polling object for a personal polling strategy.
polling_interval (int) – Default waiting time between two polls for LRO operations if no Retry-After header is present.
- Returns
An instance of LROPoller that returns either ApplicationResource or the result of cls(response)
- Return type
- Raises
-
begin_delete
(resource_group_name: str, cluster_name: str, application_name: str, **kwargs: Any) → azure.core.polling._poller.LROPoller[None][source]¶ Deletes a Service Fabric application resource.
Delete a Service Fabric application resource with the specified name.
- Parameters
- Keyword Arguments
cls (callable) – A custom type or function that will be passed the direct response
continuation_token (str) – A continuation token to restart a poller from a saved state.
polling (bool or PollingMethod) – By default, your polling method will be ARMPolling. Pass in False for this operation to not poll, or pass in your own initialized polling object for a personal polling strategy.
polling_interval (int) – Default waiting time between two polls for LRO operations if no Retry-After header is present.
- Returns
An instance of LROPoller that returns either None or the result of cls(response)
- Return type
- Raises
-
begin_update
(resource_group_name: str, cluster_name: str, application_name: str, parameters: _models.ApplicationResourceUpdate, *, content_type: str = "'application/json'", **kwargs: Any) → LROPoller[_models.ApplicationResource][source]¶ -
begin_update
(resource_group_name: str, cluster_name: str, application_name: str, parameters: IO, *, content_type: str = "'application/json'", **kwargs: Any) → LROPoller[_models.ApplicationResource] 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. Required.
cluster_name (str) – The name of the cluster resource. Required.
application_name (str) – The name of the application resource. Required.
parameters (ApplicationResourceUpdate or IO) – The application resource for patch operations. Is either a model type or a IO type. Required.
- Keyword Arguments
content_type (str) – Body Parameter content-type. Known values are: ‘application/json’. Default value is None.
cls (callable) – A custom type or function that will be passed the direct response
continuation_token (str) – A continuation token to restart a poller from a saved state.
polling (bool or PollingMethod) – By default, your polling method will be ARMPolling. Pass in False for this operation to not poll, or pass in your own initialized polling object for a personal polling strategy.
polling_interval (int) – Default waiting time between two polls for LRO operations if no Retry-After header is present.
- Returns
An instance of LROPoller that returns either ApplicationResource or the result of cls(response)
- Return type
- Raises
-
get
(resource_group_name: str, cluster_name: str, application_name: str, **kwargs: Any) → azure.mgmt.servicefabric.models._models_py3.ApplicationResource[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
- Keyword Arguments
cls (callable) – A custom type or function that will be passed the direct response
- Returns
ApplicationResource or the result of cls(response)
- Return type
- Raises
-
list
(resource_group_name: str, cluster_name: str, **kwargs: Any) → azure.mgmt.servicefabric.models._models_py3.ApplicationResourceList[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
- Keyword Arguments
cls (callable) – A custom type or function that will be passed the direct response
- Returns
ApplicationResourceList or the result of cls(response)
- Return type
- Raises
-
models
= <module 'azure.mgmt.servicefabric.models' from '/mnt/vss/_work/1/s/sdk/servicefabric/azure-mgmt-servicefabric/.tox/sphinx/lib/python3.9/site-packages/azure/mgmt/servicefabric/models/__init__.py'>¶
-
-
class
azure.mgmt.servicefabric.operations.
ClusterVersionsOperations
(*args, **kwargs)[source]¶ Bases:
object
Warning
DO NOT instantiate this class directly.
Instead, you should access the following operations through
ServiceFabricManagementClient
’scluster_versions
attribute.-
get
(location: str, cluster_version: str, **kwargs: Any) → azure.mgmt.servicefabric.models._models_py3.ClusterCodeVersionsListResult[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
- Keyword Arguments
cls (callable) – A custom type or function that will be passed the direct response
- Returns
ClusterCodeVersionsListResult or the result of cls(response)
- Return type
- Raises
-
get_by_environment
(location: str, environment: Union[str, azure.mgmt.servicefabric.models._service_fabric_management_client_enums.ClusterVersionsEnvironment], cluster_version: str, **kwargs: Any) → azure.mgmt.servicefabric.models._models_py3.ClusterCodeVersionsListResult[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. Required.
environment (str or ClusterVersionsEnvironment) – The operating system of the cluster. The default means all. Known values are: “Windows” and “Linux”. Required.
cluster_version (str) – The cluster code version. Required.
- Keyword Arguments
cls (callable) – A custom type or function that will be passed the direct response
- Returns
ClusterCodeVersionsListResult or the result of cls(response)
- Return type
- Raises
-
list
(location: str, **kwargs: Any) → azure.mgmt.servicefabric.models._models_py3.ClusterCodeVersionsListResult[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. Required.
- Keyword Arguments
cls (callable) – A custom type or function that will be passed the direct response
- Returns
ClusterCodeVersionsListResult or the result of cls(response)
- Return type
- Raises
-
list_by_environment
(location: str, environment: Union[str, azure.mgmt.servicefabric.models._service_fabric_management_client_enums.ClusterVersionsEnvironment], **kwargs: Any) → azure.mgmt.servicefabric.models._models_py3.ClusterCodeVersionsListResult[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. Required.
environment (str or ClusterVersionsEnvironment) – The operating system of the cluster. The default means all. Known values are: “Windows” and “Linux”. Required.
- Keyword Arguments
cls (callable) – A custom type or function that will be passed the direct response
- Returns
ClusterCodeVersionsListResult or the result of cls(response)
- Return type
- Raises
-
models
= <module 'azure.mgmt.servicefabric.models' from '/mnt/vss/_work/1/s/sdk/servicefabric/azure-mgmt-servicefabric/.tox/sphinx/lib/python3.9/site-packages/azure/mgmt/servicefabric/models/__init__.py'>¶
-
-
class
azure.mgmt.servicefabric.operations.
ClustersOperations
(*args, **kwargs)[source]¶ Bases:
object
Warning
DO NOT instantiate this class directly.
Instead, you should access the following operations through
ServiceFabricManagementClient
’sclusters
attribute.-
begin_create_or_update
(resource_group_name: str, cluster_name: str, parameters: _models.Cluster, *, content_type: str = "'application/json'", **kwargs: Any) → LROPoller[_models.Cluster][source]¶ -
begin_create_or_update
(resource_group_name: str, cluster_name: str, parameters: IO, *, content_type: str = "'application/json'", **kwargs: Any) → LROPoller[_models.Cluster] Creates or updates a Service Fabric cluster resource.
Create or update a Service Fabric cluster resource with the specified name.
- Parameters
- Keyword Arguments
content_type (str) – Body Parameter content-type. Known values are: ‘application/json’. Default value is None.
cls (callable) – A custom type or function that will be passed the direct response
continuation_token (str) – A continuation token to restart a poller from a saved state.
polling (bool or PollingMethod) – By default, your polling method will be ARMPolling. Pass in False for this operation to not poll, or pass in your own initialized polling object for a personal polling strategy.
polling_interval (int) – Default waiting time between two polls for LRO operations if no Retry-After header is present.
- Returns
An instance of LROPoller that returns either Cluster or the result of cls(response)
- Return type
- Raises
-
begin_update
(resource_group_name: str, cluster_name: str, parameters: _models.ClusterUpdateParameters, *, content_type: str = "'application/json'", **kwargs: Any) → LROPoller[_models.Cluster][source]¶ -
begin_update
(resource_group_name: str, cluster_name: str, parameters: IO, *, content_type: str = "'application/json'", **kwargs: Any) → LROPoller[_models.Cluster] 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. Required.
cluster_name (str) – The name of the cluster resource. Required.
parameters (ClusterUpdateParameters or IO) – The parameters which contains the property value and property name which used to update the cluster configuration. Is either a model type or a IO type. Required.
- Keyword Arguments
content_type (str) – Body Parameter content-type. Known values are: ‘application/json’. Default value is None.
cls (callable) – A custom type or function that will be passed the direct response
continuation_token (str) – A continuation token to restart a poller from a saved state.
polling (bool or PollingMethod) – By default, your polling method will be ARMPolling. Pass in False for this operation to not poll, or pass in your own initialized polling object for a personal polling strategy.
polling_interval (int) – Default waiting time between two polls for LRO operations if no Retry-After header is present.
- Returns
An instance of LROPoller that returns either Cluster or the result of cls(response)
- Return type
- Raises
-
delete
(resource_group_name: str, cluster_name: str, **kwargs: Any) → None[source]¶ Deletes a Service Fabric cluster resource.
Delete a Service Fabric cluster resource with the specified name.
- Parameters
- Keyword Arguments
cls (callable) – A custom type or function that will be passed the direct response
- Returns
None or the result of cls(response)
- Return type
- Raises
-
get
(resource_group_name: str, cluster_name: str, **kwargs: Any) → azure.mgmt.servicefabric.models._models_py3.Cluster[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
- Keyword Arguments
cls (callable) – A custom type or function that will be passed the direct response
- Returns
Cluster or the result of cls(response)
- Return type
- Raises
-
list
(**kwargs: Any) → azure.mgmt.servicefabric.models._models_py3.ClusterListResult[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.
- Keyword Arguments
cls (callable) – A custom type or function that will be passed the direct response
- Returns
ClusterListResult or the result of cls(response)
- Return type
- Raises
-
list_by_resource_group
(resource_group_name: str, **kwargs: Any) → azure.mgmt.servicefabric.models._models_py3.ClusterListResult[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.
-
list_upgradable_versions
(resource_group_name: str, cluster_name: str, versions_description: Optional[_models.UpgradableVersionsDescription] = None, *, content_type: str = "'application/json'", **kwargs: Any) → _models.UpgradableVersionPathResult[source]¶ -
list_upgradable_versions
(resource_group_name: str, cluster_name: str, versions_description: Optional[IO] = None, *, content_type: str = "'application/json'", **kwargs: Any) → _models.UpgradableVersionPathResult Operation to get the minimum and maximum upgradable version from the current cluster version, or the required path to get to the an specific target version.
If a target is not provided, it will get the minimum and maximum versions available from the current cluster version. If a target is given, it will provide the required path to get from the current cluster version to the target version.
- Parameters
resource_group_name (str) – The name of the resource group. Required.
cluster_name (str) – The name of the cluster resource. Required.
versions_description (UpgradableVersionsDescription or IO) – The upgrade path description with target version. Is either a model type or a IO type. Default value is None.
- Keyword Arguments
- Returns
UpgradableVersionPathResult or the result of cls(response)
- Return type
- Raises
-
models
= <module 'azure.mgmt.servicefabric.models' from '/mnt/vss/_work/1/s/sdk/servicefabric/azure-mgmt-servicefabric/.tox/sphinx/lib/python3.9/site-packages/azure/mgmt/servicefabric/models/__init__.py'>¶
-
-
class
azure.mgmt.servicefabric.operations.
Operations
(*args, **kwargs)[source]¶ Bases:
object
Warning
DO NOT instantiate this class directly.
Instead, you should access the following operations through
ServiceFabricManagementClient
’soperations
attribute.-
list
(**kwargs: Any) → Iterable[azure.mgmt.servicefabric.models._models_py3.OperationResult][source]¶ Lists all of the available Service Fabric resource provider API operations.
Get the list of available Service Fabric resource provider API operations.
- Keyword Arguments
cls (callable) – A custom type or function that will be passed the direct response
- Returns
An iterator like instance of either OperationResult or the result of cls(response)
- Return type
- Raises
-
models
= <module 'azure.mgmt.servicefabric.models' from '/mnt/vss/_work/1/s/sdk/servicefabric/azure-mgmt-servicefabric/.tox/sphinx/lib/python3.9/site-packages/azure/mgmt/servicefabric/models/__init__.py'>¶
-
-
class
azure.mgmt.servicefabric.operations.
ServicesOperations
(*args, **kwargs)[source]¶ Bases:
object
Warning
DO NOT instantiate this class directly.
Instead, you should access the following operations through
ServiceFabricManagementClient
’sservices
attribute.-
begin_create_or_update
(resource_group_name: str, cluster_name: str, application_name: str, service_name: str, parameters: _models.ServiceResource, *, content_type: str = "'application/json'", **kwargs: Any) → LROPoller[_models.ServiceResource][source]¶ -
begin_create_or_update
(resource_group_name: str, cluster_name: str, application_name: str, service_name: str, parameters: IO, *, content_type: str = "'application/json'", **kwargs: Any) → LROPoller[_models.ServiceResource] 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. Required.
cluster_name (str) – The name of the cluster resource. Required.
application_name (str) – The name of the application resource. Required.
service_name (str) – The name of the service resource in the format of {applicationName}~{serviceName}. Required.
parameters (ServiceResource or IO) – The service resource. Is either a model type or a IO type. Required.
- Keyword Arguments
content_type (str) – Body Parameter content-type. Known values are: ‘application/json’. Default value is None.
cls (callable) – A custom type or function that will be passed the direct response
continuation_token (str) – A continuation token to restart a poller from a saved state.
polling (bool or PollingMethod) – By default, your polling method will be ARMPolling. Pass in False for this operation to not poll, or pass in your own initialized polling object for a personal polling strategy.
polling_interval (int) – Default waiting time between two polls for LRO operations if no Retry-After header is present.
- Returns
An instance of LROPoller that returns either ServiceResource or the result of cls(response)
- Return type
- Raises
-
begin_delete
(resource_group_name: str, cluster_name: str, application_name: str, service_name: str, **kwargs: Any) → azure.core.polling._poller.LROPoller[None][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. Required.
cluster_name (str) – The name of the cluster resource. Required.
application_name (str) – The name of the application resource. Required.
service_name (str) – The name of the service resource in the format of {applicationName}~{serviceName}. Required.
- Keyword Arguments
cls (callable) – A custom type or function that will be passed the direct response
continuation_token (str) – A continuation token to restart a poller from a saved state.
polling (bool or PollingMethod) – By default, your polling method will be ARMPolling. Pass in False for this operation to not poll, or pass in your own initialized polling object for a personal polling strategy.
polling_interval (int) – Default waiting time between two polls for LRO operations if no Retry-After header is present.
- Returns
An instance of LROPoller that returns either None or the result of cls(response)
- Return type
- Raises
-
begin_update
(resource_group_name: str, cluster_name: str, application_name: str, service_name: str, parameters: _models.ServiceResourceUpdate, *, content_type: str = "'application/json'", **kwargs: Any) → LROPoller[_models.ServiceResource][source]¶ -
begin_update
(resource_group_name: str, cluster_name: str, application_name: str, service_name: str, parameters: IO, *, content_type: str = "'application/json'", **kwargs: Any) → LROPoller[_models.ServiceResource] 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. Required.
cluster_name (str) – The name of the cluster resource. Required.
application_name (str) – The name of the application resource. Required.
service_name (str) – The name of the service resource in the format of {applicationName}~{serviceName}. Required.
parameters (ServiceResourceUpdate or IO) – The service resource for patch operations. Is either a model type or a IO type. Required.
- Keyword Arguments
content_type (str) – Body Parameter content-type. Known values are: ‘application/json’. Default value is None.
cls (callable) – A custom type or function that will be passed the direct response
continuation_token (str) – A continuation token to restart a poller from a saved state.
polling (bool or PollingMethod) – By default, your polling method will be ARMPolling. Pass in False for this operation to not poll, or pass in your own initialized polling object for a personal polling strategy.
polling_interval (int) – Default waiting time between two polls for LRO operations if no Retry-After header is present.
- Returns
An instance of LROPoller that returns either ServiceResource or the result of cls(response)
- Return type
- Raises
-
get
(resource_group_name: str, cluster_name: str, application_name: str, service_name: str, **kwargs: Any) → azure.mgmt.servicefabric.models._models_py3.ServiceResource[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. Required.
cluster_name (str) – The name of the cluster resource. Required.
application_name (str) – The name of the application resource. Required.
service_name (str) – The name of the service resource in the format of {applicationName}~{serviceName}. Required.
- Keyword Arguments
cls (callable) – A custom type or function that will be passed the direct response
- Returns
ServiceResource or the result of cls(response)
- Return type
- Raises
-
list
(resource_group_name: str, cluster_name: str, application_name: str, **kwargs: Any) → azure.mgmt.servicefabric.models._models_py3.ServiceResourceList[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
- Keyword Arguments
cls (callable) – A custom type or function that will be passed the direct response
- Returns
ServiceResourceList or the result of cls(response)
- Return type
- Raises
-
models
= <module 'azure.mgmt.servicefabric.models' from '/mnt/vss/_work/1/s/sdk/servicefabric/azure-mgmt-servicefabric/.tox/sphinx/lib/python3.9/site-packages/azure/mgmt/servicefabric/models/__init__.py'>¶
-