CloudServiceOperatingSystemsOperations Class
CloudServiceOperatingSystemsOperations 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.objectCloudServiceOperatingSystemsOperations
Constructor
CloudServiceOperatingSystemsOperations(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_os_family |
Gets properties of a guest operating system family that can be specified in the XML service configuration (.cscfg) for a cloud service. |
| get_os_version |
Gets properties of a guest operating system version that can be specified in the XML service configuration (.cscfg) for a cloud service. |
| list_os_families |
Gets a list of all guest operating system families available to be specified in the XML service configuration (.cscfg) for a cloud service. Use nextLink property in the response to get the next page of OS Families. Do this till nextLink is null to fetch all the OS Families. |
| list_os_versions |
Gets a list of all guest operating system versions available to be specified in the XML service configuration (.cscfg) for a cloud service. Use nextLink property in the response to get the next page of OS versions. Do this till nextLink is null to fetch all the OS versions. |
get_os_family
Gets properties of a guest operating system family that can be specified in the XML service configuration (.cscfg) for a cloud service.
async get_os_family(location: str, os_family_name: str, **kwargs: Any) -> azure.mgmt.compute.v2021_03_01.models._models_py3.OSFamily
Parameters
- cls
- callable
A custom type or function that will be passed the direct response
Returns
OSFamily, or the result of cls(response)
Return type
Exceptions
get_os_version
Gets properties of a guest operating system version that can be specified in the XML service configuration (.cscfg) for a cloud service.
async get_os_version(location: str, os_version_name: str, **kwargs: Any) -> azure.mgmt.compute.v2021_03_01.models._models_py3.OSVersion
Parameters
- cls
- callable
A custom type or function that will be passed the direct response
Returns
OSVersion, or the result of cls(response)
Return type
Exceptions
list_os_families
Gets a list of all guest operating system families available to be specified in the XML service configuration (.cscfg) for a cloud service. Use nextLink property in the response to get the next page of OS Families. Do this till nextLink is null to fetch all the OS Families.
list_os_families(location: str, **kwargs: Any) -> AsyncIterable[azure.mgmt.compute.v2021_03_01.models._models_py3.OSFamilyListResult]
Parameters
- cls
- callable
A custom type or function that will be passed the direct response
Returns
An iterator like instance of either OSFamilyListResult or the result of cls(response)
Return type
Exceptions
list_os_versions
Gets a list of all guest operating system versions available to be specified in the XML service configuration (.cscfg) for a cloud service. Use nextLink property in the response to get the next page of OS versions. Do this till nextLink is null to fetch all the OS versions.
list_os_versions(location: str, **kwargs: Any) -> AsyncIterable[azure.mgmt.compute.v2021_03_01.models._models_py3.OSVersionListResult]
Parameters
- cls
- callable
A custom type or function that will be passed the direct response
Returns
An iterator like instance of either OSVersionListResult or the result of cls(response)
Return type
Exceptions
Attributes
models
models = <module 'azure.mgmt.compute.v2021_03_01.models' from 'C:\\hostedtoolcache\\windows\\Python\\3.9.13\\x64\\lib\\site-packages\\azure\\mgmt\\compute\\v2021_03_01\\models\\__init__.py'>
Feedback
Submit and view feedback for