ConnectedClusterProperties Class

  • java.lang.Object
    • com.azure.resourcemanager.hybridkubernetes.fluent.models.ConnectedClusterProperties

Implements

public final class ConnectedClusterProperties
implements JsonSerializable<ConnectedClusterProperties>

Properties of the connected cluster.

Constructor Summary

Constructor Description
ConnectedClusterProperties()

Creates an instance of ConnectedClusterProperties class.

Method Summary

Modifier and Type Method and Description
AadProfile aadProfile()

Get the aadProfile property: AAD profile for the connected cluster.

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.

String agentVersion()

Get the agentVersion property: Version of the agent running on the connected cluster resource.

ArcAgentProfile arcAgentProfile()

Get the arcAgentProfile property: Arc agentry configuration for the provisioned cluster.

List<ArcAgentryConfigurations> arcAgentryConfigurations()

Get the arcAgentryConfigurations property: Configuration settings for customizing the behavior of the connected cluster.

AzureHybridBenefit azureHybridBenefit()

Get the azureHybridBenefit property: Indicates whether Azure Hybrid Benefit is opted in.

ConnectivityStatus connectivityStatus()

Get the connectivityStatus property: Represents the connectivity status of the connected cluster.

String distribution()

Get the distribution property: The Kubernetes distribution running on this connected cluster.

String distributionVersion()

Get the distributionVersion property: The Kubernetes distribution version on this connected cluster.

static ConnectedClusterProperties fromJson(JsonReader jsonReader)

Reads an instance of ConnectedClusterProperties from the JsonReader.

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 kubernetesVersion property: The Kubernetes version of the connected cluster resource.

OffsetDateTime lastConnectivityTime()

Get the lastConnectivityTime property: Time representing the last instance when heart beat was received from the cluster.

OffsetDateTime managedIdentityCertificateExpirationTime()

Get the managedIdentityCertificateExpirationTime property: Expiration time of the managed identity certificate.

Map<String,String> miscellaneousProperties()

Get the miscellaneousProperties property: More properties related to the Connected Cluster.

String offering()

Get the offering property: Connected cluster offering.

OidcIssuerProfile oidcIssuerProfile()

Get the oidcIssuerProfile property: Open ID Connect (OIDC) Issuer Profile for the connected cluster.

String privateLinkScopeResourceId()

Get the privateLinkScopeResourceId property: This is populated only if privateLinkState is enabled.

PrivateLinkState privateLinkState()

Get the privateLinkState property: Property which describes the state of private link on a connected cluster resource.

ProvisioningState provisioningState()

Get the provisioningState property: Provisioning state of the connected cluster resource.

SecurityProfile securityProfile()

Get the securityProfile property: Security profile for the connected cluster.

JsonWriter toJson(JsonWriter jsonWriter)
Integer totalCoreCount()

Get the totalCoreCount property: Number of CPU cores present in the connected cluster resource.

Integer totalNodeCount()

Get the totalNodeCount property: Number of nodes present in the connected cluster resource.

void validate()

Validates the instance.

ConnectedClusterProperties withAadProfile(AadProfile aadProfile)

Set the aadProfile property: AAD profile for the connected cluster.

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.

ConnectedClusterProperties withArcAgentProfile(ArcAgentProfile arcAgentProfile)

Set the arcAgentProfile property: Arc agentry configuration for the provisioned cluster.

ConnectedClusterProperties withArcAgentryConfigurations(List<ArcAgentryConfigurations> arcAgentryConfigurations)

Set the arcAgentryConfigurations property: Configuration settings for customizing the behavior of the connected cluster.

ConnectedClusterProperties withAzureHybridBenefit(AzureHybridBenefit azureHybridBenefit)

Set the azureHybridBenefit property: Indicates whether Azure Hybrid Benefit is opted in.

ConnectedClusterProperties withDistribution(String distribution)

Set the distribution property: The Kubernetes distribution running on this connected cluster.

ConnectedClusterProperties withDistributionVersion(String distributionVersion)

Set the distributionVersion property: The Kubernetes distribution version on this connected cluster.

ConnectedClusterProperties withGateway(Gateway gateway)

Set the gateway property: Details of the gateway used by the Arc router for connectivity.

ConnectedClusterProperties withInfrastructure(String infrastructure)

Set the infrastructure property: The infrastructure on which the Kubernetes cluster represented by this connected cluster is running on.

ConnectedClusterProperties withOidcIssuerProfile(OidcIssuerProfile oidcIssuerProfile)

