import { PagedAsyncIterableIterator } from "@azure/core-paging" ; import { PollerLike , PollOperationState } from "@azure/core-lro" ; import { RoleInstance , CloudServiceRoleInstancesListOptionalParams , CloudServiceRoleInstancesDeleteOptionalParams , CloudServiceRoleInstancesGetOptionalParams , CloudServiceRoleInstancesGetResponse , CloudServiceRoleInstancesGetInstanceViewOptionalParams , CloudServiceRoleInstancesGetInstanceViewResponse , CloudServiceRoleInstancesRestartOptionalParams , CloudServiceRoleInstancesReimageOptionalParams , CloudServiceRoleInstancesRebuildOptionalParams , CloudServiceRoleInstancesGetRemoteDesktopFileOptionalParams , CloudServiceRoleInstancesGetRemoteDesktopFileResponse } from "../models" ; /** Interface representing a CloudServiceRoleInstances. */ export interface CloudServiceRoleInstances { param resourceGroupName param cloudServiceName param options list ( resourceGroupName , cloudServiceName , options ? ) : PagedAsyncIterableIterator < RoleInstance > ; param roleInstanceName param resourceGroupName param cloudServiceName param options beginDelete ( roleInstanceName , resourceGroupName , cloudServiceName , options ? ) : Promise < PollerLike < PollOperationState < void > , void > > ; param roleInstanceName param resourceGroupName param cloudServiceName param options beginDeleteAndWait ( roleInstanceName , resourceGroupName , cloudServiceName , options ? ) : Promise < void > ; param roleInstanceName param resourceGroupName param cloudServiceName param options get ( roleInstanceName , resourceGroupName , cloudServiceName , options ? ) : Promise < CloudServiceRoleInstancesGetResponse > ; param roleInstanceName param resourceGroupName param cloudServiceName param options getInstanceView ( roleInstanceName , resourceGroupName , cloudServiceName , options ? ) : Promise < CloudServiceRoleInstancesGetInstanceViewResponse > ; param roleInstanceName param resourceGroupName param cloudServiceName param options beginRestart ( roleInstanceName , resourceGroupName , cloudServiceName , options ? ) : Promise < PollerLike < PollOperationState < void > , void > > ; param roleInstanceName param resourceGroupName param cloudServiceName param options beginRestartAndWait ( roleInstanceName , resourceGroupName , cloudServiceName , options ? ) : Promise < void > ; param roleInstanceName param resourceGroupName param cloudServiceName param options beginReimage ( roleInstanceName , resourceGroupName , cloudServiceName , options ? ) : Promise < PollerLike < PollOperationState < void > , void > > ; param roleInstanceName param resourceGroupName param cloudServiceName param options beginReimageAndWait ( roleInstanceName , resourceGroupName , cloudServiceName , options ? ) : Promise < void > ; param roleInstanceName param resourceGroupName param cloudServiceName param options beginRebuild ( roleInstanceName , resourceGroupName , cloudServiceName , options ? ) : Promise < PollerLike < PollOperationState < void > , void > > ; param roleInstanceName param resourceGroupName param cloudServiceName param options beginRebuildAndWait ( roleInstanceName , resourceGroupName , cloudServiceName , options ? ) : Promise < void > ; param roleInstanceName param resourceGroupName param cloudServiceName param options getRemoteDesktopFile ( roleInstanceName , resourceGroupName , cloudServiceName , options ? ) : Promise < CloudServiceRoleInstancesGetRemoteDesktopFileResponse > ; }