ClusterPatchParameters Class

  • java.lang.Object
    • com.azure.resourcemanager.networkcloud.models.ClusterPatchParameters

Implements

public final class ClusterPatchParameters
implements JsonSerializable<ClusterPatchParameters>

ClusterPatchParameters represents the body of the request to patch the cluster properties.

Constructor Summary

Constructor Description
ClusterPatchParameters()

Creates an instance of ClusterPatchParameters 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 ClusterPatchParameters fromJson(JsonReader jsonReader)

Reads an instance of ClusterPatchParameters from the JsonReader.

ManagedServiceIdentity identity()

Get the identity property: The identity for the resource.

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.

Map<String,String> tags()

Get the tags property: The Azure resource tags that will replace the existing ones.

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.

ClusterPatchParameters 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.

ClusterPatchParameters withAnalyticsOutputSettings(AnalyticsOutputSettings analyticsOutputSettings)

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

ClusterPatchParameters withClusterLocation(String clusterLocation)

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

ClusterPatchParameters withClusterServicePrincipal(ServicePrincipalInformation clusterServicePrincipal)

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

ClusterPatchParameters 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.

ClusterPatchParameters withComputeDeploymentThreshold(ValidationThreshold computeDeploymentThreshold)

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

ClusterPatchParameters 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.

ClusterPatchParameters withIdentity(ManagedServiceIdentity identity)

Set the identity property: The identity for the resource.

ClusterPatchParameters withRuntimeProtectionConfiguration(RuntimeProtectionConfiguration runtimeProtectionConfiguration)

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

ClusterPatchParameters withSecretArchive(ClusterSecretArchive secretArchive)

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

ClusterPatchParameters withSecretArchiveSettings(SecretArchiveSettings secretArchiveSettings)

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

ClusterPatchParameters withTags(Map<String,String> tags)

Set the tags property: The Azure resource tags that will replace the existing ones.

ClusterPatchParameters withUpdateStrategy(ClusterUpdateStrategy updateStrategy)

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

ClusterPatchParameters 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

ClusterPatchParameters

public ClusterPatchParameters()

Creates an instance of ClusterPatchParameters 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 ClusterPatchParameters fromJson(JsonReader jsonReader)

Reads an instance of ClusterPatchParameters from the JsonReader.

Parameters:

jsonReader - The JsonReader being read.

Returns:

An instance of ClusterPatchParameters 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 ClusterPatchParameters.

identity

public ManagedServiceIdentity identity()

Get the identity property: The identity for the resource.

Returns:

the identity value.

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.

tags

public Map<String,String> tags()

Get the tags property: The Azure resource tags that will replace the existing ones.

Returns:

the tags 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 ClusterPatchParameters 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 ClusterPatchParameters object itself.

withAnalyticsOutputSettings

public ClusterPatchParameters 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 ClusterPatchParameters object itself.

withClusterLocation

public ClusterPatchParameters 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 ClusterPatchParameters object itself.

withClusterServicePrincipal

public ClusterPatchParameters 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 ClusterPatchParameters object itself.

withCommandOutputSettings

public ClusterPatchParameters 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 ClusterPatchParameters object itself.

withComputeDeploymentThreshold

public ClusterPatchParameters 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 ClusterPatchParameters object itself.

withComputeRackDefinitions

public ClusterPatchParameters 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 ClusterPatchParameters object itself.

withIdentity

public ClusterPatchParameters withIdentity(ManagedServiceIdentity identity)

Set the identity property: The identity for the resource.

Parameters:

identity - the identity value to set.

Returns:

the ClusterPatchParameters object itself.

withRuntimeProtectionConfiguration

public ClusterPatchParameters withRuntimeProtectionConfiguration(RuntimeProtectionConfiguration runtimeProtectionConfiguration)

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

Parameters:

runtimeProtectionConfiguration - the runtimeProtectionConfiguration value to set.

Returns:

the ClusterPatchParameters object itself.

withSecretArchive

public ClusterPatchParameters 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 ClusterPatchParameters object itself.

withSecretArchiveSettings

public ClusterPatchParameters 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 ClusterPatchParameters object itself.

withTags

public ClusterPatchParameters withTags(Map<String,String> tags)

Set the tags property: The Azure resource tags that will replace the existing ones.

Parameters:

tags - the tags value to set.

Returns:

the ClusterPatchParameters object itself.

withUpdateStrategy

public ClusterPatchParameters withUpdateStrategy(ClusterUpdateStrategy updateStrategy)

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

Parameters:

updateStrategy - the updateStrategy value to set.

Returns:

the ClusterPatchParameters object itself.

withVulnerabilityScanningSettings

public ClusterPatchParameters 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 ClusterPatchParameters object itself.

Applies to