ManagedClusterVersionOperations Class

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

Constructor

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

get

Gets information about a Service Fabric managed cluster code version available in the specified location.

Gets information about an available Service Fabric managed cluster code version.

get_by_environment

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.

list

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.

list_by_environment

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.

get

Gets information about a Service Fabric managed cluster code version available in the specified location.

Gets information about an available Service Fabric managed cluster code version.

async get(location: str, cluster_version: str, **kwargs) -> azure.mgmt.servicefabricmanagedclusters.models._models_py3.ManagedClusterCodeVersionResult

Parameters

location
str
Required

The location for the cluster code versions. This is different from cluster location.

cluster_version
str
Required

The cluster code version.

cls
callable

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

Returns

ManagedClusterCodeVersionResult, or the result of cls(response)

Return type

<xref:service_fabric_managed_clusters_management_client.models.ManagedClusterCodeVersionResult>

Exceptions

get_by_environment

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.

async get_by_environment(location: str, cluster_version: str, **kwargs) -> azure.mgmt.servicefabricmanagedclusters.models._models_py3.ManagedClusterCodeVersionResult

Parameters

location
str
Required

The location for the cluster code versions. This is different from cluster location.

cluster_version
str
Required

The cluster code version.

cls
callable

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

Returns

ManagedClusterCodeVersionResult, or the result of cls(response)

Return type

<xref:service_fabric_managed_clusters_management_client.models.ManagedClusterCodeVersionResult>

Exceptions

list

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.

async list(location: str, **kwargs) -> List[azure.mgmt.servicefabricmanagedclusters.models._models_py3.ManagedClusterCodeVersionResult]

Parameters

location
str
Required

The location for the cluster code versions. This is different from cluster location.

cls
callable

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

Returns

list of ManagedClusterCodeVersionResult, or the result of cls(response)

Return type

list[<xref:service_fabric_managed_clusters_management_client.models.ManagedClusterCodeVersionResult>]

Exceptions

list_by_environment

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.

async list_by_environment(location: str, **kwargs) -> List[azure.mgmt.servicefabricmanagedclusters.models._models_py3.ManagedClusterCodeVersionResult]

Parameters

location
str
Required

The location for the cluster code versions. This is different from cluster location.

cls
callable

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

Returns

list of ManagedClusterCodeVersionResult, or the result of cls(response)

Return type

list[<xref:service_fabric_managed_clusters_management_client.models.ManagedClusterCodeVersionResult>]

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