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
意見反應
https://aka.ms/ContentUserFeedback。
即將登場:在 2024 年,我們將逐步淘汰 GitHub 問題作為內容的意見反應機制,並將它取代為新的意見反應系統。 如需詳細資訊,請參閱:提交並檢視相關的意見反應