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

ServiceFabricClusterCollection 类

定义

一个表示 集合及其操作的 ServiceFabricClusterResource 类。 ServiceFabricClusterResource集合中的每个都将属于 的同一ResourceGroupResource实例。 若要获取 ServiceFabricClusterCollection 实例,请从 实例 ResourceGroupResource调用 GetServiceFabricClusters 方法。

public class ServiceFabricClusterCollection : Azure.ResourceManager.ArmCollection, System.Collections.Generic.IAsyncEnumerable<Azure.ResourceManager.ServiceFabric.ServiceFabricClusterResource>, System.Collections.Generic.IEnumerable<Azure.ResourceManager.ServiceFabric.ServiceFabricClusterResource>
type ServiceFabricClusterCollection = class
    inherit ArmCollection
    interface seq<ServiceFabricClusterResource>
    interface IEnumerable
    interface IAsyncEnumerable<ServiceFabricClusterResource>
Public Class ServiceFabricClusterCollection
Inherits ArmCollection
Implements IAsyncEnumerable(Of ServiceFabricClusterResource), IEnumerable(Of ServiceFabricClusterResource)
继承
ServiceFabricClusterCollection
实现

构造函数

ServiceFabricClusterCollection()

初始化 类的新实例 ServiceFabricClusterCollection 进行模拟。

属性

Client

获取 ArmClient 创建自的此资源客户端。

(继承自 ArmCollection)
Diagnostics

获取此资源客户端的诊断选项。

(继承自 ArmCollection)
Endpoint

获取此资源客户端的基 URI。

(继承自 ArmCollection)
Id

获取资源标识符。

(继承自 ArmCollection)
Pipeline

获取此资源客户端的管道。

(继承自 ArmCollection)

方法

CreateOrUpdate(WaitUntil, String, ServiceFabricClusterData, CancellationToken)

创建或更新具有指定名称的 Service Fabric 群集资源。

  • 请求路径/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.ServiceFabric/clusters/{clusterName}
  • 操作IdClusters_CreateOrUpdate
CreateOrUpdateAsync(WaitUntil, String, ServiceFabricClusterData, CancellationToken)

创建或更新具有指定名称的 Service Fabric 群集资源。

  • 请求路径/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.ServiceFabric/clusters/{clusterName}
  • 操作IdClusters_CreateOrUpdate
Exists(String, CancellationToken)

检查 Azure 中是否存在资源。

  • 请求路径/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.ServiceFabric/clusters/{clusterName}
  • 操作IdClusters_Get
ExistsAsync(String, CancellationToken)

检查 Azure 中是否存在资源。

  • 请求路径/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.ServiceFabric/clusters/{clusterName}
  • 操作IdClusters_Get
Get(String, CancellationToken)

获取在指定资源组中创建或正在创建过程中的 Service Fabric 群集资源。

  • 请求路径/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.ServiceFabric/clusters/{clusterName}
  • 操作IdClusters_Get
GetAll(CancellationToken)

获取在资源组中创建或正在创建过程中的所有 Service Fabric 群集资源。

  • 请求路径/subscriptions/{subscriptionId}/resourcegroups/{resourceGroupName}/providers/Microsoft.ServiceFabric/clusters
  • 操作IdClusters_ListByResourceGroup
GetAllAsync(CancellationToken)

获取在资源组中创建或正在创建过程中的所有 Service Fabric 群集资源。

  • 请求路径/subscriptions/{subscriptionId}/resourcegroups/{resourceGroupName}/providers/Microsoft.ServiceFabric/clusters
  • 操作IdClusters_ListByResourceGroup
GetAsync(String, CancellationToken)

获取在指定资源组中创建或正在创建过程中的 Service Fabric 群集资源。

  • 请求路径/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.ServiceFabric/clusters/{clusterName}
  • 操作IdClusters_Get
TryGetApiVersion(ResourceType, String)

获取 API 版本替代(如果已为当前客户端选项设置)。

(继承自 ArmCollection)

显式接口实现

IAsyncEnumerable<ServiceFabricClusterResource>.GetAsyncEnumerator(CancellationToken)

返回一个异步循环访问集合的枚举器。

IEnumerable.GetEnumerator()

返回循环访问集合的枚举数。

IEnumerable<ServiceFabricClusterResource>.GetEnumerator()

返回一个循环访问集合的枚举器。

适用于