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

ClusterInner 类

public final class ClusterInner
extends Resource

群集表示本地网络云群集。

构造函数摘要

构造函数 说明
ClusterInner()

创建 ClusterInner 类的实例。

方法摘要

修饰符和类型 方法和描述
RackDefinition aggregatorOrSingleRackDefinition()

获取聚合器OrSingle机架定义属性:机架定义表示有关机架的详细信息。

String analyticsWorkspaceId()

获取分析工作区ID 属性:将用于存储相关日志的 Log Analytics 工作区的资源 ID。

List<ClusterAvailableUpgradeVersion> availableUpgradeVersions()

获取可用的升级版本属性:可用于此群集的群集运行时版本升级的列表。

ClusterCapacity clusterCapacity()

获取群集容量属性:群集容量表示有关计算容量的各种详细信息。

ClusterConnectionStatus clusterConnectionStatus()

获取群集连接状态属性:群集管理器与群集之间的最新检测信号状态。

ExtendedLocation clusterExtendedLocation()

获取群集扩展位置属性:扩展位置表示将在其中创建资源的 Azure 自定义位置。

String clusterLocation()

获取群集位置属性:客户提供的位置信息,用于标识群集所在的位置。

ClusterManagerConnectionStatus clusterManagerConnectionStatus()

获取群集管理器连接状态属性:群集管理器与群集之间的最新连接状态。

String clusterManagerId()

获取群集管理器ID 属性:管理此群集的群集管理器的资源 ID。

ServicePrincipalInformation clusterServicePrincipal()

获取群集服务主体属性:服务主体信息表示群集在 Arc 设备安装期间要使用的服务主体的详细信息。

ClusterType clusterType()

获取群集类型属性:群集的机架配置类型。

String clusterVersion()

获取群集版本属性:群集的当前运行时版本。

ValidationThreshold computeDeploymentThreshold()

获取计算部署阈值属性:验证阈值指示允许的计算机和节点硬件以及部署失败。

List<RackDefinition> computeRackDefinitions()

获取计算机架定义属性:多机架群集中计算机架的机架定义列表,或单机架群集中的空列表。

ClusterDetailedStatus detailedStatus()

获取详细Status 属性:群集的当前详细状态。

String detailedStatusMessage()

获取详细状态消息属性:有关详细状态的描述性消息。

ExtendedLocation extendedLocation()

获取扩展位置属性:扩展位置表示将在其中创建资源的 Azure 自定义位置。

ExtendedLocation hybridAksExtendedLocation()

获取混合Aks扩展位置属性:扩展位置表示将在其中创建资源的 Azure 自定义位置。

ManagedResourceGroupConfiguration managedResourceGroupConfiguration()

获取托管资源组配置属性:托管资源组配置表示由 Azure 管理的资源组的配置。

Long manualActionCount()

获取手动操作计数属性: (MAT) 尚未验证的事件的手动操作计数。

String networkFabricId()

获取网络FabricId 属性:与群集关联的 Network Fabric 的资源 ID。

ClusterProvisioningState provisioningState()

获取预配状态属性:群集的预配状态。

String supportExpiryDate()

获取支持到期日期属性:群集运行时版本的支持结束日期。

SystemData systemData()

获取系统数据属性:Azure 资源管理器包含“创建者”和“修改者”信息的元数据。

void validate()

验证实例。

ClusterInner withAggregatorOrSingleRackDefinition(RackDefinition aggregatorOrSingleRackDefinition)

设置聚合器OrSingle机架定义属性:机架定义表示有关机架的详细信息。

ClusterInner withAnalyticsWorkspaceId(String analyticsWorkspaceId)

设置分析工作区ID 属性:将用于存储相关日志的 Log Analytics 工作区的资源 ID。

ClusterInner withClusterLocation(String clusterLocation)

设置群集位置属性:客户提供的位置信息,用于标识群集所在的位置。

ClusterInner withClusterServicePrincipal(ServicePrincipalInformation clusterServicePrincipal)

设置群集服务主体属性:服务主体信息表示群集在 Arc 设备安装期间要使用的服务主体的详细信息。

