ConnectedClusterProperties Class
- java.
lang. Object - com.
azure. resourcemanager. hybridkubernetes. fluent. models. ConnectedClusterProperties
- com.
Implements
public final class ConnectedClusterProperties
implements JsonSerializable<ConnectedClusterProperties>
Properties of the connected cluster.
Constructor Summary
| Constructor | Description |
|---|---|
| ConnectedClusterProperties() |
Creates an instance of Connected |
Method Summary
| Modifier and Type | Method and Description |
|---|---|
|
Aad |
aadProfile()
Get the aad |
| String |
agentPublicKeyCertificate()
Get the agent |
| String |
agentVersion()
Get the agent |
|
Arc |
arcAgentProfile()
Get the arc |
|
List<Arc |
arcAgentryConfigurations()
Get the arc |
|
Azure |
azureHybridBenefit()
Get the azure |
|
Connectivity |
connectivityStatus()
Get the connectivity |
| String |
distribution()
Get the distribution property: The Kubernetes distribution running on this connected cluster. |
| String |
distributionVersion()
Get the distribution |
|
static
Connected |
fromJson(JsonReader jsonReader)
Reads an instance of Connected |
| Gateway |
gateway()
Get the gateway property: Details of the gateway used by the Arc router for connectivity. |
| String |
infrastructure()
Get the infrastructure property: The infrastructure on which the Kubernetes cluster represented by this connected cluster is running on. |
| String |
kubernetesVersion()
Get the kubernetes |
|
Offset |
lastConnectivityTime()
Get the last |
|
Offset |
managedIdentityCertificateExpirationTime()
Get the managed |
| Map<String,String> |
miscellaneousProperties()
Get the miscellaneous |
| String |
offering()
Get the offering property: Connected cluster offering. |
|
Oidc |
oidcIssuerProfile()
Get the oidc |
| String |
privateLinkScopeResourceId()
Get the private |
|
Private |
privateLinkState()
Get the private |
|
Provisioning |
provisioningState()
Get the provisioning |
|
Security |
securityProfile()
Get the security |
|
Json |
toJson(JsonWriter jsonWriter) |
| Integer |
totalCoreCount()
Get the total |
| Integer |
totalNodeCount()
Get the total |
| void |
validate()
Validates the instance. |
|
Connected |
withAadProfile(AadProfile aadProfile)
Set the aad |
|
Connected |
withAgentPublicKeyCertificate(String agentPublicKeyCertificate)
Set the agent |
|
Connected |
withArcAgentProfile(ArcAgentProfile arcAgentProfile)
Set the arc |
|
Connected |
withArcAgentryConfigurations(List<ArcAgentryConfigurations> arcAgentryConfigurations)
Set the arc |
|
Connected |
withAzureHybridBenefit(AzureHybridBenefit azureHybridBenefit)
Set the azure |
|
Connected |
withDistribution(String distribution)
Set the distribution property: The Kubernetes distribution running on this connected cluster. |
|
Connected |
withDistributionVersion(String distributionVersion)
Set the distribution |
|
Connected |
withGateway(Gateway gateway)
Set the gateway property: Details of the gateway used by the Arc router for connectivity. |
|
Connected |
withInfrastructure(String infrastructure)
Set the infrastructure property: The infrastructure on which the Kubernetes cluster represented by this connected cluster is running on. |
|
Connected |
withOidcIssuerProfile(OidcIssuerProfile oidcIssuerProfile)
Set the oidc |
|
Connected |
withPrivateLinkScopeResourceId(String privateLinkScopeResourceId)
Set the private |
|
Connected |
withPrivateLinkState(PrivateLinkState privateLinkState)
Set the private |
|
Connected |
withProvisioningState(ProvisioningState provisioningState)
Set the provisioning |
|
Connected |
withSecurityProfile(SecurityProfile securityProfile)
Set the security |
Methods inherited from java.lang.Object
Constructor Details
ConnectedClusterProperties
public ConnectedClusterProperties()
Creates an instance of ConnectedClusterProperties class.
Method Details
aadProfile
public AadProfile aadProfile()
Get the aadProfile property: AAD profile for the connected cluster.
Returns:
agentPublicKeyCertificate
public String agentPublicKeyCertificate()
Get the agentPublicKeyCertificate property: Base64 encoded public certificate used by the agent to do the initial handshake to the backend services in Azure.
Returns:
agentVersion
public String agentVersion()
Get the agentVersion property: Version of the agent running on the connected cluster resource.
Returns:
arcAgentProfile
public ArcAgentProfile arcAgentProfile()
Get the arcAgentProfile property: Arc agentry configuration for the provisioned cluster.
Returns:
arcAgentryConfigurations
public List<ArcAgentryConfigurations> arcAgentryConfigurations()
Get the arcAgentryConfigurations property: Configuration settings for customizing the behavior of the connected cluster.
Returns:
azureHybridBenefit
public AzureHybridBenefit azureHybridBenefit()
Get the azureHybridBenefit property: Indicates whether Azure Hybrid Benefit is opted in.
Returns:
connectivityStatus
public ConnectivityStatus connectivityStatus()
Get the connectivityStatus property: Represents the connectivity status of the connected cluster.
Returns:
distribution
public String distribution()
Get the distribution property: The Kubernetes distribution running on this connected cluster.
Returns:
distributionVersion
public String distributionVersion()
Get the distributionVersion property: The Kubernetes distribution version on this connected cluster.
Returns:
fromJson
public static ConnectedClusterProperties fromJson(JsonReader jsonReader)
Reads an instance of ConnectedClusterProperties from the JsonReader.
Parameters:
Returns:
Throws:
gateway
public Gateway gateway()
Get the gateway property: Details of the gateway used by the Arc router for connectivity.
Returns:
infrastructure
public String infrastructure()
Get the infrastructure property: The infrastructure on which the Kubernetes cluster represented by this connected cluster is running on.
Returns:
kubernetesVersion
public String kubernetesVersion()
Get the kubernetesVersion property: The Kubernetes version of the connected cluster resource.
Returns:
lastConnectivityTime
public OffsetDateTime lastConnectivityTime()
Get the lastConnectivityTime property: Time representing the last instance when heart beat was received from the cluster.
Returns:
managedIdentityCertificateExpirationTime
public OffsetDateTime managedIdentityCertificateExpirationTime()
Get the managedIdentityCertificateExpirationTime property: Expiration time of the managed identity certificate.
Returns:
miscellaneousProperties
public Map<String,String> miscellaneousProperties()
Get the miscellaneousProperties property: More properties related to the Connected Cluster.
Returns:
offering
public String offering()
Get the offering property: Connected cluster offering.
Returns:
oidcIssuerProfile
public OidcIssuerProfile oidcIssuerProfile()
Get the oidcIssuerProfile property: Open ID Connect (OIDC) Issuer Profile for the connected cluster.
Returns:
privateLinkScopeResourceId
public String privateLinkScopeResourceId()
Get the privateLinkScopeResourceId property: This is populated only if privateLinkState is enabled. The resource id of the private link scope this connected cluster is assigned to, if any.
Returns:
privateLinkState
public PrivateLinkState privateLinkState()
Get the privateLinkState property: Property which describes the state of private link on a connected cluster resource.
Returns:
provisioningState
public ProvisioningState provisioningState()
Get the provisioningState property: Provisioning state of the connected cluster resource.
Returns:
securityProfile
public SecurityProfile securityProfile()
Get the securityProfile property: Security profile for the connected cluster.
Returns:
toJson
totalCoreCount
public Integer totalCoreCount()
Get the totalCoreCount property: Number of CPU cores present in the connected cluster resource.
Returns:
totalNodeCount
public Integer totalNodeCount()
Get the totalNodeCount property: Number of nodes present in the connected cluster resource.
Returns:
validate
public void validate()
Validates the instance.
withAadProfile
public ConnectedClusterProperties withAadProfile(AadProfile aadProfile)
Set the aadProfile property: AAD profile for the connected cluster.
Parameters:
Returns:
withAgentPublicKeyCertificate
public ConnectedClusterProperties withAgentPublicKeyCertificate(String agentPublicKeyCertificate)
Set the agentPublicKeyCertificate property: Base64 encoded public certificate used by the agent to do the initial handshake to the backend services in Azure.
Parameters:
Returns:
withArcAgentProfile
public ConnectedClusterProperties withArcAgentProfile(ArcAgentProfile arcAgentProfile)
Set the arcAgentProfile property: Arc agentry configuration for the provisioned cluster.
Parameters:
Returns:
withArcAgentryConfigurations
public ConnectedClusterProperties withArcAgentryConfigurations(List<ArcAgentryConfigurations> arcAgentryConfigurations)
Set the arcAgentryConfigurations property: Configuration settings for customizing the behavior of the connected cluster.
Parameters:
Returns:
withAzureHybridBenefit
public ConnectedClusterProperties withAzureHybridBenefit(AzureHybridBenefit azureHybridBenefit)
Set the azureHybridBenefit property: Indicates whether Azure Hybrid Benefit is opted in.
Parameters:
Returns:
withDistribution
public ConnectedClusterProperties withDistribution(String distribution)
Set the distribution property: The Kubernetes distribution running on this connected cluster.
Parameters:
Returns:
withDistributionVersion
public ConnectedClusterProperties withDistributionVersion(String distributionVersion)
Set the distributionVersion property: The Kubernetes distribution version on this connected cluster.
Parameters:
Returns:
withGateway
public ConnectedClusterProperties withGateway(Gateway gateway)
Set the gateway property: Details of the gateway used by the Arc router for connectivity.
Parameters:
Returns:
withInfrastructure
public ConnectedClusterProperties withInfrastructure(String infrastructure)
Set the infrastructure property: The infrastructure on which the Kubernetes cluster represented by this connected cluster is running on.
Parameters:
Returns:
withOidcIssuerProfile
public ConnectedClusterProperties withOidcIssuerProfile(OidcIssuerProfile oidcIssuerProfile)
Set the oidcIssuerProfile property: Open ID Connect (OIDC) Issuer Profile for the connected cluster.
Parameters:
Returns:
withPrivateLinkScopeResourceId
public ConnectedClusterProperties withPrivateLinkScopeResourceId(String privateLinkScopeResourceId)
Set the privateLinkScopeResourceId property: This is populated only if privateLinkState is enabled. The resource id of the private link scope this connected cluster is assigned to, if any.
Parameters:
Returns:
withPrivateLinkState
public ConnectedClusterProperties withPrivateLinkState(PrivateLinkState privateLinkState)
Set the privateLinkState property: Property which describes the state of private link on a connected cluster resource.
Parameters:
Returns:
withProvisioningState
public ConnectedClusterProperties withProvisioningState(ProvisioningState provisioningState)
Set the provisioningState property: Provisioning state of the connected cluster resource.
Parameters:
Returns:
withSecurityProfile
public ConnectedClusterProperties withSecurityProfile(SecurityProfile securityProfile)
Set the securityProfile property: Security profile for the connected cluster.
Parameters:
Returns: