@azure/arm-compute
Version:
A generated SDK for ComputeManagementClient.
22 lines • 1.31 kB
TypeScript
import type { PagedAsyncIterableIterator } from "@azure/core-paging";
import type { CloudServiceRole, CloudServiceRolesListOptionalParams, CloudServiceRolesGetOptionalParams, CloudServiceRolesGetResponse } from "../models/index.js";
/** Interface representing a CloudServiceRoles. */
export interface CloudServiceRoles {
/**
* Gets a list of all roles in a cloud service. Use nextLink property in the response to get the next
* page of roles. Do this till nextLink is null to fetch all the roles.
* @param resourceGroupName Name of the resource group.
* @param cloudServiceName Name of the cloud service.
* @param options The options parameters.
*/
list(resourceGroupName: string, cloudServiceName: string, options?: CloudServiceRolesListOptionalParams): PagedAsyncIterableIterator<CloudServiceRole>;
/**
* Gets a role from a cloud service.
* @param roleName Name of the role.
* @param resourceGroupName Name of the resource group.
* @param cloudServiceName Name of the cloud service.
* @param options The options parameters.
*/
get(roleName: string, resourceGroupName: string, cloudServiceName: string, options?: CloudServiceRolesGetOptionalParams): Promise<CloudServiceRolesGetResponse>;
}
//# sourceMappingURL=cloudServiceRoles.d.ts.map