ClusterUpdateParameters Class
- java.
lang. Object - com.
azure. resourcemanager. servicefabric. models. ClusterUpdateParameters
- com.
public final class ClusterUpdateParameters
Cluster update request.
Constructor Summary
Constructor | Description |
---|---|
ClusterUpdateParameters() |
Creates an instance of Cluster |
Method Summary
Modifier and Type | Method and Description |
---|---|
List<Add |
addOnFeatures()
Get the add |
Application |
applicationTypeVersionsCleanupPolicy()
Get the application |
Certificate |
certificate()
Get the certificate property: The certificate to use for securing the cluster. |
Server |
certificateCommonNames()
Get the certificate |
List<Client |
clientCertificateCommonNames()
Get the client |
List<Client |
clientCertificateThumbprints()
Get the client |
String |
clusterCodeVersion()
Get the cluster |
Boolean |
eventStoreServiceEnabled()
Get the event |
List<Settings |
fabricSettings()
Get the fabric |
Boolean |
infrastructureServiceManager()
Get the infrastructure |
List<Node |
nodeTypes()
Get the node |
List<Notification> |
notifications()
Get the notifications property: Indicates a list of notification channels for cluster events. |
Reliability |
reliabilityLevel()
Get the reliability |
Certificate |
reverseProxyCertificate()
Get the reverse |
Sf |
sfZonalUpgradeMode()
Get the sf |
Map<String,String> |
tags()
Get the tags property: Cluster update parameters. |
Cluster |
upgradeDescription()
Get the upgrade |
Upgrade |
upgradeMode()
Get the upgrade |
Offset |
upgradePauseEndTimestampUtc()
Get the upgrade |
Offset |
upgradePauseStartTimestampUtc()
Get the upgrade |
Cluster |
upgradeWave()
Get the upgrade |
void |
validate()
Validates the instance. |
Vmss |
vmssZonalUpgradeMode()
Get the vmss |
Boolean |
waveUpgradePaused()
Get the wave |
Cluster |
withAddOnFeatures(List<AddOnFeatures> addOnFeatures)
Set the add |
Cluster |
withApplicationTypeVersionsCleanupPolicy(ApplicationTypeVersionsCleanupPolicy applicationTypeVersionsCleanupPolicy)
Set the application |
Cluster |
withCertificate(CertificateDescription certificate)
Set the certificate property: The certificate to use for securing the cluster. |
Cluster |
withCertificateCommonNames(ServerCertificateCommonNames certificateCommonNames)
Set the certificate |
Cluster |
withClientCertificateCommonNames(List<ClientCertificateCommonName> clientCertificateCommonNames)
Set the client |
Cluster |
withClientCertificateThumbprints(List<ClientCertificateThumbprint> clientCertificateThumbprints)
Set the client |
Cluster |
withClusterCodeVersion(String clusterCodeVersion)
Set the cluster |
Cluster |
withEventStoreServiceEnabled(Boolean eventStoreServiceEnabled)
Set the event |
Cluster |
withFabricSettings(List<SettingsSectionDescription> fabricSettings)
Set the fabric |
Cluster |
withInfrastructureServiceManager(Boolean infrastructureServiceManager)
Set the infrastructure |
Cluster |
withNodeTypes(List<NodeTypeDescription> nodeTypes)
Set the node |
Cluster |
withNotifications(List<Notification> notifications)
Set the notifications property: Indicates a list of notification channels for cluster events. |
Cluster |
withReliabilityLevel(ReliabilityLevel reliabilityLevel)
Set the reliability |
Cluster |
withReverseProxyCertificate(CertificateDescription reverseProxyCertificate)
Set the reverse |
Cluster |
withSfZonalUpgradeMode(SfZonalUpgradeMode sfZonalUpgradeMode)
Set the sf |
Cluster |
withTags(Map<String,String> tags)
Set the tags property: Cluster update parameters. |
Cluster |
withUpgradeDescription(ClusterUpgradePolicy upgradeDescription)
Set the upgrade |
Cluster |
withUpgradeMode(UpgradeMode upgradeMode)
Set the upgrade |
Cluster |
withUpgradePauseEndTimestampUtc(OffsetDateTime upgradePauseEndTimestampUtc)
Set the upgrade |
Cluster |
withUpgradePauseStartTimestampUtc(OffsetDateTime upgradePauseStartTimestampUtc)
Set the upgrade |
Cluster |
withUpgradeWave(ClusterUpgradeCadence upgradeWave)
Set the upgrade |
Cluster |
withVmssZonalUpgradeMode(VmssZonalUpgradeMode vmssZonalUpgradeMode)
Set the vmss |
Cluster |
withWaveUpgradePaused(Boolean waveUpgradePaused)
Set the wave |
Methods inherited from java.lang.Object
Constructor Details
ClusterUpdateParameters
public ClusterUpdateParameters()
Creates an instance of ClusterUpdateParameters class.
Method Details
addOnFeatures
public List
Get the addOnFeatures property: The list of add-on features to enable in the cluster.
Returns:
applicationTypeVersionsCleanupPolicy
public ApplicationTypeVersionsCleanupPolicy applicationTypeVersionsCleanupPolicy()
Get the applicationTypeVersionsCleanupPolicy property: The policy used to clean up unused versions.
Returns:
certificate
public CertificateDescription certificate()
Get the certificate property: The certificate to use for securing the cluster. The certificate provided will be used for node to node security within the cluster, SSL certificate for cluster management endpoint and default admin client.
Returns:
certificateCommonNames
public ServerCertificateCommonNames certificateCommonNames()
Get the certificateCommonNames property: Describes a list of server certificates referenced by common name that are used to secure the cluster.
Returns:
clientCertificateCommonNames
public List
Get the clientCertificateCommonNames property: The list of client certificates referenced by common name that are allowed to manage the cluster. This will overwrite the existing list.
Returns:
clientCertificateThumbprints
public List
Get the clientCertificateThumbprints property: The list of client certificates referenced by thumbprint that are allowed to manage the cluster. This will overwrite the existing list.
Returns:
clusterCodeVersion
public String clusterCodeVersion()
Get the clusterCodeVersion property: The Service Fabric runtime version of the cluster. This property can only by set the user when **upgradeMode** is set to 'Manual'. To get list of available Service Fabric versions for new clusters use [ClusterVersion API](https://learn.microsoft.com/rest/api/servicefabric/cluster-versions/list). To get the list of available version for existing clusters use **availableClusterVersions**.
Returns:
eventStoreServiceEnabled
public Boolean eventStoreServiceEnabled()
Get the eventStoreServiceEnabled property: Indicates if the event store service is enabled.
Returns:
fabricSettings
public List
Get the fabricSettings property: The list of custom fabric settings to configure the cluster. This will overwrite the existing list.
Returns:
infrastructureServiceManager
public Boolean infrastructureServiceManager()
Get the infrastructureServiceManager property: Indicates if infrastructure service manager is enabled.
Returns:
nodeTypes
public List
Get the nodeTypes property: The list of node types in the cluster. This will overwrite the existing list.
Returns:
notifications
public List
Get the notifications property: Indicates a list of notification channels for cluster events.
Returns:
reliabilityLevel
public ReliabilityLevel reliabilityLevel()
Get the reliabilityLevel property: The reliability level sets the replica set size of system services. Learn about [ReliabilityLevel](https://docs.microsoft.com/azure/service-fabric/service-fabric-cluster-capacity). - None - Run the System services with a target replica set count of 1. This should only be used for test clusters. - Bronze - Run the System services with a target replica set count of 3. This should only be used for test clusters. - Silver - Run the System services with a target replica set count of 5. - Gold - Run the System services with a target replica set count of 7. - Platinum - Run the System services with a target replica set count of 9.
Returns:
reverseProxyCertificate
public CertificateDescription reverseProxyCertificate()
Get the reverseProxyCertificate property: The server certificate used by reverse proxy.
Returns:
sfZonalUpgradeMode
public SfZonalUpgradeMode sfZonalUpgradeMode()
Get the sfZonalUpgradeMode property: This property controls the logical grouping of VMs in upgrade domains (UDs). This property can't be modified if a node type with multiple Availability Zones is already present in the cluster.
Returns:
tags
public Map
Get the tags property: Cluster update parameters.
Returns:
upgradeDescription
public ClusterUpgradePolicy upgradeDescription()
Get the upgradeDescription property: The policy to use when upgrading the cluster.
Returns:
upgradeMode
public UpgradeMode upgradeMode()
Get the upgradeMode property: The upgrade mode of the cluster when new Service Fabric runtime version is available.
Returns:
upgradePauseEndTimestampUtc
public OffsetDateTime upgradePauseEndTimestampUtc()
Get the upgradePauseEndTimestampUtc property: The end timestamp of pause runtime version upgrades on the cluster (UTC).
Returns:
upgradePauseStartTimestampUtc
public OffsetDateTime upgradePauseStartTimestampUtc()
Get the upgradePauseStartTimestampUtc property: The start timestamp to pause runtime version upgrades on the cluster (UTC).
Returns:
upgradeWave
public ClusterUpgradeCadence upgradeWave()
Get the upgradeWave property: Indicates when new cluster runtime version upgrades will be applied after they are released. By default is Wave0. Only applies when **upgradeMode** is set to 'Automatic'.
Returns:
validate
public void validate()
Validates the instance.
vmssZonalUpgradeMode
public VmssZonalUpgradeMode vmssZonalUpgradeMode()
Get the vmssZonalUpgradeMode property: This property defines the upgrade mode for the virtual machine scale set, it is mandatory if a node type with multiple Availability Zones is added.
Returns:
waveUpgradePaused
public Boolean waveUpgradePaused()
Get the waveUpgradePaused property: Boolean to pause automatic runtime version upgrades to the cluster.
Returns:
withAddOnFeatures
public ClusterUpdateParameters withAddOnFeatures(List
Set the addOnFeatures property: The list of add-on features to enable in the cluster.
Parameters:
Returns:
withApplicationTypeVersionsCleanupPolicy
public ClusterUpdateParameters withApplicationTypeVersionsCleanupPolicy(ApplicationTypeVersionsCleanupPolicy applicationTypeVersionsCleanupPolicy)
Set the applicationTypeVersionsCleanupPolicy property: The policy used to clean up unused versions.
Parameters:
Returns:
withCertificate
public ClusterUpdateParameters withCertificate(CertificateDescription certificate)
Set the certificate property: The certificate to use for securing the cluster. The certificate provided will be used for node to node security within the cluster, SSL certificate for cluster management endpoint and default admin client.
Parameters:
Returns:
withCertificateCommonNames
public ClusterUpdateParameters withCertificateCommonNames(ServerCertificateCommonNames certificateCommonNames)
Set the certificateCommonNames property: Describes a list of server certificates referenced by common name that are used to secure the cluster.
Parameters:
Returns:
withClientCertificateCommonNames
public ClusterUpdateParameters withClientCertificateCommonNames(List
Set the clientCertificateCommonNames property: The list of client certificates referenced by common name that are allowed to manage the cluster. This will overwrite the existing list.
Parameters:
Returns:
withClientCertificateThumbprints
public ClusterUpdateParameters withClientCertificateThumbprints(List
Set the clientCertificateThumbprints property: The list of client certificates referenced by thumbprint that are allowed to manage the cluster. This will overwrite the existing list.
Parameters:
Returns:
withClusterCodeVersion
public ClusterUpdateParameters withClusterCodeVersion(String clusterCodeVersion)
Set the clusterCodeVersion property: The Service Fabric runtime version of the cluster. This property can only by set the user when **upgradeMode** is set to 'Manual'. To get list of available Service Fabric versions for new clusters use [ClusterVersion API](https://learn.microsoft.com/rest/api/servicefabric/cluster-versions/list). To get the list of available version for existing clusters use **availableClusterVersions**.
Parameters:
Returns:
withEventStoreServiceEnabled
public ClusterUpdateParameters withEventStoreServiceEnabled(Boolean eventStoreServiceEnabled)
Set the eventStoreServiceEnabled property: Indicates if the event store service is enabled.
Parameters:
Returns:
withFabricSettings
public ClusterUpdateParameters withFabricSettings(List
Set the fabricSettings property: The list of custom fabric settings to configure the cluster. This will overwrite the existing list.
Parameters:
Returns:
withInfrastructureServiceManager
public ClusterUpdateParameters withInfrastructureServiceManager(Boolean infrastructureServiceManager)
Set the infrastructureServiceManager property: Indicates if infrastructure service manager is enabled.
Parameters:
Returns:
withNodeTypes
public ClusterUpdateParameters withNodeTypes(List
Set the nodeTypes property: The list of node types in the cluster. This will overwrite the existing list.
Parameters:
Returns:
withNotifications
public ClusterUpdateParameters withNotifications(List
Set the notifications property: Indicates a list of notification channels for cluster events.
Parameters:
Returns:
withReliabilityLevel
public ClusterUpdateParameters withReliabilityLevel(ReliabilityLevel reliabilityLevel)
Set the reliabilityLevel property: The reliability level sets the replica set size of system services. Learn about [ReliabilityLevel](https://docs.microsoft.com/azure/service-fabric/service-fabric-cluster-capacity). - None - Run the System services with a target replica set count of 1. This should only be used for test clusters. - Bronze - Run the System services with a target replica set count of 3. This should only be used for test clusters. - Silver - Run the System services with a target replica set count of 5. - Gold - Run the System services with a target replica set count of 7. - Platinum - Run the System services with a target replica set count of 9.
Parameters:
Returns:
withReverseProxyCertificate
public ClusterUpdateParameters withReverseProxyCertificate(CertificateDescription reverseProxyCertificate)
Set the reverseProxyCertificate property: The server certificate used by reverse proxy.
Parameters:
Returns:
withSfZonalUpgradeMode
public ClusterUpdateParameters withSfZonalUpgradeMode(SfZonalUpgradeMode sfZonalUpgradeMode)
Set the sfZonalUpgradeMode property: This property controls the logical grouping of VMs in upgrade domains (UDs). This property can't be modified if a node type with multiple Availability Zones is already present in the cluster.
Parameters:
Returns:
withTags
public ClusterUpdateParameters withTags(Map
Set the tags property: Cluster update parameters.
Parameters:
Returns:
withUpgradeDescription
public ClusterUpdateParameters withUpgradeDescription(ClusterUpgradePolicy upgradeDescription)
Set the upgradeDescription property: The policy to use when upgrading the cluster.
Parameters:
Returns:
withUpgradeMode
public ClusterUpdateParameters withUpgradeMode(UpgradeMode upgradeMode)
Set the upgradeMode property: The upgrade mode of the cluster when new Service Fabric runtime version is available.
Parameters:
Returns:
withUpgradePauseEndTimestampUtc
public ClusterUpdateParameters withUpgradePauseEndTimestampUtc(OffsetDateTime upgradePauseEndTimestampUtc)
Set the upgradePauseEndTimestampUtc property: The end timestamp of pause runtime version upgrades on the cluster (UTC).
Parameters:
Returns:
withUpgradePauseStartTimestampUtc
public ClusterUpdateParameters withUpgradePauseStartTimestampUtc(OffsetDateTime upgradePauseStartTimestampUtc)
Set the upgradePauseStartTimestampUtc property: The start timestamp to pause runtime version upgrades on the cluster (UTC).
Parameters:
Returns:
withUpgradeWave
public ClusterUpdateParameters withUpgradeWave(ClusterUpgradeCadence upgradeWave)
Set the upgradeWave property: Indicates when new cluster runtime version upgrades will be applied after they are released. By default is Wave0. Only applies when **upgradeMode** is set to 'Automatic'.
Parameters:
Returns:
withVmssZonalUpgradeMode
public ClusterUpdateParameters withVmssZonalUpgradeMode(VmssZonalUpgradeMode vmssZonalUpgradeMode)
Set the vmssZonalUpgradeMode property: This property defines the upgrade mode for the virtual machine scale set, it is mandatory if a node type with multiple Availability Zones is added.
Parameters:
Returns:
withWaveUpgradePaused
public ClusterUpdateParameters withWaveUpgradePaused(Boolean waveUpgradePaused)
Set the waveUpgradePaused property: Boolean to pause automatic runtime version upgrades to the cluster.
Parameters:
Returns:
Applies to
Azure SDK for Java
Feedback
https://aka.ms/ContentUserFeedback.
Coming soon: Throughout 2024 we will be phasing out GitHub Issues as the feedback mechanism for content and replacing it with a new feedback system. For more information see:Submit and view feedback for