New-AzWorkloadsProviderPrometheusOSInstanceObject
Create an in-memory object for PrometheusOSProviderInstanceProperties.
Syntax
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.
Type: | String |
Position: | Named |
Default value: | None |
Required: | False |
Accept pipeline input: | False |
Accept wildcard characters: | False |
-SapSid
Gets or sets the SAP System Identifier.
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 prometheus node 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 |
Outputs
Collaborate with us on GitHub
The source for this content can be found on GitHub, where you can also create and review issues and pull requests. For more information, see our contributor guide.
Azure PowerShell