ClusterPatchParameters Class
- java.
lang. Object - com.
azure. resourcemanager. networkcloud. models. ClusterPatchParameters
- com.
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 Cluster |
Method Summary
| Modifier and Type | Method and Description |
|---|---|
|
Rack |
aggregatorOrSingleRackDefinition()
Get the aggregator |
|
Analytics |
analyticsOutputSettings()
Get the analytics |
| String |
clusterLocation()
Get the cluster |
|
Service |
clusterServicePrincipal()
Get the cluster |
|
Command |
commandOutputSettings()
Get the command |
|
Validation |
computeDeploymentThreshold()
Get the compute |
|
List<Rack |
computeRackDefinitions()
Get the compute |
|
static
Cluster |
fromJson(JsonReader jsonReader)
Reads an instance of Cluster |
|
Managed |
identity()
Get the identity property: The identity for the resource. |
|
Runtime |
runtimeProtectionConfiguration()
Get the runtime |
|
Cluster |
secretArchive()
Get the secret |
|
Secret |
secretArchiveSettings()
Get the secret |
| Map<String,String> |
tags()
Get the tags property: The Azure resource tags that will replace the existing ones. |
|
Json |
toJson(JsonWriter jsonWriter) |
|
Cluster |
updateStrategy()
Get the update |
| void |
validate()
Validates the instance. |
|
Vulnerability |
vulnerabilityScanningSettings()
Get the vulnerability |
|
Cluster |
withAggregatorOrSingleRackDefinition(RackDefinition aggregatorOrSingleRackDefinition)
Set the aggregator |
|
Cluster |
withAnalyticsOutputSettings(AnalyticsOutputSettings analyticsOutputSettings)
Set the analytics |
|
Cluster |
withClusterLocation(String clusterLocation)
Set the cluster |
|
Cluster |
withClusterServicePrincipal(ServicePrincipalInformation clusterServicePrincipal)
Set the cluster |
|
Cluster |
withCommandOutputSettings(CommandOutputSettings commandOutputSettings)
Set the command |
|
Cluster |
withComputeDeploymentThreshold(ValidationThreshold computeDeploymentThreshold)
Set the compute |
|
Cluster |
withComputeRackDefinitions(List<RackDefinition> computeRackDefinitions)
Set the compute |
|
Cluster |
withIdentity(ManagedServiceIdentity identity)
Set the identity property: The identity for the resource. |
|
Cluster |
withRuntimeProtectionConfiguration(RuntimeProtectionConfiguration runtimeProtectionConfiguration)
Set the runtime |
|
Cluster |
withSecretArchive(ClusterSecretArchive secretArchive)
Set the secret |
|
Cluster |
withSecretArchiveSettings(SecretArchiveSettings secretArchiveSettings)
Set the secret |
|
Cluster |
withTags(Map<String,String> tags)
Set the tags property: The Azure resource tags that will replace the existing ones. |
|
Cluster |
withUpdateStrategy(ClusterUpdateStrategy updateStrategy)
Set the update |
|
Cluster |
withVulnerabilityScanningSettings(VulnerabilityScanningSettingsPatch vulnerabilityScanningSettings)
Set the vulnerability |
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:
analyticsOutputSettings
public AnalyticsOutputSettings analyticsOutputSettings()
Get the analyticsOutputSettings property: The settings for the log analytics workspace used for output of logs from this cluster.
Returns:
clusterLocation
public String clusterLocation()
Get the clusterLocation property: The customer-provided location information to identify where the cluster resides.
Returns:
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:
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:
computeDeploymentThreshold
public ValidationThreshold computeDeploymentThreshold()
Get the computeDeploymentThreshold property: The validation threshold indicating the allowable failures of compute machines during environment validation and deployment.
Returns:
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:
fromJson
public static ClusterPatchParameters fromJson(JsonReader jsonReader)
Reads an instance of ClusterPatchParameters from the JsonReader.
Parameters:
Returns:
Throws:
identity
public ManagedServiceIdentity identity()
Get the identity property: The identity for the resource.
Returns:
runtimeProtectionConfiguration
public RuntimeProtectionConfiguration runtimeProtectionConfiguration()
Get the runtimeProtectionConfiguration property: The settings for cluster runtime protection.
Returns:
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:
secretArchiveSettings
public SecretArchiveSettings secretArchiveSettings()
Get the secretArchiveSettings property: The settings for the secret archive used to hold credentials for the cluster.
Returns:
tags
public Map<String,String> tags()
Get the tags property: The Azure resource tags that will replace the existing ones.
Returns:
toJson
updateStrategy
public ClusterUpdateStrategy updateStrategy()
Get the updateStrategy property: The strategy for updating the cluster.
Returns:
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:
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:
Returns:
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:
Returns:
withClusterLocation
public ClusterPatchParameters withClusterLocation(String clusterLocation)
Set the clusterLocation property: The customer-provided location information to identify where the cluster resides.
Parameters:
Returns:
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:
Returns:
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:
Returns:
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:
Returns:
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:
Returns:
withIdentity
public ClusterPatchParameters withIdentity(ManagedServiceIdentity identity)
Set the identity property: The identity for the resource.
Parameters:
Returns:
withRuntimeProtectionConfiguration
public ClusterPatchParameters withRuntimeProtectionConfiguration(RuntimeProtectionConfiguration runtimeProtectionConfiguration)
Set the runtimeProtectionConfiguration property: The settings for cluster runtime protection.
Parameters:
Returns:
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:
Returns:
withSecretArchiveSettings
public ClusterPatchParameters withSecretArchiveSettings(SecretArchiveSettings secretArchiveSettings)
Set the secretArchiveSettings property: The settings for the secret archive used to hold credentials for the cluster.
Parameters:
Returns:
withTags
public ClusterPatchParameters withTags(Map<String,String> tags)
Set the tags property: The Azure resource tags that will replace the existing ones.
Parameters:
Returns:
withUpdateStrategy
public ClusterPatchParameters withUpdateStrategy(ClusterUpdateStrategy updateStrategy)
Set the updateStrategy property: The strategy for updating the cluster.
Parameters:
Returns:
withVulnerabilityScanningSettings
public ClusterPatchParameters withVulnerabilityScanningSettings(VulnerabilityScanningSettingsPatch vulnerabilityScanningSettings)
Set the vulnerabilityScanningSettings property: The settings for how security vulnerability scanning is applied to the cluster.
Parameters:
Returns: