import { PagedAsyncIterableIterator } from "@azure/core-paging" ; import { PollerLike , PollOperationState } from "@azure/core-lro" ; import { Disk , DisksListByResourceGroupOptionalParams , DisksListOptionalParams , DisksCreateOrUpdateOptionalParams , DisksCreateOrUpdateResponse , DiskUpdate , DisksUpdateOptionalParams , DisksUpdateResponse , DisksGetOptionalParams , DisksGetResponse , DisksDeleteOptionalParams , GrantAccessData , DisksGrantAccessOptionalParams , DisksGrantAccessResponse , DisksRevokeAccessOptionalParams } from "../models" ; /** Interface representing a Disks. */ export interface Disks { param resourceGroupName param options listByResourceGroup ( resourceGroupName , options ? ) : PagedAsyncIterableIterator < Disk > ; param options list ( options ? ) : PagedAsyncIterableIterator < Disk > ; param resourceGroupName param diskName param disk param options beginCreateOrUpdate ( resourceGroupName , diskName , disk , options ? ) : Promise < PollerLike < PollOperationState < DisksCreateOrUpdateResponse > , DisksCreateOrUpdateResponse > > ; param resourceGroupName param diskName param disk param options beginCreateOrUpdateAndWait ( resourceGroupName , diskName , disk , options ? ) : Promise < DisksCreateOrUpdateResponse > ; param resourceGroupName param diskName param disk param options beginUpdate ( resourceGroupName , diskName , disk , options ? ) : Promise < PollerLike < PollOperationState < DisksUpdateResponse > , DisksUpdateResponse > > ; param resourceGroupName param diskName param disk param options beginUpdateAndWait ( resourceGroupName , diskName , disk , options ? ) : Promise < DisksUpdateResponse > ; param resourceGroupName param diskName param options get ( resourceGroupName , diskName , options ? ) : Promise < DisksGetResponse > ; param resourceGroupName param diskName param options beginDelete ( resourceGroupName , diskName , options ? ) : Promise < PollerLike < PollOperationState < void > , void > > ; param resourceGroupName param diskName param options beginDeleteAndWait ( resourceGroupName , diskName , options ? ) : Promise < void > ; param resourceGroupName param diskName param grantAccessData param options beginGrantAccess ( resourceGroupName , diskName , grantAccessData , options ? ) : Promise < PollerLike < PollOperationState < DisksGrantAccessResponse > , DisksGrantAccessResponse > > ; param resourceGroupName param diskName param grantAccessData param options beginGrantAccessAndWait ( resourceGroupName , diskName , grantAccessData , options ? ) : Promise < DisksGrantAccessResponse > ; param resourceGroupName param diskName param options beginRevokeAccess ( resourceGroupName , diskName , options ? ) : Promise < PollerLike < PollOperationState < void > , void > > ; param resourceGroupName param diskName param options beginRevokeAccessAndWait ( resourceGroupName , diskName , options ? ) : Promise < void > ; }