Class ClusterPropertiesUpdateParameters
-
Constructor Summary
ConstructorDescriptionCreates an instance of ClusterPropertiesUpdateParameters class. -
Method Summary
Modifier and TypeMethodDescriptionGet the addOnFeatures property: The list of add-on features to enable in the cluster.Get the applicationTypeVersionsCleanupPolicy property: The policy used to clean up unused versions.Get the certificate property: The certificate to use for securing the cluster.Get the certificateCommonNames property: Describes a list of server certificates referenced by common name that are used to secure the cluster.Get the clientCertificateCommonNames property: The list of client certificates referenced by common name that are allowed to manage the cluster.Get the clientCertificateThumbprints property: The list of client certificates referenced by thumbprint that are allowed to manage the cluster.Get the clusterCodeVersion property: The Service Fabric runtime version of the cluster.Get the eventStoreServiceEnabled property: Indicates if the event store service is enabled.Get the fabricSettings property: The list of custom fabric settings to configure the cluster.Get the infrastructureServiceManager property: Indicates if infrastructure service manager is enabled.Get the nodeTypes property: The list of node types in the cluster.Get the notifications property: Indicates a list of notification channels for cluster events.Get the reliabilityLevel property: The reliability level sets the replica set size of system services.Get the reverseProxyCertificate property: The server certificate used by reverse proxy.Get the sfZonalUpgradeMode property: This property controls the logical grouping of VMs in upgrade domains (UDs).Get the upgradeDescription property: The policy to use when upgrading the cluster.Get the upgradeMode property: The upgrade mode of the cluster when new Service Fabric runtime version is available.Get the upgradePauseEndTimestampUtc property: The end timestamp of pause runtime version upgrades on the cluster (UTC).Get the upgradePauseStartTimestampUtc property: The start timestamp to pause runtime version upgrades on the cluster (UTC).Get the upgradeWave property: Indicates when new cluster runtime version upgrades will be applied after they are released.void
validate()
Validates the instance.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.Get the waveUpgradePaused property: Boolean to pause automatic runtime version upgrades to the cluster.withAddOnFeatures
(List<AddOnFeatures> addOnFeatures) Set the addOnFeatures property: The list of add-on features to enable in the cluster.withApplicationTypeVersionsCleanupPolicy
(ApplicationTypeVersionsCleanupPolicy applicationTypeVersionsCleanupPolicy) Set the applicationTypeVersionsCleanupPolicy property: The policy used to clean up unused versions.withCertificate
(CertificateDescription certificate) Set the certificate property: The certificate to use for securing the cluster.withCertificateCommonNames
(ServerCertificateCommonNames certificateCommonNames) Set the certificateCommonNames property: Describes a list of server certificates referenced by common name that are used to secure the cluster.withClientCertificateCommonNames
(List<ClientCertificateCommonName> clientCertificateCommonNames) Set the clientCertificateCommonNames property: The list of client certificates referenced by common name that are allowed to manage the cluster.withClientCertificateThumbprints
(List<ClientCertificateThumbprint> clientCertificateThumbprints) Set the clientCertificateThumbprints property: The list of client certificates referenced by thumbprint that are allowed to manage the cluster.withClusterCodeVersion
(String clusterCodeVersion) Set the clusterCodeVersion property: The Service Fabric runtime version of the cluster.withEventStoreServiceEnabled
(Boolean eventStoreServiceEnabled) Set the eventStoreServiceEnabled property: Indicates if the event store service is enabled.withFabricSettings
(List<SettingsSectionDescription> fabricSettings) Set the fabricSettings property: The list of custom fabric settings to configure the cluster.withInfrastructureServiceManager
(Boolean infrastructureServiceManager) Set the infrastructureServiceManager property: Indicates if infrastructure service manager is enabled.withNodeTypes
(List<NodeTypeDescription> nodeTypes) Set the nodeTypes property: The list of node types in the cluster.withNotifications
(List<Notification> notifications) Set the notifications property: Indicates a list of notification channels for cluster events.withReliabilityLevel
(ReliabilityLevel reliabilityLevel) Set the reliabilityLevel property: The reliability level sets the replica set size of system services.withReverseProxyCertificate
(CertificateDescription reverseProxyCertificate) Set the reverseProxyCertificate property: The server certificate used by reverse proxy.withSfZonalUpgradeMode
(SfZonalUpgradeMode sfZonalUpgradeMode) Set the sfZonalUpgradeMode property: This property controls the logical grouping of VMs in upgrade domains (UDs).withUpgradeDescription
(ClusterUpgradePolicy upgradeDescription) Set the upgradeDescription property: The policy to use when upgrading the cluster.withUpgradeMode
(UpgradeMode upgradeMode) Set the upgradeMode property: The upgrade mode of the cluster when new Service Fabric runtime version is available.withUpgradePauseEndTimestampUtc
(OffsetDateTime upgradePauseEndTimestampUtc) Set the upgradePauseEndTimestampUtc property: The end timestamp of pause runtime version upgrades on the cluster (UTC).withUpgradePauseStartTimestampUtc
(OffsetDateTime upgradePauseStartTimestampUtc) Set the upgradePauseStartTimestampUtc property: The start timestamp to pause runtime version upgrades on the cluster (UTC).withUpgradeWave
(ClusterUpgradeCadence upgradeWave) Set the upgradeWave property: Indicates when new cluster runtime version upgrades will be applied after they are released.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.withWaveUpgradePaused
(Boolean waveUpgradePaused) Set the waveUpgradePaused property: Boolean to pause automatic runtime version upgrades to the cluster.
-
Constructor Details
-
ClusterPropertiesUpdateParameters
public ClusterPropertiesUpdateParameters()Creates an instance of ClusterPropertiesUpdateParameters class.
-
-
Method Details
-
addOnFeatures
Get the addOnFeatures property: The list of add-on features to enable in the cluster.- Returns:
- the addOnFeatures value.
-
withAddOnFeatures
Set the addOnFeatures property: The list of add-on features to enable in the cluster.- Parameters:
addOnFeatures
- the addOnFeatures value to set.- Returns:
- the ClusterPropertiesUpdateParameters object itself.
-
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:
- the certificate value.
-
withCertificate
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:
certificate
- the certificate value to set.- Returns:
- the ClusterPropertiesUpdateParameters object itself.
-
certificateCommonNames
Get the certificateCommonNames property: Describes a list of server certificates referenced by common name that are used to secure the cluster.- Returns:
- the certificateCommonNames value.
-
withCertificateCommonNames
public ClusterPropertiesUpdateParameters 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:
certificateCommonNames
- the certificateCommonNames value to set.- Returns:
- the ClusterPropertiesUpdateParameters object itself.
-
clientCertificateCommonNames
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:
- the clientCertificateCommonNames value.
-
withClientCertificateCommonNames
public ClusterPropertiesUpdateParameters withClientCertificateCommonNames(List<ClientCertificateCommonName> clientCertificateCommonNames) 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:
clientCertificateCommonNames
- the clientCertificateCommonNames value to set.- Returns:
- the ClusterPropertiesUpdateParameters object itself.
-
clientCertificateThumbprints
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:
- the clientCertificateThumbprints value.
-
withClientCertificateThumbprints
public ClusterPropertiesUpdateParameters withClientCertificateThumbprints(List<ClientCertificateThumbprint> clientCertificateThumbprints) 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:
clientCertificateThumbprints
- the clientCertificateThumbprints value to set.- Returns:
- the ClusterPropertiesUpdateParameters object itself.
-
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](./ClusterVersion.md). To get the list of available version for existing clusters use **availableClusterVersions**.- Returns:
- the clusterCodeVersion value.
-
withClusterCodeVersion
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](./ClusterVersion.md). To get the list of available version for existing clusters use **availableClusterVersions**.- Parameters:
clusterCodeVersion
- the clusterCodeVersion value to set.- Returns:
- the ClusterPropertiesUpdateParameters object itself.
-
eventStoreServiceEnabled
Get the eventStoreServiceEnabled property: Indicates if the event store service is enabled.- Returns:
- the eventStoreServiceEnabled value.
-
withEventStoreServiceEnabled
public ClusterPropertiesUpdateParameters withEventStoreServiceEnabled(Boolean eventStoreServiceEnabled) Set the eventStoreServiceEnabled property: Indicates if the event store service is enabled.- Parameters:
eventStoreServiceEnabled
- the eventStoreServiceEnabled value to set.- Returns:
- the ClusterPropertiesUpdateParameters object itself.
-
fabricSettings
Get the fabricSettings property: The list of custom fabric settings to configure the cluster. This will overwrite the existing list.- Returns:
- the fabricSettings value.
-
withFabricSettings
public ClusterPropertiesUpdateParameters withFabricSettings(List<SettingsSectionDescription> fabricSettings) Set the fabricSettings property: The list of custom fabric settings to configure the cluster. This will overwrite the existing list.- Parameters:
fabricSettings
- the fabricSettings value to set.- Returns:
- the ClusterPropertiesUpdateParameters object itself.
-
nodeTypes
Get the nodeTypes property: The list of node types in the cluster. This will overwrite the existing list.- Returns:
- the nodeTypes value.
-
withNodeTypes
Set the nodeTypes property: The list of node types in the cluster. This will overwrite the existing list.- Parameters:
nodeTypes
- the nodeTypes value to set.- Returns:
- the ClusterPropertiesUpdateParameters object itself.
-
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:
- the reliabilityLevel value.
-
withReliabilityLevel
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:
reliabilityLevel
- the reliabilityLevel value to set.- Returns:
- the ClusterPropertiesUpdateParameters object itself.
-
reverseProxyCertificate
Get the reverseProxyCertificate property: The server certificate used by reverse proxy.- Returns:
- the reverseProxyCertificate value.
-
withReverseProxyCertificate
public ClusterPropertiesUpdateParameters withReverseProxyCertificate(CertificateDescription reverseProxyCertificate) Set the reverseProxyCertificate property: The server certificate used by reverse proxy.- Parameters:
reverseProxyCertificate
- the reverseProxyCertificate value to set.- Returns:
- the ClusterPropertiesUpdateParameters object itself.
-
upgradeDescription
Get the upgradeDescription property: The policy to use when upgrading the cluster.- Returns:
- the upgradeDescription value.
-
withUpgradeDescription
public ClusterPropertiesUpdateParameters withUpgradeDescription(ClusterUpgradePolicy upgradeDescription) Set the upgradeDescription property: The policy to use when upgrading the cluster.- Parameters:
upgradeDescription
- the upgradeDescription value to set.- Returns:
- the ClusterPropertiesUpdateParameters object itself.
-
applicationTypeVersionsCleanupPolicy
Get the applicationTypeVersionsCleanupPolicy property: The policy used to clean up unused versions.- Returns:
- the applicationTypeVersionsCleanupPolicy value.
-
withApplicationTypeVersionsCleanupPolicy
public ClusterPropertiesUpdateParameters withApplicationTypeVersionsCleanupPolicy(ApplicationTypeVersionsCleanupPolicy applicationTypeVersionsCleanupPolicy) Set the applicationTypeVersionsCleanupPolicy property: The policy used to clean up unused versions.- Parameters:
applicationTypeVersionsCleanupPolicy
- the applicationTypeVersionsCleanupPolicy value to set.- Returns:
- the ClusterPropertiesUpdateParameters object itself.
-
upgradeMode
Get the upgradeMode property: The upgrade mode of the cluster when new Service Fabric runtime version is available.- Returns:
- the upgradeMode value.
-
withUpgradeMode
Set the upgradeMode property: The upgrade mode of the cluster when new Service Fabric runtime version is available.- Parameters:
upgradeMode
- the upgradeMode value to set.- Returns:
- the ClusterPropertiesUpdateParameters object itself.
-
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:
- the sfZonalUpgradeMode value.
-
withSfZonalUpgradeMode
public ClusterPropertiesUpdateParameters 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:
sfZonalUpgradeMode
- the sfZonalUpgradeMode value to set.- Returns:
- the ClusterPropertiesUpdateParameters object itself.
-
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:
- the vmssZonalUpgradeMode value.
-
withVmssZonalUpgradeMode
public ClusterPropertiesUpdateParameters 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:
vmssZonalUpgradeMode
- the vmssZonalUpgradeMode value to set.- Returns:
- the ClusterPropertiesUpdateParameters object itself.
-
infrastructureServiceManager
Get the infrastructureServiceManager property: Indicates if infrastructure service manager is enabled.- Returns:
- the infrastructureServiceManager value.
-
withInfrastructureServiceManager
public ClusterPropertiesUpdateParameters withInfrastructureServiceManager(Boolean infrastructureServiceManager) Set the infrastructureServiceManager property: Indicates if infrastructure service manager is enabled.- Parameters:
infrastructureServiceManager
- the infrastructureServiceManager value to set.- Returns:
- the ClusterPropertiesUpdateParameters object itself.
-
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:
- the upgradeWave value.
-
withUpgradeWave
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:
upgradeWave
- the upgradeWave value to set.- Returns:
- the ClusterPropertiesUpdateParameters object itself.
-
upgradePauseStartTimestampUtc
Get the upgradePauseStartTimestampUtc property: The start timestamp to pause runtime version upgrades on the cluster (UTC).- Returns:
- the upgradePauseStartTimestampUtc value.
-
withUpgradePauseStartTimestampUtc
public ClusterPropertiesUpdateParameters withUpgradePauseStartTimestampUtc(OffsetDateTime upgradePauseStartTimestampUtc) Set the upgradePauseStartTimestampUtc property: The start timestamp to pause runtime version upgrades on the cluster (UTC).- Parameters:
upgradePauseStartTimestampUtc
- the upgradePauseStartTimestampUtc value to set.- Returns:
- the ClusterPropertiesUpdateParameters object itself.
-
upgradePauseEndTimestampUtc
Get the upgradePauseEndTimestampUtc property: The end timestamp of pause runtime version upgrades on the cluster (UTC).- Returns:
- the upgradePauseEndTimestampUtc value.
-
withUpgradePauseEndTimestampUtc
public ClusterPropertiesUpdateParameters withUpgradePauseEndTimestampUtc(OffsetDateTime upgradePauseEndTimestampUtc) Set the upgradePauseEndTimestampUtc property: The end timestamp of pause runtime version upgrades on the cluster (UTC).- Parameters:
upgradePauseEndTimestampUtc
- the upgradePauseEndTimestampUtc value to set.- Returns:
- the ClusterPropertiesUpdateParameters object itself.
-
waveUpgradePaused
Get the waveUpgradePaused property: Boolean to pause automatic runtime version upgrades to the cluster.- Returns:
- the waveUpgradePaused value.
-
withWaveUpgradePaused
Set the waveUpgradePaused property: Boolean to pause automatic runtime version upgrades to the cluster.- Parameters:
waveUpgradePaused
- the waveUpgradePaused value to set.- Returns:
- the ClusterPropertiesUpdateParameters object itself.
-
notifications
Get the notifications property: Indicates a list of notification channels for cluster events.- Returns:
- the notifications value.
-
withNotifications
Set the notifications property: Indicates a list of notification channels for cluster events.- Parameters:
notifications
- the notifications value to set.- Returns:
- the ClusterPropertiesUpdateParameters object itself.
-
validate
public void validate()Validates the instance.- Throws:
IllegalArgumentException
- thrown if the instance is not valid.
-