ClusterPatchProperties Class

  • java.lang.Object
    • com.azure.resourcemanager.networkcloud.fluent.models.ClusterPatchProperties

Implements

public final class ClusterPatchProperties
implements JsonSerializable<ClusterPatchProperties>

ClusterPatchProperties represents the properties of the cluster for patching.

Constructor Summary

Constructor Description
ClusterPatchProperties()

Creates an instance of ClusterPatchProperties class.

Method Summary

Modifier and Type Method and Description
RackDefinition aggregatorOrSingleRackDefinition()

Get the aggregatorOrSingleRackDefinition property: The rack definition that is intended to reflect only a single rack in a single rack cluster, or an aggregator rack in a multi-rack cluster.

AnalyticsOutputSettings analyticsOutputSettings()

Get the analyticsOutputSettings property: The settings for the log analytics workspace used for output of logs from this cluster.

String clusterLocation()

Get the clusterLocation property: The customer-provided location information to identify where the cluster resides.

ServicePrincipalInformation clusterServicePrincipal()

Get the clusterServicePrincipal property: Field Deprecated: Use managed identity to provide cluster privileges.

CommandOutputSettings commandOutputSettings()

Get the commandOutputSettings property: The settings for commands run in this cluster, such as bare metal machine run read only commands and data extracts.

ValidationThreshold computeDeploymentThreshold()

Get the computeDeploymentThreshold property: The validation threshold indicating the allowable failures of compute machines during environment validation and deployment.

List<RackDefinition> computeRackDefinitions()

Get the computeRackDefinitions property: The list of rack definitions for the compute racks in a multi-rack cluster, or an empty list in a single-rack cluster.

static ClusterPatchProperties fromJson(JsonReader jsonReader)

Reads an instance of ClusterPatchProperties from the JsonReader.

RuntimeProtectionConfiguration runtimeProtectionConfiguration()

Get the runtimeProtectionConfiguration property: The settings for cluster runtime protection.

ClusterSecretArchive secretArchive()

Get the secretArchive property: The configuration for use of a key vault to store secrets for later retrieval by the operator.

SecretArchiveSettings secretArchiveSettings()

Get the secretArchiveSettings property: The settings for the secret archive used to hold credentials for the cluster.

JsonWriter toJson(JsonWriter jsonWriter)
ClusterUpdateStrategy updateStrategy()

Get the updateStrategy property: The strategy for updating the cluster.

void validate()

Validates the instance.

VulnerabilityScanningSettingsPatch vulnerabilityScanningSettings()

Get the vulnerabilityScanningSettings property: The settings for how security vulnerability scanning is applied to the cluster.

ClusterPatchProperties withAggregatorOrSingleRackDefinition(RackDefinition aggregatorOrSingleRackDefinition)

Set the aggregatorOrSingleRackDefinition property: The rack definition that is intended to reflect only a single rack in a single rack cluster, or an aggregator rack in a multi-rack cluster.

ClusterPatchProperties withAnalyticsOutputSettings(AnalyticsOutputSettings analyticsOutputSettings)

Set the analyticsOutputSettings property: The settings for the log analytics workspace used for output of logs from this cluster.

ClusterPatchProperties withClusterLocation(String clusterLocation)

Set the clusterLocation property: The customer-provided location information to identify where the cluster resides.

ClusterPatchProperties withClusterServicePrincipal(ServicePrincipalInformation clusterServicePrincipal)

Set the clusterServicePrincipal property: Field Deprecated: Use managed identity to provide cluster privileges.

ClusterPatchProperties withCommandOutputSettings(CommandOutputSettings commandOutputSettings)

Set the commandOutputSettings property: The settings for commands run in this cluster, such as bare metal machine run read only commands and data extracts.

ClusterPatchProperties withComputeDeploymentThreshold(ValidationThreshold computeDeploymentThreshold)

Set the computeDeploymentThreshold property: The validation threshold indicating the allowable failures of compute machines during environment validation and deployment.

ClusterPatchProperties withComputeRackDefinitions(List<RackDefinition> computeRackDefinitions)

Set the computeRackDefinitions property: The list of rack definitions for the compute racks in a multi-rack cluster, or an empty list in a single-rack cluster.

ClusterPatchProperties withRuntimeProtectionConfiguration(RuntimeProtectionConfiguration runtimeProtectionConfiguration)

Set the runtimeProtectionConfiguration property: The settings for cluster runtime protection.

ClusterPatchProperties withSecretArchive(ClusterSecretArchive secretArchive)

