New-AzWorkloadsProviderPrometheusHaClusterInstanceObject
Create an in-memory object for PrometheusHaClusterProviderInstanceProperties.
Syntax
New-AzWorkloadsProviderPrometheusHaClusterInstanceObject
[-ClusterName <String>]
[-Hostname <String>]
[-PrometheusUrl <String>]
[-Sid <String>]
[-SslCertificateUri <String>]
[-SslPreference <SslPreference>]
[<CommonParameters>]
Description
Create an in-memory object for PrometheusHaClusterProviderInstanceProperties.
Examples
Example 1: Create High Availability Pacemaker cluster provider
New-AzWorkloadsProviderPrometheusHaClusterInstanceObject -ClusterName hacluster -Hostname h20dbvm0 -PrometheusUrl "http://10.0.92.5:964/metrics" -Sid X00 -SslPreference Disabled
ProviderType ClusterName Hostname PrometheusUrl Sid SslCertificateUri SslPreference
------------ ----------- -------- ------------- --- ----------------- -------------
PrometheusHaCluster hacluster h20dbvm0 http://10.0.92.5:964/metrics X00 Disabled
Create High Availability Pacemaker cluster for an AMS instance
Parameters
-ClusterName
Gets or sets the clusterName.
Type: | String |
Position: | Named |
Default value: | None |
Required: | False |
Accept pipeline input: | False |
Accept wildcard characters: | False |
-Hostname
Gets or sets the target machine name.
Type: | String |
Position: | Named |
Default value: | None |
Required: | False |
Accept pipeline input: | False |
Accept wildcard characters: | False |
-PrometheusUrl
URL of the Node Exporter endpoint.
Type: | String |
Position: | Named |
Default value: | None |
Required: | False |
Accept pipeline input: | False |
Accept wildcard characters: | False |
-Sid
Gets or sets the cluster sid.
Type: | String |
Position: | Named |
Default value: | None |
Required: | False |
Accept pipeline input: | False |
Accept wildcard characters: | False |
-SslCertificateUri
Gets or sets the blob URI to SSL certificate for the HA cluster exporter.
Type: | String |
Position: | Named |
Default value: | None |
Required: | False |
Accept pipeline input: | False |
Accept wildcard characters: | False |
-SslPreference
Gets or sets certificate preference if secure communication is enabled.
Type: | SslPreference |
Position: | Named |
Default value: | None |
Required: | False |
Accept pipeline input: | False |
Accept wildcard characters: | False |