ClusterInner withClusterType(ClusterType clusterType)

设置群集类型属性:群集的机架配置类型。

ClusterInner withClusterVersion(String clusterVersion)

设置群集版本属性:群集的当前运行时版本。

ClusterInner withComputeDeploymentThreshold(ValidationThreshold computeDeploymentThreshold)

设置计算部署阈值属性:验证阈值指示允许的计算机和节点硬件以及部署失败。

ClusterInner withComputeRackDefinitions(List<RackDefinition> computeRackDefinitions)

设置计算机架定义属性:多机架群集中计算机架的机架定义列表,或单机架群集中的空列表。

ClusterInner withExtendedLocation(ExtendedLocation extendedLocation)

设置扩展位置属性:扩展位置表示将在其中创建资源的 Azure 自定义位置。

ClusterInner withLocation(String location)
ClusterInner withManagedResourceGroupConfiguration(ManagedResourceGroupConfiguration managedResourceGroupConfiguration)

设置托管资源组配置属性:托管资源组配置表示由 Azure 管理的资源组的配置。

ClusterInner withNetworkFabricId(String networkFabricId)

设置网络结构ID 属性:与群集关联的网络结构的资源 ID。

ClusterInner withTags(Map<String,String> tags)
List<String> workloadResourceIds()

获取工作负荷资源ID 属性:此群集中托管的工作负荷资源 ID 列表。

方法继承自 ProxyResource

方法继承自 Resource

方法继承自 java.lang.Object

构造函数详细信息

ClusterInner

public ClusterInner()

创建 ClusterInner 类的实例。

方法详细信息

aggregatorOrSingleRackDefinition

public RackDefinition aggregatorOrSingleRackDefinition()

获取 aggregatorOrSingleRackDefinition 属性:RackDefinition 表示有关机架的详细信息。

旨在仅反映单个机架群集中的单个机架或多机架群集中的聚合器机架的机架定义。

Returns:

aggregatorOrSingleRackDefinition 值。

analyticsWorkspaceId

public String analyticsWorkspaceId()

获取 analyticsWorkspaceId 属性:将用于存储相关日志的 Log Analytics 工作区的资源 ID。

Returns:

analyticsWorkspaceId 值。

availableUpgradeVersions

public List availableUpgradeVersions()

获取 availableUpgradeVersions 属性:可用于此群集的群集运行时版本升级的列表。

Returns:

availableUpgradeVersions 值。

clusterCapacity

public ClusterCapacity clusterCapacity()

获取 clusterCapacity 属性:ClusterCapacity 表示有关计算容量的各种详细信息。

此群集支持的容量。

Returns:

clusterCapacity 值。

clusterConnectionStatus

public ClusterConnectionStatus clusterConnectionStatus()

获取 clusterConnectionStatus 属性:群集管理器与群集之间的最新检测信号状态。

Returns:

clusterConnectionStatus 值。

clusterExtendedLocation

public ExtendedLocation clusterExtendedLocation()

获取 clusterExtendedLocation 属性:ExtendedLocation 表示将在其中创建资源的 Azure 自定义位置。

扩展位置 (表示群集控制平面位置的自定义位置) 。 此扩展位置用于路由由平台操作员处理的群集子对象的请求。

Returns:

clusterExtendedLocation 值。

clusterLocation

public String clusterLocation()

获取 clusterLocation 属性:客户提供的位置信息,用于标识群集所在的位置。

Returns:

clusterLocation 值。

clusterManagerConnectionStatus

public ClusterManagerConnectionStatus clusterManagerConnectionStatus()

获取 clusterManagerConnectionStatus 属性:群集管理器与群集之间的最新连接状态。

Returns:

clusterManagerConnectionStatus 值。

clusterManagerId

public String clusterManagerId()

获取 clusterManagerId 属性:管理此群集的群集管理器的资源 ID。 这是在创建群集时由群集管理器设置的。

Returns:

clusterManagerId 值。

clusterServicePrincipal

public ServicePrincipalInformation clusterServicePrincipal()

