Share via


你当前正在访问 Microsoft Azure Global Edition 技术文档网站。 如果需要访问由世纪互联运营的 Microsoft Azure 中国技术文档网站,请访问 https://docs.azure.cn

IAvailabilitySets 接口

定义

可用性集管理 API 的入口点。

public interface IAvailabilitySets : Microsoft.Azure.Management.ResourceManager.Fluent.Core.CollectionActions.ISupportsBatchCreation<Microsoft.Azure.Management.Compute.Fluent.IAvailabilitySet>, Microsoft.Azure.Management.ResourceManager.Fluent.Core.CollectionActions.ISupportsCreating<Microsoft.Azure.Management.Compute.Fluent.AvailabilitySet.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.IAvailabilitySet>, Microsoft.Azure.Management.ResourceManager.Fluent.Core.CollectionActions.ISupportsGettingByResourceGroup<Microsoft.Azure.Management.Compute.Fluent.IAvailabilitySet>, Microsoft.Azure.Management.ResourceManager.Fluent.Core.CollectionActions.ISupportsListing<Microsoft.Azure.Management.Compute.Fluent.IAvailabilitySet>, Microsoft.Azure.Management.ResourceManager.Fluent.Core.CollectionActions.ISupportsListingByResourceGroup<Microsoft.Azure.Management.Compute.Fluent.IAvailabilitySet>, Microsoft.Azure.Management.ResourceManager.Fluent.Core.IHasInner<Microsoft.Azure.Management.Compute.Fluent.IAvailabilitySetsOperations>, Microsoft.Azure.Management.ResourceManager.Fluent.Core.IHasManager<Microsoft.Azure.Management.Compute.Fluent.IComputeManager>
type IAvailabilitySets = interface
    interface ISupportsListingByResourceGroup<IAvailabilitySet>
    interface ISupportsGettingByResourceGroup<IAvailabilitySet>
    interface ISupportsGettingById<IAvailabilitySet>
    interface ISupportsListing<IAvailabilitySet>
    interface ISupportsCreating<IBlank>
    interface ISupportsDeletingById
    interface ISupportsDeletingByResourceGroup
    interface ISupportsBatchCreation<IAvailabilitySet>
    interface IHasManager<IComputeManager>
    interface IHasInner<IAvailabilitySetsOperations>
Public Interface IAvailabilitySets
Implements IHasInner(Of IAvailabilitySetsOperations), IHasManager(Of IComputeManager), ISupportsBatchCreation(Of IAvailabilitySet), ISupportsCreating(Of IBlank), ISupportsDeletingById, ISupportsDeletingByResourceGroup, ISupportsGettingById(Of IAvailabilitySet), ISupportsGettingByResourceGroup(Of IAvailabilitySet), ISupportsListing(Of IAvailabilitySet), ISupportsListingByResourceGroup(Of IAvailabilitySet)
实现

属性

Inner

可用性集管理 API 的入口点。

(继承自 IHasInner<T>)
Manager

获取此资源类型的管理器客户端类型。

(继承自 IHasManager<ManagerT>)

方法

Create(ICreatable<IFluentResourceT>[])

创建一组资源 (批处理) 。

(继承自 ISupportsBatchCreation<IFluentResourceT>)
Create(IEnumerable<ICreatable<IFluentResourceT>>)

创建一组资源 (批处理) 。

(继承自 ISupportsBatchCreation<IFluentResourceT>)
CreateAsync(IEnumerable<ICreatable<IFluentResourceT>>, CancellationToken)

创建一组资源 (批处理) 。

(继承自 ISupportsBatchCreation<IFluentResourceT>)
Define(String)

可用性集管理 API 的入口点。

(继承自 ISupportsCreating<T>)
DeleteById(String)

从 Azure 中删除资源,并按资源 ID 标识该资源。

(继承自 ISupportsDeletingById)
DeleteByIdAsync(String, CancellationToken)

从 Azure 中删除资源,并按资源 ID 标识该资源。

(继承自 ISupportsDeletingById)
DeleteByResourceGroup(String, String)

从 Azure 中删除资源,并按其名称和资源组对其进行标识。

(继承自 ISupportsDeletingByResourceGroup)
DeleteByResourceGroupAsync(String, String, CancellationToken)

从 Azure 中删除资源,并按其名称和资源组对其进行标识。

(继承自 ISupportsDeletingByResourceGroup)
GetById(String)

根据资源 ID 从 Azure 获取有关资源的信息。

(继承自 ISupportsGettingById<T>)
GetByIdAsync(String, CancellationToken)

根据资源 ID 从 Azure 获取有关资源的信息。

(继承自 ISupportsGettingById<T>)
GetByResourceGroup(String, String)

根据资源名称和资源组的名称,从 Azure 获取有关资源的信息。

(继承自 ISupportsGettingByResourceGroup<T>)
GetByResourceGroupAsync(String, String, CancellationToken)

根据资源名称和资源组的名称,从 Azure 获取有关资源的信息。

(继承自 ISupportsGettingByResourceGroup<T>)
List()

列出当前所选订阅中指定类型的所有资源。

(继承自 ISupportsListing<T>)
ListAsync(Boolean, CancellationToken)

列出当前所选订阅中指定类型的所有资源。

(继承自 ISupportsListing<T>)
ListByResourceGroup(String)

列出指定资源组中指定类型的资源。

(继承自 ISupportsListingByResourceGroup<T>)
ListByResourceGroupAsync(String, Boolean, CancellationToken)

列出指定资源组中指定类型的资源。

(继承自 ISupportsListingByResourceGroup<T>)

适用于