Set the secretArchive property: The configuration for use of a key vault to store secrets for later retrieval by the operator.

ClusterPatchProperties withSecretArchiveSettings(SecretArchiveSettings secretArchiveSettings)

Set the secretArchiveSettings property: The settings for the secret archive used to hold credentials for the cluster.

ClusterPatchProperties withUpdateStrategy(ClusterUpdateStrategy updateStrategy)

Set the updateStrategy property: The strategy for updating the cluster.

ClusterPatchProperties withVulnerabilityScanningSettings(VulnerabilityScanningSettingsPatch vulnerabilityScanningSettings)

Set the vulnerabilityScanningSettings property: The settings for how security vulnerability scanning is applied to the cluster.

Methods inherited from java.lang.Object

Constructor Details

ClusterPatchProperties

public ClusterPatchProperties()

Creates an instance of ClusterPatchProperties class.

Method Details

aggregatorOrSingleRackDefinition

public RackDefinition aggregatorOrSingleRackDefinition()

Get the aggregatorOrSingleRackDefinition property: The rack definition that is intended to reflect only a single rack in a single rack cluster, or an aggregator rack in a multi-rack cluster.

Returns:

the aggregatorOrSingleRackDefinition value.

analyticsOutputSettings

public AnalyticsOutputSettings analyticsOutputSettings()

Get the analyticsOutputSettings property: The settings for the log analytics workspace used for output of logs from this cluster.

Returns:

the analyticsOutputSettings value.

clusterLocation

public String clusterLocation()

Get the clusterLocation property: The customer-provided location information to identify where the cluster resides.

Returns:

the clusterLocation value.

clusterServicePrincipal

public ServicePrincipalInformation clusterServicePrincipal()

Get the clusterServicePrincipal property: Field Deprecated: Use managed identity to provide cluster privileges. The service principal to be used by the cluster during Arc Appliance installation.

Returns:

the clusterServicePrincipal value.

commandOutputSettings

public CommandOutputSettings commandOutputSettings()

Get the commandOutputSettings property: The settings for commands run in this cluster, such as bare metal machine run read only commands and data extracts.

Returns:

the commandOutputSettings value.

computeDeploymentThreshold

public ValidationThreshold computeDeploymentThreshold()

Get the computeDeploymentThreshold property: The validation threshold indicating the allowable failures of compute machines during environment validation and deployment.

Returns:

the computeDeploymentThreshold value.

computeRackDefinitions

public List<RackDefinition> computeRackDefinitions()

Get the computeRackDefinitions property: The list of rack definitions for the compute racks in a multi-rack cluster, or an empty list in a single-rack cluster.

Returns:

the computeRackDefinitions value.

fromJson

public static ClusterPatchProperties fromJson(JsonReader jsonReader)

Reads an instance of ClusterPatchProperties from the JsonReader.

Parameters:

jsonReader - The JsonReader being read.

Returns:

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

Throws:

IOException

- If an error occurs while reading the ClusterPatchProperties.

runtimeProtectionConfiguration

public RuntimeProtectionConfiguration runtimeProtectionConfiguration()

Get the runtimeProtectionConfiguration property: The settings for cluster runtime protection.

Returns:

the runtimeProtectionConfiguration value.

secretArchive

public ClusterSecretArchive secretArchive()

Get the secretArchive property: The configuration for use of a key vault to store secrets for later retrieval by the operator.

Returns:

the secretArchive value.

secretArchiveSettings

public SecretArchiveSettings secretArchiveSettings()

Get the secretArchiveSettings property: The settings for the secret archive used to hold credentials for the cluster.

Returns:

the secretArchiveSettings value.

toJson

public JsonWriter toJson(JsonWriter jsonWriter)

Parameters:

jsonWriter

Throws:

updateStrategy

public ClusterUpdateStrategy updateStrategy()

Get the updateStrategy property: The strategy for updating the cluster.

Returns:

the updateStrategy value.

validate

public void validate()

Validates the instance.

vulnerabilityScanningSettings

public VulnerabilityScanningSettingsPatch vulnerabilityScanningSettings()

Get the vulnerabilityScanningSettings property: The settings for how security vulnerability scanning is applied to the cluster.

Returns:

the vulnerabilityScanningSettings value.

withAggregatorOrSingleRackDefinition

public ClusterPatchProperties withAggregatorOrSingleRackDefinition(RackDefinition aggregatorOrSingleRackDefinition)