Set the oidcIssuerProfile property: Open ID Connect (OIDC) Issuer Profile for the connected cluster.

ConnectedClusterProperties withPrivateLinkScopeResourceId(String privateLinkScopeResourceId)

Set the privateLinkScopeResourceId property: This is populated only if privateLinkState is enabled.

ConnectedClusterProperties withPrivateLinkState(PrivateLinkState privateLinkState)

Set the privateLinkState property: Property which describes the state of private link on a connected cluster resource.

ConnectedClusterProperties withProvisioningState(ProvisioningState provisioningState)

Set the provisioningState property: Provisioning state of the connected cluster resource.

ConnectedClusterProperties withSecurityProfile(SecurityProfile securityProfile)

Set the securityProfile property: Security profile for the connected cluster.

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:

the aadProfile value.

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:

the agentPublicKeyCertificate value.

agentVersion

public String agentVersion()

Get the agentVersion property: Version of the agent running on the connected cluster resource.

Returns:

the agentVersion value.

arcAgentProfile

public ArcAgentProfile arcAgentProfile()

Get the arcAgentProfile property: Arc agentry configuration for the provisioned cluster.

Returns:

the arcAgentProfile value.

arcAgentryConfigurations

public List<ArcAgentryConfigurations> arcAgentryConfigurations()

Get the arcAgentryConfigurations property: Configuration settings for customizing the behavior of the connected cluster.

Returns:

the arcAgentryConfigurations value.

azureHybridBenefit

public AzureHybridBenefit azureHybridBenefit()

Get the azureHybridBenefit property: Indicates whether Azure Hybrid Benefit is opted in.

Returns:

the azureHybridBenefit value.

connectivityStatus

public ConnectivityStatus connectivityStatus()

Get the connectivityStatus property: Represents the connectivity status of the connected cluster.

Returns:

the connectivityStatus value.

distribution

public String distribution()

Get the distribution property: The Kubernetes distribution running on this connected cluster.

Returns:

the distribution value.

distributionVersion

public String distributionVersion()

Get the distributionVersion property: The Kubernetes distribution version on this connected cluster.

Returns:

the distributionVersion value.

fromJson

public static ConnectedClusterProperties fromJson(JsonReader jsonReader)

Reads an instance of ConnectedClusterProperties from the JsonReader.

Parameters:

jsonReader - The JsonReader being read.

Returns:

An instance of ConnectedClusterProperties if the JsonReader was pointing to an instance of it, or null if it was pointing to JSON null.

Throws:

IOException

- If the deserialized JSON object was missing any required properties.

gateway

public Gateway gateway()

Get the gateway property: Details of the gateway used by the Arc router for connectivity.

Returns:

the gateway value.

infrastructure

public String infrastructure()

Get the infrastructure property: The infrastructure on which the Kubernetes cluster represented by this connected cluster is running on.

Returns:

the infrastructure value.

kubernetesVersion

public String kubernetesVersion()

Get the kubernetesVersion property: The Kubernetes version of the connected cluster resource.

Returns:

the kubernetesVersion value.

lastConnectivityTime

public OffsetDateTime lastConnectivityTime()

Get the lastConnectivityTime property: Time representing the last instance when heart beat was received from the cluster.

Returns:

the lastConnectivityTime value.

managedIdentityCertificateExpirationTime

public OffsetDateTime managedIdentityCertificateExpirationTime()

Get the managedIdentityCertificateExpirationTime property: Expiration time of the managed identity certificate.

Returns:

the managedIdentityCertificateExpirationTime value.

miscellaneousProperties

public Map<String,String> miscellaneousProperties()

Get the miscellaneousProperties property: More properties related to the Connected Cluster.

Returns:

the miscellaneousProperties value.

offering

public String offering()

Get the offering property: Connected cluster offering.

Returns:

the offering value.

oidcIssuerProfile

public OidcIssuerProfile oidcIssuerProfile()

Get the oidcIssuerProfile property: Open ID Connect (OIDC) Issuer Profile for the connected cluster.

Returns:

the oidcIssuerProfile value.

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:

the privateLinkScopeResourceId value.

privateLinkState

public PrivateLinkState privateLinkState()

Get the privateLinkState property: Property which describes the state of private link on a connected cluster resource.

Returns:

the privateLinkState value.

provisioningState

public ProvisioningState provisioningState()

Get the provisioningState property: Provisioning state of the connected cluster resource.

Returns:

the provisioningState value.

securityProfile

public SecurityProfile securityProfile()

