ArmContainerServiceModelFactory.ManagedClusterAzureMonitorProfileContainerInsights Method
Definition
Important
Some information relates to prerelease product that may be substantially modified before it’s released. Microsoft makes no warranties, express or implied, with respect to the information provided here.
public static Azure.ResourceManager.ContainerService.Models.ManagedClusterAzureMonitorProfileContainerInsights ManagedClusterAzureMonitorProfileContainerInsights(bool? isContainerInsightsEnabled = default, Azure.Core.ResourceIdentifier logAnalyticsWorkspaceResourceId = default, long? syslogPort = default, bool? isCustomMetricsDisabled = default, bool? isPrometheusMetricsScrapingDisabled = default, Azure.ResourceManager.ContainerService.Models.ContainerNetworkLogs? containerNetworkLogs = default);
static member ManagedClusterAzureMonitorProfileContainerInsights : Nullable<bool> * Azure.Core.ResourceIdentifier * Nullable<int64> * Nullable<bool> * Nullable<bool> * Nullable<Azure.ResourceManager.ContainerService.Models.ContainerNetworkLogs> -> Azure.ResourceManager.ContainerService.Models.ManagedClusterAzureMonitorProfileContainerInsights
Public Shared Function ManagedClusterAzureMonitorProfileContainerInsights (Optional isContainerInsightsEnabled As Nullable(Of Boolean) = Nothing, Optional logAnalyticsWorkspaceResourceId As ResourceIdentifier = Nothing, Optional syslogPort As Nullable(Of Long) = Nothing, Optional isCustomMetricsDisabled As Nullable(Of Boolean) = Nothing, Optional isPrometheusMetricsScrapingDisabled As Nullable(Of Boolean) = Nothing, Optional containerNetworkLogs As Nullable(Of ContainerNetworkLogs) = Nothing) As ManagedClusterAzureMonitorProfileContainerInsights
Parameters
Indicates if Azure Monitor Container Insights Logs Addon is enabled or not.
- logAnalyticsWorkspaceResourceId
- ResourceIdentifier
Fully Qualified ARM Resource Id of Azure Log Analytics Workspace for storing Azure Monitor Container Insights Logs.
Indicates whether custom metrics collection has to be disabled or not. If not specified the default is false. No custom metrics will be emitted if this field is false but the container insights enabled field is false.
Indicates whether prometheus metrics scraping is disabled or not. If not specified the default is false. No prometheus metrics will be emitted if this field is false but the container insights enabled field is false.
- containerNetworkLogs
- Nullable<ContainerNetworkLogs>
Configures container network logs ingestion with Azure Monitor. Which network logs to ingest is controlled by the CRD found in the following links. No network logs are ingested by default. More information on container network logs can be found at https://aka.ms/ContainerNetworkLogsDoc. More information on configuring container network log can be found at https://aka.ms/acns/howtoenablecnl. If not specified, the default is Disabled.
Returns
A new ManagedClusterAzureMonitorProfileContainerInsights instance for mocking.