Set the aggregatorOrSingleRackDefinition property: The rack definition that is intended to reflect only a single rack in a single rack cluster, or an aggregator rack in a multi-rack cluster.

Parameters:

aggregatorOrSingleRackDefinition - the aggregatorOrSingleRackDefinition value to set.

Returns:

the ClusterPatchProperties object itself.

withAnalyticsOutputSettings

public ClusterPatchProperties withAnalyticsOutputSettings(AnalyticsOutputSettings analyticsOutputSettings)

Set the analyticsOutputSettings property: The settings for the log analytics workspace used for output of logs from this cluster.

Parameters:

analyticsOutputSettings - the analyticsOutputSettings value to set.

Returns:

the ClusterPatchProperties object itself.

withClusterLocation

public ClusterPatchProperties withClusterLocation(String clusterLocation)

Set the clusterLocation property: The customer-provided location information to identify where the cluster resides.

Parameters:

clusterLocation - the clusterLocation value to set.

Returns:

the ClusterPatchProperties object itself.

withClusterServicePrincipal

public ClusterPatchProperties withClusterServicePrincipal(ServicePrincipalInformation clusterServicePrincipal)

Set the clusterServicePrincipal property: Field Deprecated: Use managed identity to provide cluster privileges. The service principal to be used by the cluster during Arc Appliance installation.

Parameters:

clusterServicePrincipal - the clusterServicePrincipal value to set.

Returns:

the ClusterPatchProperties object itself.

withCommandOutputSettings

public ClusterPatchProperties withCommandOutputSettings(CommandOutputSettings commandOutputSettings)

Set the commandOutputSettings property: The settings for commands run in this cluster, such as bare metal machine run read only commands and data extracts.

Parameters:

commandOutputSettings - the commandOutputSettings value to set.

Returns:

the ClusterPatchProperties object itself.

withComputeDeploymentThreshold

public ClusterPatchProperties withComputeDeploymentThreshold(ValidationThreshold computeDeploymentThreshold)

Set the computeDeploymentThreshold property: The validation threshold indicating the allowable failures of compute machines during environment validation and deployment.

Parameters:

computeDeploymentThreshold - the computeDeploymentThreshold value to set.

Returns:

the ClusterPatchProperties object itself.

withComputeRackDefinitions

public ClusterPatchProperties withComputeRackDefinitions(List<RackDefinition> computeRackDefinitions)

Set the computeRackDefinitions property: The list of rack definitions for the compute racks in a multi-rack cluster, or an empty list in a single-rack cluster.

Parameters:

computeRackDefinitions - the computeRackDefinitions value to set.

Returns:

the ClusterPatchProperties object itself.

withRuntimeProtectionConfiguration

public ClusterPatchProperties withRuntimeProtectionConfiguration(RuntimeProtectionConfiguration runtimeProtectionConfiguration)

Set the runtimeProtectionConfiguration property: The settings for cluster runtime protection.

Parameters:

runtimeProtectionConfiguration - the runtimeProtectionConfiguration value to set.

Returns:

the ClusterPatchProperties object itself.

withSecretArchive

public ClusterPatchProperties withSecretArchive(ClusterSecretArchive secretArchive)

Set the secretArchive property: The configuration for use of a key vault to store secrets for later retrieval by the operator.

Parameters:

secretArchive - the secretArchive value to set.

Returns:

the ClusterPatchProperties object itself.

withSecretArchiveSettings

public ClusterPatchProperties withSecretArchiveSettings(SecretArchiveSettings secretArchiveSettings)

Set the secretArchiveSettings property: The settings for the secret archive used to hold credentials for the cluster.

Parameters:

secretArchiveSettings - the secretArchiveSettings value to set.

Returns:

the ClusterPatchProperties object itself.

withUpdateStrategy

public ClusterPatchProperties withUpdateStrategy(ClusterUpdateStrategy updateStrategy)

Set the updateStrategy property: The strategy for updating the cluster.

Parameters:

updateStrategy - the updateStrategy value to set.

Returns:

the ClusterPatchProperties object itself.

withVulnerabilityScanningSettings

public ClusterPatchProperties withVulnerabilityScanningSettings(VulnerabilityScanningSettingsPatch vulnerabilityScanningSettings)

Set the vulnerabilityScanningSettings property: The settings for how security vulnerability scanning is applied to the cluster.

Parameters:

vulnerabilityScanningSettings - the vulnerabilityScanningSettings value to set.

Returns:

the ClusterPatchProperties object itself.

Applies to