ManagedClustersOperations Class

ManagedClustersOperations 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.object
ManagedClustersOperations

Constructor

ManagedClustersOperations(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

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.

begin_create_or_update(resource_group_name: str, cluster_name: str, parameters: _models.ManagedCluster, **kwargs: Any) -> LROPoller[_models.ManagedCluster]

Parameters

resource_group_name
str
Required

The name of the resource group.

cluster_name
str
Required

The name of the cluster resource.

parameters
<xref:service_fabric_managed_clusters_management_client.models.ManagedCluster>
Required

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 PollingMethod

Pass in True if you'd like the ARMPolling 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 LROPoller that returns either ManagedCluster or the result of cls(response)

Return type

LROPoller[<xref:service_fabric_managed_clusters_management_client.models.ManagedCluster>]

Exceptions

begin_delete

Deletes a Service Fabric managed cluster resource.

Delete a Service Fabric managed cluster resource with the specified name.

begin_delete(resource_group_name: str, cluster_name: str, **kwargs: Any) -> LROPoller[None]

Parameters

resource_group_name
str
Required

The name of the resource group.

cluster_name
str
Required

The name of 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 PollingMethod

Pass in True if you'd like the ARMPolling 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 LROPoller 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.

get(resource_group_name: str, cluster_name: str, **kwargs: Any) -> _models.ManagedCluster

Parameters

resource_group_name
str
Required

The name of the resource group.

cluster_name
str
Required

The name of the cluster resource.

cls
callable

A custom type or function that will be passed the direct response

Returns

ManagedCluster, or the result of cls(response)

Return type

<xref:service_fabric_managed_clusters_management_client.models.ManagedCluster>

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: Any) -> Iterable[_models.ManagedClusterListResult]

Parameters

resource_group_name
str
Required

The name of the resource group.

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

ItemPaged[<xref:service_fabric_managed_clusters_management_client.models.ManagedClusterListResult>]

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: Any) -> Iterable[_models.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

ItemPaged[<xref:service_fabric_managed_clusters_management_client.models.ManagedClusterListResult>]

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.

update(resource_group_name: str, cluster_name: str, parameters: _models.ManagedClusterUpdateParameters, **kwargs: Any) -> _models.ManagedCluster

Parameters

resource_group_name
str
Required

The name of the resource group.

cluster_name
str
Required

The name of the cluster resource.

parameters
<xref:service_fabric_managed_clusters_management_client.models.ManagedClusterUpdateParameters>
Required

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

<xref:service_fabric_managed_clusters_management_client.models.ManagedCluster>

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'>