다음을 통해 공유


ISnapshot Interface

Definition

An immutable client-side representation of an Azure managed snapshot.

public interface ISnapshot : Microsoft.Azure.Management.ResourceManager.Fluent.Core.IGroupableResource<Microsoft.Azure.Management.Compute.Fluent.IComputeManager,Microsoft.Azure.Management.Compute.Fluent.Models.SnapshotInner>, Microsoft.Azure.Management.ResourceManager.Fluent.Core.IHasInner<Microsoft.Azure.Management.Compute.Fluent.Models.SnapshotInner>, Microsoft.Azure.Management.ResourceManager.Fluent.Core.IHasManager<Microsoft.Azure.Management.Compute.Fluent.IComputeManager>, Microsoft.Azure.Management.ResourceManager.Fluent.Core.ResourceActions.IRefreshable<Microsoft.Azure.Management.Compute.Fluent.ISnapshot>, Microsoft.Azure.Management.ResourceManager.Fluent.Core.ResourceActions.IUpdatable<Microsoft.Azure.Management.Compute.Fluent.Snapshot.Update.IUpdate>
type ISnapshot = interface
    interface IGroupableResource<IComputeManager, SnapshotInner>
    interface IResource
    interface IIndexable
    interface IHasId
    interface IHasName
    interface IHasResourceGroup
    interface IHasManager<IComputeManager>
    interface IHasInner<SnapshotInner>
    interface IRefreshable<ISnapshot>
    interface IUpdatable<IUpdate>
Public Interface ISnapshot
Implements IGroupableResource(Of IComputeManager, SnapshotInner), IHasInner(Of SnapshotInner), IHasManager(Of IComputeManager), IRefreshable(Of ISnapshot), IUpdatable(Of IUpdate)
Implements

Properties

CreationMethod

Gets the snapshot creation method.

Id

Gets the resource id string

(Inherited from IHasId)
Incremental

Gets or sets whether a snapshot is incremental. Incremental snapshots on the same disk occupy less space than full snapshots and can be diffed.

Inner (Inherited from IHasInner<T>)
Key (Inherited from IIndexable)
Manager

Gets the manager client type of this resource type.

(Inherited from IHasManager<ManagerT>)
Name

Gets the name of the resource

(Inherited from IHasName)
OSType

Gets the type of operating system in the snapshot.

Region (Inherited from IResource)
RegionName (Inherited from IResource)
ResourceGroupName (Inherited from IHasResourceGroup)
SizeInGB

Gets disk size in GB.

Sku

Gets use Snapshot.skuType() instead.

SkuType

Gets the snapshot SKU type.

Source

Gets the details of the source from which snapshot is created.

Tags (Inherited from IResource)
Type (Inherited from IResource)

Methods

GrantAccess(Int32)

Grants access to the snapshot.

GrantAccessAsync(Int32, CancellationToken)

Grants access to the snapshot asynchronously.

Refresh()

Refreshes the resource to sync with Azure.

(Inherited from IRefreshable<T>)
RefreshAsync(CancellationToken)

Refreshes the resource to sync with Azure.

(Inherited from IRefreshable<T>)
RevokeAccess()

Revoke access granted to the snapshot.

RevokeAccessAsync(CancellationToken)

Revoke access granted to the snapshot asynchronously.

Update() (Inherited from IUpdatable<T>)

Applies to