ManagedClusterVersionsOperations Class

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

Constructor

ManagedClusterVersionsOperations(client, config, serializer, deserializer) -> None

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

list_by_os

Gets the list of Service Fabric cluster code versions available for the specified OS type.

Gets all available code versions for Service Fabric cluster resources by OS type.

list_by_os

Gets the list of Service Fabric cluster code versions available for the specified OS type.

Gets all available code versions for Service Fabric cluster resources by OS type.

list_by_os(location: str, os_type: typing.Union[str, _ForwardRef('_models.Enum23')], **kwargs: typing.Any) -> typing.List[_ForwardRef('_models.ManagedClusterVersionDetails')]

Parameters

location
str
Required

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

os_type
str or Enum23
Required

The operating system of the cluster.

cls
callable

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

Returns

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

Return type

Attributes

models

models = <module 'azure.mgmt.servicefabric.models' from 'C:\\hostedtoolcache\\windows\\Python\\3.6.8\\x64\\lib\\site-packages\\azure\\mgmt\\servicefabric\\models\\__init__.py'>