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.

Inner (Inherited from IHasInner<T>)
Manager

Gets the manager client type of this resource type.

(Inherited from IHasManager<ManagerT>)
OSType

Gets the type of operating system in the snapshot.

SizeInGB

Gets disk size in GB.

Sku

Gets the snapshot SKU type.

Source

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

Methods

GrantAccess(Int32)

Grants access to the snapshot.

GrantAccessAsync(Int32, CancellationToken)
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)
Update() (Inherited from IUpdatable<T>)

Applies to