共用方式為


IDisks Interface

Definition

Entry point to managed disk management API in Azure.

public interface IDisks : Microsoft.Azure.Management.Compute.Fluent.IDisksBeta, Microsoft.Azure.Management.ResourceManager.Fluent.Core.CollectionActions.ISupportsBatchCreation<Microsoft.Azure.Management.Compute.Fluent.IDisk>, Microsoft.Azure.Management.ResourceManager.Fluent.Core.CollectionActions.ISupportsBatchDeletion, Microsoft.Azure.Management.ResourceManager.Fluent.Core.CollectionActions.ISupportsCreating<Microsoft.Azure.Management.Compute.Fluent.Disk.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.IDisk>, Microsoft.Azure.Management.ResourceManager.Fluent.Core.CollectionActions.ISupportsGettingByResourceGroup<Microsoft.Azure.Management.Compute.Fluent.IDisk>, Microsoft.Azure.Management.ResourceManager.Fluent.Core.CollectionActions.ISupportsListing<Microsoft.Azure.Management.Compute.Fluent.IDisk>, Microsoft.Azure.Management.ResourceManager.Fluent.Core.CollectionActions.ISupportsListingByResourceGroup<Microsoft.Azure.Management.Compute.Fluent.IDisk>, Microsoft.Azure.Management.ResourceManager.Fluent.Core.IHasInner<Microsoft.Azure.Management.Compute.Fluent.IDisksOperations>, Microsoft.Azure.Management.ResourceManager.Fluent.Core.IHasManager<Microsoft.Azure.Management.Compute.Fluent.IComputeManager>
type IDisks = interface
    interface ISupportsCreating<IBlank>
    interface ISupportsListing<IDisk>
    interface ISupportsListingByResourceGroup<IDisk>
    interface ISupportsGettingByResourceGroup<IDisk>
    interface ISupportsGettingById<IDisk>
    interface ISupportsDeletingById
    interface ISupportsDeletingByResourceGroup
    interface ISupportsBatchCreation<IDisk>
    interface ISupportsBatchDeletion
    interface IBeta
    interface IHasManager<IComputeManager>
    interface IHasInner<IDisksOperations>
    interface IDisksBeta
Public Interface IDisks
Implements IDisksBeta, IHasInner(Of IDisksOperations), IHasManager(Of IComputeManager), ISupportsBatchCreation(Of IDisk), ISupportsBatchDeletion, ISupportsCreating(Of IBlank), ISupportsDeletingById, ISupportsDeletingByResourceGroup, ISupportsGettingById(Of IDisk), ISupportsGettingByResourceGroup(Of IDisk), ISupportsListing(Of IDisk), ISupportsListingByResourceGroup(Of IDisk)
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 disk.

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

Grants access to the disk asynchronously.

(Inherited from IDisksBeta)
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 disk.

RevokeAccessAsync(String, String, CancellationToken)

Revoke access granted to the snapshot asynchronously.

(Inherited from IDisksBeta)

Applies to