Snapshots 接口
定义
Entry point to managed snapshot management API in Azure.
public interface Snapshots extends SupportsCreating<Snapshot.DefinitionStages.Blank>,SupportsListing<Snapshot>,SupportsListingByResourceGroup<Snapshot>,SupportsGettingByResourceGroup<Snapshot>,SupportsGettingById<Snapshot>,SupportsDeletingById,SupportsDeletingByResourceGroup,SupportsBatchCreation<Snapshot>,SupportsBatchDeletion,HasManager<ComputeManager>,HasInner<SnapshotsInner>
继承成员
SupportsBatchCreation<ResourceT>.create(Creatable<ResourceT>... creatables)
SupportsBatchCreation<ResourceT>.create(List<Creatable<ResourceT>> creatables)
SupportsBatchCreation<ResourceT>.createAsync(Creatable<ResourceT>... creatables)
SupportsBatchCreation<ResourceT>.createAsync(List<Creatable<ResourceT>> creatables)
SupportsBatchCreation<ResourceT>.createAsync(ServiceCallback<CreatedResources<ResourceT>> callback, Creatable<ResourceT>... creatables)
SupportsBatchCreation<ResourceT>.createAsync(final ServiceCallback<CreatedResources<ResourceT>> callback, List<Creatable<ResourceT>> creatables)
SupportsCreating<T>.define(String name)
SupportsDeletingById.deleteById(String id)
SupportsDeletingById.deleteByIdAsync(String id, ServiceCallback<Void> callback)
SupportsDeletingById.deleteByIdAsync(String id)
SupportsBatchDeletion.deleteByIds(Collection<String> ids)
SupportsBatchDeletion.deleteByIds(String...ids)
SupportsBatchDeletion.deleteByIdsAsync(Collection<String> ids)
SupportsBatchDeletion.deleteByIdsAsync(String...ids)
SupportsDeletingByResourceGroup.deleteByResourceGroup(String resourceGroupName, String name)
SupportsDeletingByResourceGroup.deleteByResourceGroupAsync(String resourceGroupName, String name, ServiceCallback<Void> callback)
SupportsDeletingByResourceGroup.deleteByResourceGroupAsync(String resourceGroupName, String name)
SupportsGettingById<T>.getById(String id)
SupportsGettingById<T>.getByIdAsync(String id)
SupportsGettingById<T>.getByIdAsync(String id, ServiceCallback<T> callback)
SupportsGettingByResourceGroup<T>.getByResourceGroup(String resourceGroupName, String name)
SupportsGettingByResourceGroup<T>.getByResourceGroupAsync(String resourceGroupName, String name)
SupportsGettingByResourceGroup<T>.getByResourceGroupAsync(String resourceGroupName, String name, ServiceCallback<T> callback)
HasInner<T>.inner()
SupportsListing<T>.list()
SupportsListing<T>.listAsync()
SupportsListingByResourceGroup<T>.listByResourceGroup(String resourceGroupName)
SupportsListingByResourceGroup<T>.listByResourceGroupAsync(String resourceGroupName)
HasManager<ManagerT>.manager()
方法
grantAccess(String resourceGroupName, String snapshotName, AccessLevel accessLevel, int accessDuration) |
Grants access to a snapshot.
|
grantAccessAsync(String resourceGroupName, String snapshotName, AccessLevel accessLevel, int accessDuration) |
Grants access to the snapshot asynchronously.
|
grantAccessAsync(String resourceGroupName, String snapshotName, AccessLevel accessLevel, int accessDuration, ServiceCallback<String> callback) |
Grants access to the snapshot asynchronously.
|
revokeAccess(String resourceGroupName, String snapName) |
Revoke access granted to a snapshot.
|
revokeAccessAsync(String resourceGroupName, String snapName) |
Revoke access granted to the snapshot asynchronously.
|
revokeAccessAsync(String resourceGroupName, String snapName, ServiceCallback<Void> callback) |
Revoke access granted to the snapshot asynchronously.
|