ArmMonitorModelFactory.DataContainerWorkspace 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.

Initializes a new instance of DataContainerWorkspace.

C#
public static Azure.ResourceManager.Monitor.Models.DataContainerWorkspace DataContainerWorkspace(Azure.Core.ResourceIdentifier id = default, Azure.Core.AzureLocation location = default, string customerId = default);

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

Toode Versioonid
Azure SDK for .NET Latest, Preview