New-AzWorkloadsProviderPrometheusHaClusterInstanceObject
Create an in-memory object for PrometheusHaClusterProviderInstanceProperties.
Syntax
Default (Default)
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.
Parameter properties
Type: String
Default value: None
Supports wildcards: False
DontShow: False
Parameter sets
(All)
Position: Named
Mandatory: False
Value from pipeline: False
Value from pipeline by property name: False
Value from remaining arguments: False
-Hostname
Gets or sets the target machine name.
Parameter properties
Type: String
Default value: None
Supports wildcards: False
DontShow: False
Parameter sets
(All)
Position: Named
Mandatory: False
Value from pipeline: False
Value from pipeline by property name: False
Value from remaining arguments: False
-PrometheusUrl
URL of the Node Exporter endpoint.
Parameter properties
Type: String
Default value: None
Supports wildcards: False
DontShow: False
Parameter sets
(All)
Position: Named
Mandatory: False
Value from pipeline: False
Value from pipeline by property name: False
Value from remaining arguments: False
-Sid
Gets or sets the cluster sid.
Parameter properties
Type: String
Default value: None
Supports wildcards: False
DontShow: False
Parameter sets
(All)
Position: Named
Mandatory: False
Value from pipeline: False
Value from pipeline by property name: False
Value from remaining arguments: False
-SslCertificateUri
Gets or sets the blob URI to SSL certificate for the HA cluster exporter.
Parameter properties
Type: String
Default value: None
Supports wildcards: False
DontShow: False
Parameter sets
(All)
Position: Named
Mandatory: False
Value from pipeline: False
Value from pipeline by property name: False
Value from remaining arguments: False
-SslPreference
Gets or sets certificate preference if secure communication is enabled.
Parameter properties
Type: SslPreference
Default value: None
Supports wildcards: False
DontShow: False
Parameter sets
(All)
Position: Named
Mandatory: False
Value from pipeline: False
Value from pipeline by property name: False
Value from remaining arguments: False
CommonParameters
This cmdlet supports the common parameters: -Debug, -ErrorAction, -ErrorVariable,
-InformationAction, -InformationVariable, -OutBuffer, -OutVariable, -PipelineVariable,
-ProgressAction, -Verbose, -WarningAction, and -WarningVariable. For more information, see
about_CommonParameters .
Outputs