ClusterPatchProperties Class
- java.
lang. Object - com.
azure. resourcemanager. networkcloud. fluent. models. ClusterPatchProperties
- com.
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 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 |
|
Runtime |
runtimeProtectionConfiguration()
Get the runtime |
|
Cluster |
secretArchive()
Get the secret |
|
Secret |
secretArchiveSettings()
Get the secret |
|
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 |
withRuntimeProtectionConfiguration(RuntimeProtectionConfiguration runtimeProtectionConfiguration)
Set the runtime |
|
Cluster |
withSecretArchive(ClusterSecretArchive secretArchive)
Set the secret |
|
Cluster |
withSecretArchiveSettings(SecretArchiveSettings secretArchiveSettings)
Set the secret |
|
Cluster |
withUpdateStrategy(ClusterUpdateStrategy updateStrategy)
Set the update |
|
Cluster |
withVulnerabilityScanningSettings(VulnerabilityScanningSettingsPatch vulnerabilityScanningSettings)
Set the vulnerability |
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:
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 ClusterPatchProperties fromJson(JsonReader jsonReader)
Reads an instance of ClusterPatchProperties from the JsonReader.
Parameters:
Returns:
Throws:
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:
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 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:
Returns:
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:
Returns:
withClusterLocation
public ClusterPatchProperties withClusterLocation(String clusterLocation)
Set the clusterLocation property: The customer-provided location information to identify where the cluster resides.
Parameters:
Returns:
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:
Returns:
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:
Returns:
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:
Returns:
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:
Returns:
withRuntimeProtectionConfiguration
public ClusterPatchProperties withRuntimeProtectionConfiguration(RuntimeProtectionConfiguration runtimeProtectionConfiguration)
Set the runtimeProtectionConfiguration property: The settings for cluster runtime protection.
Parameters:
Returns:
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:
Returns:
withSecretArchiveSettings
public ClusterPatchProperties withSecretArchiveSettings(SecretArchiveSettings secretArchiveSettings)
Set the secretArchiveSettings property: The settings for the secret archive used to hold credentials for the cluster.
Parameters:
Returns:
withUpdateStrategy
public ClusterPatchProperties withUpdateStrategy(ClusterUpdateStrategy updateStrategy)
Set the updateStrategy property: The strategy for updating the cluster.
Parameters:
Returns:
withVulnerabilityScanningSettings
public ClusterPatchProperties withVulnerabilityScanningSettings(VulnerabilityScanningSettingsPatch vulnerabilityScanningSettings)
Set the vulnerabilityScanningSettings property: The settings for how security vulnerability scanning is applied to the cluster.
Parameters:
Returns: