你当前正在访问 Microsoft Azure Global Edition 技术文档网站。 如果需要访问由世纪互联运营的 Microsoft Azure 中国技术文档网站,请访问 https://docs.azure.cn。
New-AzWorkloadsProviderPrometheusOSInstanceObject
为 PrometheusOSProviderInstanceProperties 创建内存中对象。
语法
New-AzWorkloadsProviderPrometheusOSInstanceObject
[-PrometheusUrl <String>]
[-SapSid <String>]
[-SslCertificateUri <String>]
[-SslPreference <SslPreference>]
[<CommonParameters>]
说明
为 PrometheusOSProviderInstanceProperties 创建内存中对象。
示例
示例 1:创建 Linux OS 提供程序
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
为 AMS 实例创建 Linux作系统提供程序
参数
-PrometheusUrl
节点导出终结点的 URL。
类型: | String |
Position: | Named |
默认值: | None |
必需: | False |
接受管道输入: | False |
接受通配符: | False |
-SapSid
获取或设置 SAP 系统标识符。
类型: | String |
Position: | Named |
默认值: | None |
必需: | False |
接受管道输入: | False |
接受通配符: | False |
-SslCertificateUri
获取或设置 prometheus 节点导出程序的 BLOB URI 到 SSL 证书。
类型: | String |
Position: | Named |
默认值: | None |
必需: | False |
接受管道输入: | False |
接受通配符: | False |
-SslPreference
获取或设置启用安全通信时证书首选项。
类型: | SslPreference |
Position: | Named |
默认值: | None |
必需: | False |
接受管道输入: | False |
接受通配符: | False |