获取 clusterServicePrincipal 属性:ServicePrincipalInformation 表示群集在 Arc 设备安装期间要使用的服务主体的详细信息。

群集在 Arc 设备安装期间要使用的服务主体。

Returns:

clusterServicePrincipal 值。

clusterType

public ClusterType clusterType()

获取 clusterType 属性:群集的机架配置类型。

Returns:

clusterType 值。

clusterVersion

public String clusterVersion()

获取 clusterVersion 属性:群集的当前运行时版本。

Returns:

clusterVersion 值。

computeDeploymentThreshold

public ValidationThreshold computeDeploymentThreshold()

获取 computeDeploymentThreshold 属性:ValidationThreshold 指示允许的计算机和节点硬件以及部署失败。

验证阈值,指示在环境验证和部署期间计算计算机允许的故障。

Returns:

computeDeploymentThreshold 值。

computeRackDefinitions

public List computeRackDefinitions()

获取 computeRackDefinitions 属性:多机架群集中计算机架的机架定义列表,或单机架群集中的空列表。

Returns:

computeRackDefinitions 值。

detailedStatus

public ClusterDetailedStatus detailedStatus()

获取 detailedStatus 属性:群集的当前详细状态。

Returns:

detailedStatus 值。

detailedStatusMessage

public String detailedStatusMessage()

获取 detailedStatusMessage 属性:有关详细状态的描述性消息。

Returns:

detailedStatusMessage 值。

extendedLocation

public ExtendedLocation extendedLocation()

获取 extendedLocation 属性:ExtendedLocation 表示将在其中创建资源的 Azure 自定义位置。

与群集关联的群集管理器的扩展位置。

Returns:

extendedLocation 值。

hybridAksExtendedLocation

public ExtendedLocation hybridAksExtendedLocation()

获取 hybridAksExtendedLocation 属性:ExtendedLocation 表示将在其中创建资源的 Azure 自定义位置。

字段已弃用。 此字段不会在即将推出的版本中填充。 扩展位置 (表示混合 AKS 控制平面位置的自定义位置) 。 创建预配群集 (混合 AKS 群集) 时使用此扩展位置。

Returns:

hybridAksExtendedLocation 值。

managedResourceGroupConfiguration

public ManagedResourceGroupConfiguration managedResourceGroupConfiguration()

获取 managedResourceGroupConfiguration 属性:ManagedResourceGroupConfiguration 表示由 Azure 管理的资源组的配置。

与资源关联的托管资源组的配置。

Returns:

managedResourceGroupConfiguration 值。

manualActionCount

public Long manualActionCount()

获取 manualActionCount 属性: (MAT) 尚未验证的事件的手动操作计数。

Returns:

manualActionCount 值。

networkFabricId

public String networkFabricId()

获取 networkFabricId 属性:与群集关联的 Network Fabric 的资源 ID。

Returns:

networkFabricId 值。

provisioningState

public ClusterProvisioningState provisioningState()

获取 provisioningState 属性:群集的预配状态。

Returns:

provisioningState 值。

supportExpiryDate

public String supportExpiryDate()

获取 supportExpiryDate 属性:群集运行时版本的支持结束日期。

Returns:

supportExpiryDate 值。

systemData

public SystemData systemData()

获取 systemData 属性:Azure 资源管理器包含 createdBy 和 modifiedBy 信息的元数据。

Returns:

systemData 值。

validate

public void validate()

验证实例。

withAggregatorOrSingleRackDefinition

public ClusterInner withAggregatorOrSingleRackDefinition(RackDefinition aggregatorOrSingleRackDefinition)

设置聚合器OrSingleRackDefinition 属性:RackDefinition 表示有关机架的详细信息。

旨在仅反映单个机架群集中的单个机架或多机架群集中的聚合器机架的机架定义。

Parameters:

aggregatorOrSingleRackDefinition - 要设置的 aggregatorOrSingleRackDefinition 值。

Returns:

ClusterInner 对象本身。

withAnalyticsWorkspaceId

public ClusterInner withAnalyticsWorkspaceId(String analyticsWorkspaceId)

