ManagedClustersOperations Class
ManagedClustersOperations async operations.
You should not instantiate this class directly. Instead, you should create a Client instance that instantiates it for you and attaches it as an attribute.
- Inheritance
-
builtins.objectManagedClustersOperations
Constructor
ManagedClustersOperations(client, config, serializer, deserializer)
Parameters
- client
Client for service requests.
- config
Configuration of service client.
- serializer
An object model serializer.
- deserializer
An object model deserializer.
Variables
- models
Alias to model classes used in this operation group.
Methods
| begin_create_or_update |
Creates or updates a Service Fabric managed cluster resource. Create or update a Service Fabric managed cluster resource with the specified name. |
| begin_delete |
Deletes a Service Fabric managed cluster resource. Delete a Service Fabric managed cluster resource with the specified name. |
| get |
Gets a Service Fabric managed cluster resource. Get a Service Fabric managed cluster resource created or in the process of being created in the specified resource group. |
| list_by_resource_group |
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_by_subscription |
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. |
| update |
Updates the tags of of a Service Fabric managed cluster resource. Update the tags of of a Service Fabric managed cluster resource with the specified name. |
begin_create_or_update
Creates or updates a Service Fabric managed cluster resource.
Create or update a Service Fabric managed cluster resource with the specified name.
async begin_create_or_update(resource_group_name: str, cluster_name: str, parameters: azure.mgmt.servicefabricmanagedclusters.models._models_py3.ManagedCluster, **kwargs) -> azure.core.polling._async_poller.AsyncLROPoller[azure.mgmt.servicefabricmanagedclusters.models._models_py3.ManagedCluster]
Parameters
- parameters
- <xref:service_fabric_managed_clusters_management_client.models.ManagedCluster>
The cluster resource.
- 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 AsyncPollingMethod
Pass in True if you'd like the AsyncARMPolling polling method, False for no polling, or 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 AsyncLROPoller that returns either ManagedCluster or the result of cls(response)
Return type
Exceptions
begin_delete
Deletes a Service Fabric managed cluster resource.
Delete a Service Fabric managed cluster resource with the specified name.
async begin_delete(resource_group_name: str, cluster_name: str, **kwargs) -> azure.core.polling._async_poller.AsyncLROPoller[None]
Parameters
- 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 AsyncPollingMethod
Pass in True if you'd like the AsyncARMPolling polling method, False for no polling, or 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 AsyncLROPoller that returns either None or the result of cls(response)
Return type
Exceptions
get
Gets a Service Fabric managed cluster resource.
Get a Service Fabric managed cluster resource created or in the process of being created in the specified resource group.
async get(resource_group_name: str, cluster_name: str, **kwargs) -> azure.mgmt.servicefabricmanagedclusters.models._models_py3.ManagedCluster
Parameters
- cls
- callable
A custom type or function that will be passed the direct response
Returns
ManagedCluster, or the result of cls(response)
Return type
Exceptions
list_by_resource_group
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_by_resource_group(resource_group_name: str, **kwargs) -> AsyncIterable[azure.mgmt.servicefabricmanagedclusters.models._models_py3.ManagedClusterListResult]
Parameters
- cls
- callable
A custom type or function that will be passed the direct response
Returns
An iterator like instance of either ManagedClusterListResult or the result of cls(response)
Return type
Exceptions
list_by_subscription
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.
list_by_subscription(**kwargs) -> AsyncIterable[azure.mgmt.servicefabricmanagedclusters.models._models_py3.ManagedClusterListResult]
Parameters
- cls
- callable
A custom type or function that will be passed the direct response
Returns
An iterator like instance of either ManagedClusterListResult or the result of cls(response)
Return type
Exceptions
update
Updates the tags of of a Service Fabric managed cluster resource.
Update the tags of of a Service Fabric managed cluster resource with the specified name.
async update(resource_group_name: str, cluster_name: str, parameters: azure.mgmt.servicefabricmanagedclusters.models._models_py3.ManagedClusterUpdateParameters, **kwargs) -> azure.mgmt.servicefabricmanagedclusters.models._models_py3.ManagedCluster
Parameters
- parameters
- <xref:service_fabric_managed_clusters_management_client.models.ManagedClusterUpdateParameters>
The managed cluster resource updated tags.
- cls
- callable
A custom type or function that will be passed the direct response
Returns
ManagedCluster, or the result of cls(response)
Return type
Exceptions
Attributes
models
models = <module 'azure.mgmt.servicefabricmanagedclusters.models' from 'C:\\hostedtoolcache\\windows\\Python\\3.9.13\\x64\\lib\\site-packages\\azure\\mgmt\\servicefabricmanagedclusters\\models\\__init__.py'>
Feedback
Submit and view feedback for