CloudServiceOperatingSystemsOperations Class

Warning

DO NOT instantiate this class directly.

Instead, you should access the following operations through

ComputeManagementClient's

<xref:cloud_service_operating_systems> attribute.

Inheritance
builtins.object
CloudServiceOperatingSystemsOperations

Constructor

CloudServiceOperatingSystemsOperations(*args, **kwargs)

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) -> OSFamily

Parameters

Name Description
location
Required
str

Name of the location that the OS family pertains to. Required.

os_family_name
Required
str

Name of the OS family. Required.

Returns

Type Description

OSFamily or the result of cls(response)

Exceptions

Type Description

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) -> OSVersion

Parameters

Name Description
location
Required
str

Name of the location that the OS version pertains to. Required.

os_version_name
Required
str

Name of the OS version. Required.

Returns

Type Description

OSVersion or the result of cls(response)

Exceptions

Type Description

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[OSFamily]

Parameters

Name Description
location
Required
str

Name of the location that the OS families pertain to. Required.

Returns

Type Description

An iterator like instance of either OSFamily or the result of cls(response)

Exceptions

Type Description

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[OSVersion]

Parameters

Name Description
location
Required
str

Name of the location that the OS versions pertain to. Required.

Returns

Type Description

An iterator like instance of either OSVersion or the result of cls(response)

Exceptions

Type Description

Attributes

models

models = <module 'azure.mgmt.compute.v2021_03_01.models' from 'C:\\hostedtoolcache\\windows\\Python\\3.11.9\\x64\\Lib\\site-packages\\azure\\mgmt\\compute\\v2021_03_01\\models\\__init__.py'>