@azure/arm-compute
Version:
A generated SDK for ComputeManagementClient.
80 lines • 4.95 kB
TypeScript
import type { PagedAsyncIterableIterator } from "@azure/core-paging";
import type { CloudServiceOperatingSystems } from "../operationsInterfaces/index.js";
import type { ComputeManagementClient } from "../computeManagementClient.js";
import type { OSVersion, CloudServiceOperatingSystemsListOSVersionsOptionalParams, OSFamily, CloudServiceOperatingSystemsListOSFamiliesOptionalParams, CloudServiceOperatingSystemsGetOSVersionOptionalParams, CloudServiceOperatingSystemsGetOSVersionResponse, CloudServiceOperatingSystemsGetOSFamilyOptionalParams, CloudServiceOperatingSystemsGetOSFamilyResponse } from "../models/index.js";
/** Class containing CloudServiceOperatingSystems operations. */
export declare class CloudServiceOperatingSystemsImpl implements CloudServiceOperatingSystems {
private readonly client;
/**
* Initialize a new instance of the class CloudServiceOperatingSystems class.
* @param client Reference to the service client
*/
constructor(client: ComputeManagementClient);
/**
* 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.
* @param location Name of the location that the OS versions pertain to.
* @param options The options parameters.
*/
listOSVersions(location: string, options?: CloudServiceOperatingSystemsListOSVersionsOptionalParams): PagedAsyncIterableIterator<OSVersion>;
private listOSVersionsPagingPage;
private listOSVersionsPagingAll;
/**
* 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.
* @param location Name of the location that the OS families pertain to.
* @param options The options parameters.
*/
listOSFamilies(location: string, options?: CloudServiceOperatingSystemsListOSFamiliesOptionalParams): PagedAsyncIterableIterator<OSFamily>;
private listOSFamiliesPagingPage;
private listOSFamiliesPagingAll;
/**
* Gets properties of a guest operating system version that can be specified in the XML service
* configuration (.cscfg) for a cloud service.
* @param location Name of the location that the OS version pertains to.
* @param osVersionName Name of the OS version.
* @param options The options parameters.
*/
getOSVersion(location: string, osVersionName: string, options?: CloudServiceOperatingSystemsGetOSVersionOptionalParams): Promise<CloudServiceOperatingSystemsGetOSVersionResponse>;
/**
* 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.
* @param location Name of the location that the OS versions pertain to.
* @param options The options parameters.
*/
private _listOSVersions;
/**
* Gets properties of a guest operating system family that can be specified in the XML service
* configuration (.cscfg) for a cloud service.
* @param location Name of the location that the OS family pertains to.
* @param osFamilyName Name of the OS family.
* @param options The options parameters.
*/
getOSFamily(location: string, osFamilyName: string, options?: CloudServiceOperatingSystemsGetOSFamilyOptionalParams): Promise<CloudServiceOperatingSystemsGetOSFamilyResponse>;
/**
* 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.
* @param location Name of the location that the OS families pertain to.
* @param options The options parameters.
*/
private _listOSFamilies;
/**
* ListOSVersionsNext
* @param location Name of the location that the OS versions pertain to.
* @param nextLink The nextLink from the previous successful call to the ListOSVersions method.
* @param options The options parameters.
*/
private _listOSVersionsNext;
/**
* ListOSFamiliesNext
* @param location Name of the location that the OS families pertain to.
* @param nextLink The nextLink from the previous successful call to the ListOSFamilies method.
* @param options The options parameters.
*/
private _listOSFamiliesNext;
}
//# sourceMappingURL=cloudServiceOperatingSystems.d.ts.map