CloudServiceOperatingSystems interface
Interface representing a CloudServiceOperatingSystems.
Methods
get |
Gets properties of a guest operating system family that can be specified in the XML service configuration (.cscfg) for a cloud service. |
get |
Gets properties of a guest operating system version that can be specified in the XML service configuration (.cscfg) for a cloud service. |
list |
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 |
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. |
Method Details
getOSFamily(string, string, CloudServiceOperatingSystemsGetOSFamilyOptionalParams)
Gets properties of a guest operating system family that can be specified in the XML service configuration (.cscfg) for a cloud service.
function getOSFamily(location: string, osFamilyName: string, options?: CloudServiceOperatingSystemsGetOSFamilyOptionalParams): Promise<OSFamily>
Parameters
- location
-
string
Name of the location that the OS family pertains to.
- osFamilyName
-
string
Name of the OS family.
The options parameters.
Returns
Promise<OSFamily>
getOSVersion(string, string, CloudServiceOperatingSystemsGetOSVersionOptionalParams)
Gets properties of a guest operating system version that can be specified in the XML service configuration (.cscfg) for a cloud service.
function getOSVersion(location: string, osVersionName: string, options?: CloudServiceOperatingSystemsGetOSVersionOptionalParams): Promise<OSVersion>
Parameters
- location
-
string
Name of the location that the OS version pertains to.
- osVersionName
-
string
Name of the OS version.
The options parameters.
Returns
Promise<OSVersion>
listOSFamilies(string, CloudServiceOperatingSystemsListOSFamiliesOptionalParams)
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.
function listOSFamilies(location: string, options?: CloudServiceOperatingSystemsListOSFamiliesOptionalParams): PagedAsyncIterableIterator<OSFamily, OSFamily[], PageSettings>
Parameters
- location
-
string
Name of the location that the OS families pertain to.
The options parameters.
Returns
listOSVersions(string, CloudServiceOperatingSystemsListOSVersionsOptionalParams)
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.
function listOSVersions(location: string, options?: CloudServiceOperatingSystemsListOSVersionsOptionalParams): PagedAsyncIterableIterator<OSVersion, OSVersion[], PageSettings>
Parameters
- location
-
string
Name of the location that the OS versions pertain to.
The options parameters.