设置 analyticsWorkspaceId 属性:将用于存储相关日志的 Log Analytics 工作区的资源 ID。

Parameters:

analyticsWorkspaceId - 要设置的 analyticsWorkspaceId 值。

Returns:

ClusterInner 对象本身。

withClusterLocation

public ClusterInner withClusterLocation(String clusterLocation)

设置 clusterLocation 属性:客户提供的位置信息,用于标识群集所在的位置。

Parameters:

clusterLocation - 要设置的 clusterLocation 值。

Returns:

ClusterInner 对象本身。

withClusterServicePrincipal

public ClusterInner withClusterServicePrincipal(ServicePrincipalInformation clusterServicePrincipal)

设置 clusterServicePrincipal 属性:ServicePrincipalInformation 表示群集在 Arc 设备安装期间要使用的服务主体的详细信息。

群集在 Arc 设备安装期间要使用的服务主体。

Parameters:

clusterServicePrincipal - 要设置的 clusterServicePrincipal 值。

Returns:

ClusterInner 对象本身。

withClusterType

public ClusterInner withClusterType(ClusterType clusterType)

设置 clusterType 属性:群集的机架配置类型。

Parameters:

clusterType - 要设置的 clusterType 值。

Returns:

ClusterInner 对象本身。

withClusterVersion

public ClusterInner withClusterVersion(String clusterVersion)

设置 clusterVersion 属性:群集的当前运行时版本。

Parameters:

clusterVersion - 要设置的 clusterVersion 值。

Returns:

ClusterInner 对象本身。

withComputeDeploymentThreshold

public ClusterInner withComputeDeploymentThreshold(ValidationThreshold computeDeploymentThreshold)

设置 computeDeploymentThreshold 属性:ValidationThreshold 指示允许的计算机和节点硬件以及部署失败。

验证阈值,指示在环境验证和部署期间计算计算机允许的故障。

Parameters:

computeDeploymentThreshold - 要设置的 computeDeploymentThreshold 值。

Returns:

ClusterInner 对象本身。

withComputeRackDefinitions

public ClusterInner withComputeRackDefinitions(List computeRackDefinitions)

设置 computeRackDefinitions 属性:多机架群集中计算机架的机架定义列表,或单机架群集中的空列表。

Parameters:

computeRackDefinitions - 要设置的 computeRackDefinitions 值。

Returns:

ClusterInner 对象本身。

withExtendedLocation

public ClusterInner withExtendedLocation(ExtendedLocation extendedLocation)

设置 extendedLocation 属性:ExtendedLocation 表示将在其中创建资源的 Azure 自定义位置。

与群集关联的群集管理器的扩展位置。

Parameters:

extendedLocation - 要设置的 extendedLocation 值。

Returns:

ClusterInner 对象本身。

withLocation

public ClusterInner withLocation(String location)

Overrides:

ClusterInner.withLocation(String location)

Parameters:

location

withManagedResourceGroupConfiguration

public ClusterInner withManagedResourceGroupConfiguration(ManagedResourceGroupConfiguration managedResourceGroupConfiguration)

设置 managedResourceGroupConfiguration 属性:ManagedResourceGroupConfiguration 表示由 Azure 管理的资源组的配置。

与资源关联的托管资源组的配置。

Parameters:

managedResourceGroupConfiguration - 要设置的 managedResourceGroupConfiguration 值。

Returns:

ClusterInner 对象本身。

withNetworkFabricId

public ClusterInner withNetworkFabricId(String networkFabricId)

设置 networkFabricId 属性:与群集关联的网络结构的资源 ID。

Parameters:

networkFabricId - 要设置的 networkFabricId 值。

Returns:

ClusterInner 对象本身。

withTags

public ClusterInner withTags(Map tags)

Overrides:

ClusterInner.withTags(Map<String,String> tags)

Parameters:

tags

workloadResourceIds

public List workloadResourceIds()

获取 workloadResourceIds 属性:此群集中托管的工作负载资源 ID 的列表。

Returns:

workloadResourceIds 值。

适用于