Freigeben über


ArmMonitorModelFactory.DataContainerWorkspace Method

Definition

Initializes a new instance of DataContainerWorkspace.

public static Azure.ResourceManager.Monitor.Models.DataContainerWorkspace DataContainerWorkspace(Azure.Core.ResourceIdentifier id = default, Azure.Core.AzureLocation location = default, string customerId = default);
static member DataContainerWorkspace : Azure.Core.ResourceIdentifier * Azure.Core.AzureLocation * string -> Azure.ResourceManager.Monitor.Models.DataContainerWorkspace
Public Shared Function DataContainerWorkspace (Optional id As ResourceIdentifier = Nothing, Optional location As AzureLocation = Nothing, Optional customerId As String = Nothing) As DataContainerWorkspace

Parameters

id
ResourceIdentifier

Azure Resource Manager identifier of the Log Analytics Workspace.

location
AzureLocation

Location of the Log Analytics workspace.

customerId
String

Log Analytics workspace identifier.

Returns

A new DataContainerWorkspace instance for mocking.

Exceptions

id or customerId is null.

Applies to