ManagedClusterVersionOperations Class
ManagedClusterVersionOperations 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.objectManagedClusterVersionOperations
Constructor
ManagedClusterVersionOperations(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
| 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.
get(location: str, cluster_version: str, **kwargs: Any) -> _models.ManagedClusterCodeVersionResult
Parameters
- location
- str
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
ManagedClusterCodeVersionResult, or the result of cls(response)
Return type
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.
get_by_environment(location: str, cluster_version: str, **kwargs: Any) -> _models.ManagedClusterCodeVersionResult
Parameters
- location
- str
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
ManagedClusterCodeVersionResult, or the result of cls(response)
Return type
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.
list(location: str, **kwargs: Any) -> List[_models.ManagedClusterCodeVersionResult]
Parameters
- location
- str
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
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.
list_by_environment(location: str, **kwargs: Any) -> List[_models.ManagedClusterCodeVersionResult]
Parameters
- location
- str
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
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