ClusterInner Class
- java.
lang. Object - com.
azure. core. management. ProxyResource - com.
azure. core. management. Resource - com.
azure. resourcemanager. servicefabric. fluent. models. ClusterInner
- com.
- com.
- com.
public final class ClusterInner
extends Resource
The cluster resource.
Constructor Summary
| Constructor | Description |
|---|---|
| ClusterInner() |
Creates an instance of Cluster |
Method Summary
| Modifier and Type | Method and Description |
|---|---|
|
List<Add |
addOnFeatures()
Get the add |
|
Application |
applicationTypeVersionsCleanupPolicy()
Get the application |
|
List<Cluster |
availableClusterVersions()
Get the available |
|
Azure |
azureActiveDirectory()
Get the azure |
|
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 |
| String |
clusterEndpoint()
Get the cluster |
| String |
clusterId()
Get the cluster |
|
Cluster |
clusterState()
Get the cluster |
|
Diagnostics |
diagnosticsStorageAccountConfig()
Get the diagnostics |
| String |
etag()
Get the etag property: Azure resource etag. |
| Boolean |
eventStoreServiceEnabled()
Get the event |
|
List<Settings |
fabricSettings()
Get the fabric |
|
static
Cluster |
fromJson(JsonReader jsonReader)
Reads an instance of Cluster |
| String |
id()
Get the id property: Fully qualified resource Id for the resource. |
| Boolean |
infrastructureServiceManager()
Get the infrastructure |
| String |
managementEndpoint()
Get the management |
| String |
name()
Get the name property: The name of the resource. |
|
List<Node |
nodeTypes()
Get the node |
| List<Notification> |
notifications()
Get the notifications property: Indicates a list of notification channels for cluster events. |
|
Provisioning |
provisioningState()
Get the provisioning |
|
Reliability |
reliabilityLevel()
Get the reliability |
|
Certificate |
reverseProxyCertificate()
Get the reverse |
|
Server |
reverseProxyCertificateCommonNames()
Get the reverse |
|
Sf |
sfZonalUpgradeMode()
Get the sf |
|
System |
systemData()
Get the system |
|
Json |
toJson(JsonWriter jsonWriter) |
| String |
type()
Get the type property: The type of the resource. |
|
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. |
| String |
vmImage()
Get the vm |
|
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 |
withAzureActiveDirectory(AzureActiveDirectory azureActiveDirectory)
Set the azure |
|
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 |
withDiagnosticsStorageAccountConfig(DiagnosticsStorageAccountConfig diagnosticsStorageAccountConfig)
Set the diagnostics |
|
Cluster |
withEventStoreServiceEnabled(Boolean eventStoreServiceEnabled)
Set the event |
|
Cluster |
withFabricSettings(List<SettingsSectionDescription> fabricSettings)
Set the fabric |
|
Cluster |
withInfrastructureServiceManager(Boolean infrastructureServiceManager)
Set the infrastructure |
|
Cluster |
withLocation(String location) |
|
Cluster |
withManagementEndpoint(String managementEndpoint)
Set the management |
|
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 |
withReverseProxyCertificateCommonNames(ServerCertificateCommonNames reverseProxyCertificateCommonNames)
Set the reverse |
|
Cluster |
withSfZonalUpgradeMode(SfZonalUpgradeMode sfZonalUpgradeMode)
Set the sf |
|
Cluster |
withTags(Map<String,String> tags) |
|
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 |
withVmImage(String vmImage)
Set the vm |
|
Cluster |
withVmssZonalUpgradeMode(VmssZonalUpgradeMode vmssZonalUpgradeMode)
Set the vmss |
|
Cluster |
withWaveUpgradePaused(Boolean waveUpgradePaused)
Set the wave |
Methods inherited from ProxyResource
Methods inherited from Resource
Methods inherited from java.lang.Object
Constructor Details
ClusterInner
public ClusterInner()
Creates an instance of ClusterInner class.
Method Details
addOnFeatures
public List<AddOnFeatures> addOnFeatures()
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:
availableClusterVersions
public List<ClusterVersionDetails> availableClusterVersions()
Get the availableClusterVersions property: The Service Fabric runtime versions available for this cluster.
Returns:
azureActiveDirectory
public AzureActiveDirectory azureActiveDirectory()
Get the azureActiveDirectory property: The AAD authentication settings of the cluster.
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<ClientCertificateCommonName> clientCertificateCommonNames()
Get the clientCertificateCommonNames property: The list of client certificates referenced by common name that are allowed to manage the cluster.
Returns:
clientCertificateThumbprints
public List<ClientCertificateThumbprint> clientCertificateThumbprints()
Get the clientCertificateThumbprints property: The list of client certificates referenced by thumbprint that are allowed to manage the cluster.
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:
clusterEndpoint
public String clusterEndpoint()
Get the clusterEndpoint property: The Azure Resource Provider endpoint. A system service in the cluster connects to this endpoint.
Returns:
clusterId
public String clusterId()
Get the clusterId property: A service generated unique identifier for the cluster resource.
Returns:
clusterState
public ClusterState clusterState()
Get the clusterState property: The current state of the cluster. - WaitingForNodes - Indicates that the cluster resource is created and the resource provider is waiting for Service Fabric VM extension to boot up and report to it. - Deploying - Indicates that the Service Fabric runtime is being installed on the VMs. Cluster resource will be in this state until the cluster boots up and system services are up. - BaselineUpgrade - Indicates that the cluster is upgrading to establishes the cluster version. This upgrade is automatically initiated when the cluster boots up for the first time. - UpdatingUserConfiguration - Indicates that the cluster is being upgraded with the user provided configuration. - UpdatingUserCertificate - Indicates that the cluster is being upgraded with the user provided certificate. - UpdatingInfrastructure - Indicates that the cluster is being upgraded with the latest Service Fabric runtime version. This happens only when the **upgradeMode** is set to 'Automatic'. - EnforcingClusterVersion - Indicates that cluster is on a different version than expected and the cluster is being upgraded to the expected version. - UpgradeServiceUnreachable - Indicates that the system service in the cluster is no longer polling the Resource Provider. Clusters in this state cannot be managed by the Resource Provider. - AutoScale - Indicates that the ReliabilityLevel of the cluster is being adjusted. - Ready - Indicates that the cluster is in a stable state.
Returns:
diagnosticsStorageAccountConfig
public DiagnosticsStorageAccountConfig diagnosticsStorageAccountConfig()
Get the diagnosticsStorageAccountConfig property: The storage account information for storing Service Fabric diagnostic logs.
Returns:
etag
public String etag()
Get the etag property: Azure resource etag.
Returns:
eventStoreServiceEnabled
public Boolean eventStoreServiceEnabled()
Get the eventStoreServiceEnabled property: Indicates if the event store service is enabled.
Returns:
fabricSettings
public List<SettingsSectionDescription> fabricSettings()
Get the fabricSettings property: The list of custom fabric settings to configure the cluster.
Returns:
fromJson
public static ClusterInner fromJson(JsonReader jsonReader)
Reads an instance of ClusterInner from the JsonReader.
Parameters:
Returns:
Throws:
id
public String id()
Get the id property: Fully qualified resource Id for the resource.
Overrides:
ClusterInner.id()Returns:
infrastructureServiceManager
public Boolean infrastructureServiceManager()
Get the infrastructureServiceManager property: Indicates if infrastructure service manager is enabled.
Returns:
managementEndpoint
public String managementEndpoint()
Get the managementEndpoint property: The http management endpoint of the cluster.
Returns:
name
public String name()
Get the name property: The name of the resource.
Overrides:
ClusterInner.name()Returns:
nodeTypes
public List<NodeTypeDescription> nodeTypes()
Get the nodeTypes property: The list of node types in the cluster.
Returns:
notifications
public List<Notification> notifications()
Get the notifications property: Indicates a list of notification channels for cluster events.
Returns:
provisioningState
public ProvisioningState provisioningState()
Get the provisioningState property: The provisioning state of the cluster resource.
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:
reverseProxyCertificateCommonNames
public ServerCertificateCommonNames reverseProxyCertificateCommonNames()
Get the reverseProxyCertificateCommonNames property: Describes a list of server certificates referenced by common name that are used to secure the cluster.
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:
systemData
public SystemData systemData()
Get the systemData property: Metadata pertaining to creation and last modification of the resource.
Returns:
toJson
public JsonWriter toJson(JsonWriter jsonWriter)
Overrides:
ClusterInner.toJson(JsonWriter jsonWriter)Parameters:
Throws:
type
public String type()
Get the type property: The type of the resource.
Overrides:
ClusterInner.type()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: Indicates the end date and time to pause automatic runtime version upgrades on the cluster for an specific period of time on the cluster (UTC).
Returns:
upgradePauseStartTimestampUtc
public OffsetDateTime upgradePauseStartTimestampUtc()
Get the upgradePauseStartTimestampUtc property: Indicates the start date and time to pause automatic runtime version upgrades on the cluster for an specific period of time 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.
vmImage
public String vmImage()
Get the vmImage property: The VM image VMSS has been configured with. Generic names such as Windows or Linux can be used.
Returns:
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 ClusterInner withAddOnFeatures(List<AddOnFeatures> addOnFeatures)
Set the addOnFeatures property: The list of add-on features to enable in the cluster.
Parameters:
Returns:
withApplicationTypeVersionsCleanupPolicy
public ClusterInner withApplicationTypeVersionsCleanupPolicy(ApplicationTypeVersionsCleanupPolicy applicationTypeVersionsCleanupPolicy)
Set the applicationTypeVersionsCleanupPolicy property: The policy used to clean up unused versions.
Parameters:
Returns:
withAzureActiveDirectory
public ClusterInner withAzureActiveDirectory(AzureActiveDirectory azureActiveDirectory)
Set the azureActiveDirectory property: The AAD authentication settings of the cluster.
Parameters:
Returns:
withCertificate
public ClusterInner 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 ClusterInner 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 ClusterInner withClientCertificateCommonNames(List<ClientCertificateCommonName> clientCertificateCommonNames)
Set the clientCertificateCommonNames property: The list of client certificates referenced by common name that are allowed to manage the cluster.
Parameters:
Returns:
withClientCertificateThumbprints
public ClusterInner withClientCertificateThumbprints(List<ClientCertificateThumbprint> clientCertificateThumbprints)
Set the clientCertificateThumbprints property: The list of client certificates referenced by thumbprint that are allowed to manage the cluster.
Parameters:
Returns:
withClusterCodeVersion
public ClusterInner 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:
withDiagnosticsStorageAccountConfig
public ClusterInner withDiagnosticsStorageAccountConfig(DiagnosticsStorageAccountConfig diagnosticsStorageAccountConfig)
Set the diagnosticsStorageAccountConfig property: The storage account information for storing Service Fabric diagnostic logs.
Parameters:
Returns:
withEventStoreServiceEnabled
public ClusterInner withEventStoreServiceEnabled(Boolean eventStoreServiceEnabled)
Set the eventStoreServiceEnabled property: Indicates if the event store service is enabled.
Parameters:
Returns:
withFabricSettings
public ClusterInner withFabricSettings(List<SettingsSectionDescription> fabricSettings)
Set the fabricSettings property: The list of custom fabric settings to configure the cluster.
Parameters:
Returns:
withInfrastructureServiceManager
public ClusterInner withInfrastructureServiceManager(Boolean infrastructureServiceManager)
Set the infrastructureServiceManager property: Indicates if infrastructure service manager is enabled.
Parameters:
Returns:
withLocation
public ClusterInner withLocation(String location)
Overrides:
ClusterInner.withLocation(String location)Parameters:
withManagementEndpoint
public ClusterInner withManagementEndpoint(String managementEndpoint)
Set the managementEndpoint property: The http management endpoint of the cluster.
Parameters:
Returns:
withNodeTypes
public ClusterInner withNodeTypes(List<NodeTypeDescription> nodeTypes)
Set the nodeTypes property: The list of node types in the cluster.
Parameters:
Returns:
withNotifications
public ClusterInner withNotifications(List<Notification> notifications)
Set the notifications property: Indicates a list of notification channels for cluster events.
Parameters:
Returns:
withReliabilityLevel
public ClusterInner 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 ClusterInner withReverseProxyCertificate(CertificateDescription reverseProxyCertificate)
Set the reverseProxyCertificate property: The server certificate used by reverse proxy.
Parameters:
Returns:
withReverseProxyCertificateCommonNames
public ClusterInner withReverseProxyCertificateCommonNames(ServerCertificateCommonNames reverseProxyCertificateCommonNames)
Set the reverseProxyCertificateCommonNames property: Describes a list of server certificates referenced by common name that are used to secure the cluster.
Parameters:
Returns:
withSfZonalUpgradeMode
public ClusterInner 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 ClusterInner withTags(Map<String,String> tags)
Overrides:
ClusterInner.withTags(Map<String,String> tags)Parameters:
withUpgradeDescription
public ClusterInner withUpgradeDescription(ClusterUpgradePolicy upgradeDescription)
Set the upgradeDescription property: The policy to use when upgrading the cluster.
Parameters:
Returns:
withUpgradeMode
public ClusterInner 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 ClusterInner withUpgradePauseEndTimestampUtc(OffsetDateTime upgradePauseEndTimestampUtc)
Set the upgradePauseEndTimestampUtc property: Indicates the end date and time to pause automatic runtime version upgrades on the cluster for an specific period of time on the cluster (UTC).
Parameters:
Returns:
withUpgradePauseStartTimestampUtc
public ClusterInner withUpgradePauseStartTimestampUtc(OffsetDateTime upgradePauseStartTimestampUtc)
Set the upgradePauseStartTimestampUtc property: Indicates the start date and time to pause automatic runtime version upgrades on the cluster for an specific period of time on the cluster (UTC).
Parameters:
Returns:
withUpgradeWave
public ClusterInner 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:
withVmImage
public ClusterInner withVmImage(String vmImage)
Set the vmImage property: The VM image VMSS has been configured with. Generic names such as Windows or Linux can be used.
Parameters:
Returns:
withVmssZonalUpgradeMode
public ClusterInner 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 ClusterInner withWaveUpgradePaused(Boolean waveUpgradePaused)
Set the waveUpgradePaused property: Boolean to pause automatic runtime version upgrades to the cluster.
Parameters:
Returns: