public interface Snapshot extends GroupableResource<ComputeManager,SnapshotInner>, Refreshable<Snapshot>, Updatable<Snapshot.Update>
Modifier and Type | Interface and Description |
---|---|
static interface |
Snapshot.Definition
The entirety of the managed snapshot definition.
|
static interface |
Snapshot.DefinitionStages
Grouping of managed snapshot definition stages.
|
static interface |
Snapshot.Update
The template for an update operation, containing all the settings that can be modified.
|
static interface |
Snapshot.UpdateStages
Grouping of managed snapshot update stages.
|
Resource.DefinitionWithRegion<T>, Resource.DefinitionWithTags<T>, Resource.UpdateWithTags<T>
Modifier and Type | Method and Description |
---|---|
DiskCreateOption |
creationMethod() |
String |
grantAccess(int accessDurationInSeconds)
Grants access to the snapshot.
|
Mono<String> |
grantAccessAsync(int accessDurationInSeconds)
Grants access to the snapshot asynchronously.
|
boolean |
incremental() |
OperatingSystemTypes |
osType() |
void |
revokeAccess()
Revoke access granted to the snapshot.
|
Mono<Void> |
revokeAccessAsync()
Revoke access granted to the snapshot asynchronously.
|
int |
sizeInGB() |
SnapshotSkuType |
skuType() |
CreationSource |
source() |
region, regionName, tags, type
name
resourceGroupName
manager
innerModel
refresh, refreshAsync
SnapshotSkuType skuType()
boolean incremental()
DiskCreateOption creationMethod()
int sizeInGB()
OperatingSystemTypes osType()
CreationSource source()
String grantAccess(int accessDurationInSeconds)
accessDurationInSeconds
- the access duration in secondsMono<String> grantAccessAsync(int accessDurationInSeconds)
accessDurationInSeconds
- the access duration in secondsvoid revokeAccess()
Copyright © 2020 Microsoft Corporation. All rights reserved.