共用方式為


ISnapshots Interface

Definition

Entry point to managed snapshot management API in Azure.

public interface ISnapshots : Microsoft.Azure.Management.Compute.Fluent.ISnapshotsBeta, Microsoft.Azure.Management.ResourceManager.Fluent.Core.CollectionActions.ISupportsBatchCreation<Microsoft.Azure.Management.Compute.Fluent.ISnapshot>, Microsoft.Azure.Management.ResourceManager.Fluent.Core.CollectionActions.ISupportsBatchDeletion, Microsoft.Azure.Management.ResourceManager.Fluent.Core.CollectionActions.ISupportsCreating<Microsoft.Azure.Management.Compute.Fluent.Snapshot.Definition.IBlank>, Microsoft.Azure.Management.ResourceManager.Fluent.Core.CollectionActions.ISupportsDeletingById, Microsoft.Azure.Management.ResourceManager.Fluent.Core.CollectionActions.ISupportsDeletingByResourceGroup, Microsoft.Azure.Management.ResourceManager.Fluent.Core.CollectionActions.ISupportsGettingById<Microsoft.Azure.Management.Compute.Fluent.ISnapshot>, Microsoft.Azure.Management.ResourceManager.Fluent.Core.CollectionActions.ISupportsGettingByResourceGroup<Microsoft.Azure.Management.Compute.Fluent.ISnapshot>, Microsoft.Azure.Management.ResourceManager.Fluent.Core.CollectionActions.ISupportsListing<Microsoft.Azure.Management.Compute.Fluent.ISnapshot>, Microsoft.Azure.Management.ResourceManager.Fluent.Core.CollectionActions.ISupportsListingByResourceGroup<Microsoft.Azure.Management.Compute.Fluent.ISnapshot>, Microsoft.Azure.Management.ResourceManager.Fluent.Core.IHasInner<Microsoft.Azure.Management.Compute.Fluent.ISnapshotsOperations>, Microsoft.Azure.Management.ResourceManager.Fluent.Core.IHasManager<Microsoft.Azure.Management.Compute.Fluent.IComputeManager>
type ISnapshots = interface
    interface ISupportsCreating<IBlank>
    interface ISupportsListing<ISnapshot>
    interface ISupportsListingByResourceGroup<ISnapshot>
    interface ISupportsGettingByResourceGroup<ISnapshot>
    interface ISupportsGettingById<ISnapshot>
    interface ISupportsDeletingById
    interface ISupportsDeletingByResourceGroup
    interface ISupportsBatchCreation<ISnapshot>
    interface ISupportsBatchDeletion
    interface IBeta
    interface IHasManager<IComputeManager>
    interface IHasInner<ISnapshotsOperations>
    interface ISnapshotsBeta
Public Interface ISnapshots
Implements IHasInner(Of ISnapshotsOperations), IHasManager(Of IComputeManager), ISnapshotsBeta, ISupportsBatchCreation(Of ISnapshot), ISupportsBatchDeletion, ISupportsCreating(Of IBlank), ISupportsDeletingById, ISupportsDeletingByResourceGroup, ISupportsGettingById(Of ISnapshot), ISupportsGettingByResourceGroup(Of ISnapshot), ISupportsListing(Of ISnapshot), ISupportsListingByResourceGroup(Of ISnapshot)
Implements

Properties

Inner (Inherited from IHasInner<T>)
Manager

Gets the manager client type of this resource type.

(Inherited from IHasManager<ManagerT>)

Methods

Create(ICreatable<IFluentResourceT>[])

Creates a set (batch) of resources.

(Inherited from ISupportsBatchCreation<IFluentResourceT>)
Create(IEnumerable<ICreatable<IFluentResourceT>>)

Creates a set (batch) of resources.

(Inherited from ISupportsBatchCreation<IFluentResourceT>)
CreateAsync(IEnumerable<ICreatable<IFluentResourceT>>, CancellationToken)

Creates a set (batch) of resources.

(Inherited from ISupportsBatchCreation<IFluentResourceT>)
Define(String) (Inherited from ISupportsCreating<T>)
DeleteById(String)

Deletes a resource from Azure, identifying it by its resource ID.

(Inherited from ISupportsDeletingById)
DeleteByIdAsync(String, CancellationToken)

Deletes a resource from Azure, identifying it by its resource ID.

(Inherited from ISupportsDeletingById)
DeleteByIds(IList<String>)

Deletes the specified resources from Azure.

(Inherited from ISupportsBatchDeletion)
DeleteByIds(String[])

Deletes the specified resources from Azure.

(Inherited from ISupportsBatchDeletion)
DeleteByIdsAsync(IList<String>, CancellationToken)

Deletes the specified resources from Azure asynchronously and in parallel.

(Inherited from ISupportsBatchDeletion)
DeleteByIdsAsync(String[], CancellationToken)

Deletes the specified resources from Azure asynchronously and in parallel.

(Inherited from ISupportsBatchDeletion)
DeleteByResourceGroup(String, String)

Deletes a resource from Azure, identifying it by its name and its resource group.

(Inherited from ISupportsDeletingByResourceGroup)
DeleteByResourceGroupAsync(String, String, CancellationToken)

Deletes a resource from Azure, identifying it by its name and its resource group.

(Inherited from ISupportsDeletingByResourceGroup)
GetById(String)

Gets the information about a resource from Azure based on the resource id.

(Inherited from ISupportsGettingById<T>)
GetByIdAsync(String, CancellationToken)

Gets the information about a resource from Azure based on the resource id.

(Inherited from ISupportsGettingById<T>)
GetByResourceGroup(String, String)

Gets the information about a resource from Azure based on the resource name and the name of its resource group.

(Inherited from ISupportsGettingByResourceGroup<T>)
GetByResourceGroupAsync(String, String, CancellationToken)

Gets the information about a resource from Azure based on the resource name and the name of its resource group.

(Inherited from ISupportsGettingByResourceGroup<T>)
GrantAccess(String, String, AccessLevel, Int32)

Grants access to a snapshot.

GrantAccessAsync(String, String, AccessLevel, Int32, CancellationToken)

Grants access to the snapshot asynchronously.

(Inherited from ISnapshotsBeta)
List()

Lists all the resources of the specified type in the currently selected subscription.

(Inherited from ISupportsListing<T>)
ListAsync(Boolean, CancellationToken)

Lists all the resources of the specified type in the currently selected subscription.

(Inherited from ISupportsListing<T>)
ListByResourceGroup(String)

Lists resources of the specified type in the specified resource group.

(Inherited from ISupportsListingByResourceGroup<T>)
ListByResourceGroupAsync(String, Boolean, CancellationToken)

Lists resources of the specified type in the specified resource group.

(Inherited from ISupportsListingByResourceGroup<T>)
RevokeAccess(String, String)

Revoke access granted to a snapshot.

RevokeAccessAsync(String, String, CancellationToken)

Revoke access granted to the snapshot asynchronously.

(Inherited from ISnapshotsBeta)

Applies to