Get the securityProfile property: Security profile for the connected cluster.

Returns:

the securityProfile value.

toJson

public JsonWriter toJson(JsonWriter jsonWriter)

Parameters:

jsonWriter

Throws:

totalCoreCount

public Integer totalCoreCount()

Get the totalCoreCount property: Number of CPU cores present in the connected cluster resource.

Returns:

the totalCoreCount value.

totalNodeCount

public Integer totalNodeCount()

Get the totalNodeCount property: Number of nodes present in the connected cluster resource.

Returns:

the totalNodeCount value.

validate

public void validate()

Validates the instance.

withAadProfile

public ConnectedClusterProperties withAadProfile(AadProfile aadProfile)

Set the aadProfile property: AAD profile for the connected cluster.

Parameters:

aadProfile - the aadProfile value to set.

Returns:

the ConnectedClusterProperties object itself.

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:

agentPublicKeyCertificate - the agentPublicKeyCertificate value to set.

Returns:

the ConnectedClusterProperties object itself.

withArcAgentProfile

public ConnectedClusterProperties withArcAgentProfile(ArcAgentProfile arcAgentProfile)

Set the arcAgentProfile property: Arc agentry configuration for the provisioned cluster.

Parameters:

arcAgentProfile - the arcAgentProfile value to set.

Returns:

the ConnectedClusterProperties object itself.

withArcAgentryConfigurations

public ConnectedClusterProperties withArcAgentryConfigurations(List<ArcAgentryConfigurations> arcAgentryConfigurations)

Set the arcAgentryConfigurations property: Configuration settings for customizing the behavior of the connected cluster.

Parameters:

arcAgentryConfigurations - the arcAgentryConfigurations value to set.

Returns:

the ConnectedClusterProperties object itself.

withAzureHybridBenefit

public ConnectedClusterProperties withAzureHybridBenefit(AzureHybridBenefit azureHybridBenefit)

Set the azureHybridBenefit property: Indicates whether Azure Hybrid Benefit is opted in.

Parameters:

azureHybridBenefit - the azureHybridBenefit value to set.

Returns:

the ConnectedClusterProperties object itself.

withDistribution

public ConnectedClusterProperties withDistribution(String distribution)

Set the distribution property: The Kubernetes distribution running on this connected cluster.

Parameters:

distribution - the distribution value to set.

Returns:

the ConnectedClusterProperties object itself.

withDistributionVersion

public ConnectedClusterProperties withDistributionVersion(String distributionVersion)

Set the distributionVersion property: The Kubernetes distribution version on this connected cluster.

Parameters:

distributionVersion - the distributionVersion value to set.

Returns:

the ConnectedClusterProperties object itself.

withGateway

public ConnectedClusterProperties withGateway(Gateway gateway)

Set the gateway property: Details of the gateway used by the Arc router for connectivity.

Parameters:

gateway - the gateway value to set.

Returns:

the ConnectedClusterProperties object itself.

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:

infrastructure - the infrastructure value to set.

Returns:

the ConnectedClusterProperties object itself.

withOidcIssuerProfile

public ConnectedClusterProperties withOidcIssuerProfile(OidcIssuerProfile oidcIssuerProfile)

Set the oidcIssuerProfile property: Open ID Connect (OIDC) Issuer Profile for the connected cluster.

Parameters:

oidcIssuerProfile - the oidcIssuerProfile value to set.

Returns:

the ConnectedClusterProperties object itself.

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:

privateLinkScopeResourceId - the privateLinkScopeResourceId value to set.

Returns:

the ConnectedClusterProperties object itself.

withPrivateLinkState

public ConnectedClusterProperties withPrivateLinkState(PrivateLinkState privateLinkState)

Set the privateLinkState property: Property which describes the state of private link on a connected cluster resource.

Parameters:

privateLinkState - the privateLinkState value to set.

Returns:

the ConnectedClusterProperties object itself.

withProvisioningState

public ConnectedClusterProperties withProvisioningState(ProvisioningState provisioningState)

Set the provisioningState property: Provisioning state of the connected cluster resource.

Parameters:

provisioningState - the provisioningState value to set.

Returns:

the ConnectedClusterProperties object itself.

withSecurityProfile

public ConnectedClusterProperties withSecurityProfile(SecurityProfile securityProfile)

Set the securityProfile property: Security profile for the connected cluster.

Parameters:

securityProfile - the securityProfile value to set.

Returns:

the ConnectedClusterProperties object itself.

Applies to