import { PagedAsyncIterableIterator } from "@azure/core-paging" ; import { PollerLike , PollOperationState } from "@azure/core-lro" ; import { Snapshot , SnapshotsListByResourceGroupOptionalParams , SnapshotsListOptionalParams , SnapshotsCreateOrUpdateOptionalParams , SnapshotsCreateOrUpdateResponse , SnapshotUpdate , SnapshotsUpdateOptionalParams , SnapshotsUpdateResponse , SnapshotsGetOptionalParams , SnapshotsGetResponse , SnapshotsDeleteOptionalParams , GrantAccessData , SnapshotsGrantAccessOptionalParams , SnapshotsGrantAccessResponse , SnapshotsRevokeAccessOptionalParams } from "../models" ; /** Interface representing a Snapshots. */ export interface Snapshots { param resourceGroupName param options listByResourceGroup ( resourceGroupName , options ? ) : PagedAsyncIterableIterator < Snapshot > ; param options list ( options ? ) : PagedAsyncIterableIterator < Snapshot > ; param resourceGroupName param snapshotName param snapshot param options beginCreateOrUpdate ( resourceGroupName , snapshotName , snapshot , options ? ) : Promise < PollerLike < PollOperationState < SnapshotsCreateOrUpdateResponse > , SnapshotsCreateOrUpdateResponse > > ; param resourceGroupName param snapshotName param snapshot param options beginCreateOrUpdateAndWait ( resourceGroupName , snapshotName , snapshot , options ? ) : Promise < SnapshotsCreateOrUpdateResponse > ; param resourceGroupName param snapshotName param snapshot param options beginUpdate ( resourceGroupName , snapshotName , snapshot , options ? ) : Promise < PollerLike < PollOperationState < SnapshotsUpdateResponse > , SnapshotsUpdateResponse > > ; param resourceGroupName param snapshotName param snapshot param options beginUpdateAndWait ( resourceGroupName , snapshotName , snapshot , options ? ) : Promise < SnapshotsUpdateResponse > ; param resourceGroupName param snapshotName param options get ( resourceGroupName , snapshotName , options ? ) : Promise < SnapshotsGetResponse > ; param resourceGroupName param snapshotName param options beginDelete ( resourceGroupName , snapshotName , options ? ) : Promise < PollerLike < PollOperationState < void > , void > > ; param resourceGroupName param snapshotName param options beginDeleteAndWait ( resourceGroupName , snapshotName , options ? ) : Promise < void > ; param resourceGroupName param snapshotName param grantAccessData param options beginGrantAccess ( resourceGroupName , snapshotName , grantAccessData , options ? ) : Promise < PollerLike < PollOperationState < SnapshotsGrantAccessResponse > , SnapshotsGrantAccessResponse > > ; param resourceGroupName param snapshotName param grantAccessData param options beginGrantAccessAndWait ( resourceGroupName , snapshotName , grantAccessData , options ? ) : Promise < SnapshotsGrantAccessResponse > ; param resourceGroupName param snapshotName param options beginRevokeAccess ( resourceGroupName , snapshotName , options ? ) : Promise < PollerLike < PollOperationState < void > , void > > ; param resourceGroupName param snapshotName param options beginRevokeAccessAndWait ( resourceGroupName , snapshotName , options ? ) : Promise < void > ; }