ArmMonitorModelFactory.MonitorWorkspaceResourceData Method

Definition

Initializes a new instance of MonitorWorkspaceResourceData.

public static Azure.ResourceManager.Monitor.MonitorWorkspaceResourceData MonitorWorkspaceResourceData (Azure.Core.ResourceIdentifier id = default, string name = default, Azure.Core.ResourceType resourceType = default, Azure.ResourceManager.Models.SystemData systemData = default, System.Collections.Generic.IDictionary<string,string> tags = default, Azure.Core.AzureLocation location = default, Azure.ETag? etag = default, Azure.ResourceManager.Monitor.Models.MonitorWorkspaceDefaultIngestionSettings defaultIngestionSettings = default, Azure.ResourceManager.Monitor.Models.MonitorWorkspaceMetrics metrics = default, string accountId = default, Azure.ResourceManager.Monitor.Models.MonitorWorkspaceMetricProperties metricsPropertiesMetrics = default, Azure.ResourceManager.Monitor.Models.MonitorProvisioningState? provisioningState = default, Azure.ResourceManager.Monitor.Models.MonitorWorkspaceIngestionSettings defaultIngestionSettingsPropertiesDefaultIngestionSettings = default, System.Collections.Generic.IEnumerable<Azure.ResourceManager.Monitor.Models.MonitorWorkspacePrivateEndpointConnection> privateEndpointConnections = default, Azure.ResourceManager.Monitor.Models.MonitorWorkspacePublicNetworkAccess? publicNetworkAccess = default);
static member MonitorWorkspaceResourceData : Azure.Core.ResourceIdentifier * string * Azure.Core.ResourceType * Azure.ResourceManager.Models.SystemData * System.Collections.Generic.IDictionary<string, string> * Azure.Core.AzureLocation * Nullable<Azure.ETag> * Azure.ResourceManager.Monitor.Models.MonitorWorkspaceDefaultIngestionSettings * Azure.ResourceManager.Monitor.Models.MonitorWorkspaceMetrics * string * Azure.ResourceManager.Monitor.Models.MonitorWorkspaceMetricProperties * Nullable<Azure.ResourceManager.Monitor.Models.MonitorProvisioningState> * Azure.ResourceManager.Monitor.Models.MonitorWorkspaceIngestionSettings * seq<Azure.ResourceManager.Monitor.Models.MonitorWorkspacePrivateEndpointConnection> * Nullable<Azure.ResourceManager.Monitor.Models.MonitorWorkspacePublicNetworkAccess> -> Azure.ResourceManager.Monitor.MonitorWorkspaceResourceData
Public Shared Function MonitorWorkspaceResourceData (Optional id As ResourceIdentifier = Nothing, Optional name As String = Nothing, Optional resourceType As ResourceType = Nothing, Optional systemData As SystemData = Nothing, Optional tags As IDictionary(Of String, String) = Nothing, Optional location As AzureLocation = Nothing, Optional etag As Nullable(Of ETag) = Nothing, Optional defaultIngestionSettings As MonitorWorkspaceDefaultIngestionSettings = Nothing, Optional metrics As MonitorWorkspaceMetrics = Nothing, Optional accountId As String = Nothing, Optional metricsPropertiesMetrics As MonitorWorkspaceMetricProperties = Nothing, Optional provisioningState As Nullable(Of MonitorProvisioningState) = Nothing, Optional defaultIngestionSettingsPropertiesDefaultIngestionSettings As MonitorWorkspaceIngestionSettings = Nothing, Optional privateEndpointConnections As IEnumerable(Of MonitorWorkspacePrivateEndpointConnection) = Nothing, Optional publicNetworkAccess As Nullable(Of MonitorWorkspacePublicNetworkAccess) = Nothing) As MonitorWorkspaceResourceData

Parameters

id
ResourceIdentifier

The id.

name
String

The name.

resourceType
ResourceType

The resourceType.

systemData
SystemData

The systemData.

tags
IDictionary<String,String>

The tags.

location
AzureLocation

The location.

etag
Nullable<ETag>

Resource entity tag (ETag).

defaultIngestionSettings
MonitorWorkspaceDefaultIngestionSettings

The Data Collection Rule and Endpoint used for ingestion by default.

metrics
MonitorWorkspaceMetrics

Properties related to the metrics container in the Azure Monitor Workspace.

accountId
String

The immutable ID of the Azure Monitor workspace. This property is read-only.

metricsPropertiesMetrics
MonitorWorkspaceMetricProperties

Information about metrics for the Azure Monitor workspace.

provisioningState
Nullable<MonitorProvisioningState>

The provisioning state of the Azure Monitor workspace. Set to Succeeded if everything is healthy.

defaultIngestionSettingsPropertiesDefaultIngestionSettings
MonitorWorkspaceIngestionSettings

The Data Collection Rule and Endpoint used for ingestion by default.

privateEndpointConnections
IEnumerable<MonitorWorkspacePrivateEndpointConnection>

List of private endpoint connections.

publicNetworkAccess
Nullable<MonitorWorkspacePublicNetworkAccess>

Gets or sets allow or disallow public network access to workspace.

Returns

A new MonitorWorkspaceResourceData instance for mocking.

Applies to