Edit

Share via


New-AzWorkloadsProviderPrometheusOSInstanceObject

Create an in-memory object for PrometheusOSProviderInstanceProperties.

Syntax

Default (Default)

New-AzWorkloadsProviderPrometheusOSInstanceObject
    [-PrometheusUrl <String>]
    [-SapSid <String>]
    [-SslCertificateUri <String>]
    [-SslPreference <SslPreference>]
    [<CommonParameters>]

Description

Create an in-memory object for PrometheusOSProviderInstanceProperties.

Examples

Example 1: Create Linux OS Provider

New-AzWorkloadsProviderPrometheusOSInstanceObject -PrometheusUrl "http://10.1.0.4:9100/metrics" -SapSid X00 -SslPreference Disabled
ProviderType PrometheusUrl                SapSid SslCertificateUri SslPreference
------------ -------------                ------ ----------------- -------------
PrometheusOS http://10.1.0.4:9100/metrics X00                      Disabled

Create Linux Operating System provider for an AMS instance

Parameters

-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

-SapSid

Gets or sets the SAP System Identifier.

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 prometheus node 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

PrometheusOSProviderInstanceProperties