Compartilhar via


ArmOperationalInsightsModelFactory.OperationalInsightsWorkspaceData Method

Definition

Initializes a new instance of OperationalInsightsWorkspaceData.

public static Azure.ResourceManager.OperationalInsights.OperationalInsightsWorkspaceData OperationalInsightsWorkspaceData (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.ResourceManager.Models.ManagedServiceIdentity identity = default, Azure.ETag? etag = default, Azure.ResourceManager.OperationalInsights.Models.OperationalInsightsWorkspaceEntityStatus? provisioningState = default, Guid? customerId = default, Azure.ResourceManager.OperationalInsights.Models.OperationalInsightsWorkspaceSku sku = default, int? retentionInDays = default, Azure.ResourceManager.OperationalInsights.Models.OperationalInsightsWorkspaceCapping workspaceCapping = default, DateTimeOffset? createdOn = default, DateTimeOffset? modifiedOn = default, Azure.ResourceManager.OperationalInsights.Models.OperationalInsightsPublicNetworkAccessType? publicNetworkAccessForIngestion = default, Azure.ResourceManager.OperationalInsights.Models.OperationalInsightsPublicNetworkAccessType? publicNetworkAccessForQuery = default, bool? forceCmkForQuery = default, System.Collections.Generic.IEnumerable<Azure.ResourceManager.OperationalInsights.Models.OperationalInsightsPrivateLinkScopedResourceInfo> privateLinkScopedResources = default, Azure.ResourceManager.OperationalInsights.Models.OperationalInsightsWorkspaceFeatures features = default, Azure.Core.ResourceIdentifier defaultDataCollectionRuleResourceId = default);
static member OperationalInsightsWorkspaceData : Azure.Core.ResourceIdentifier * string * Azure.Core.ResourceType * Azure.ResourceManager.Models.SystemData * System.Collections.Generic.IDictionary<string, string> * Azure.Core.AzureLocation * Azure.ResourceManager.Models.ManagedServiceIdentity * Nullable<Azure.ETag> * Nullable<Azure.ResourceManager.OperationalInsights.Models.OperationalInsightsWorkspaceEntityStatus> * Nullable<Guid> * Azure.ResourceManager.OperationalInsights.Models.OperationalInsightsWorkspaceSku * Nullable<int> * Azure.ResourceManager.OperationalInsights.Models.OperationalInsightsWorkspaceCapping * Nullable<DateTimeOffset> * Nullable<DateTimeOffset> * Nullable<Azure.ResourceManager.OperationalInsights.Models.OperationalInsightsPublicNetworkAccessType> * Nullable<Azure.ResourceManager.OperationalInsights.Models.OperationalInsightsPublicNetworkAccessType> * Nullable<bool> * seq<Azure.ResourceManager.OperationalInsights.Models.OperationalInsightsPrivateLinkScopedResourceInfo> * Azure.ResourceManager.OperationalInsights.Models.OperationalInsightsWorkspaceFeatures * Azure.Core.ResourceIdentifier -> Azure.ResourceManager.OperationalInsights.OperationalInsightsWorkspaceData
Public Shared Function OperationalInsightsWorkspaceData (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 identity As ManagedServiceIdentity = Nothing, Optional etag As Nullable(Of ETag) = Nothing, Optional provisioningState As Nullable(Of OperationalInsightsWorkspaceEntityStatus) = Nothing, Optional customerId As Nullable(Of Guid) = Nothing, Optional sku As OperationalInsightsWorkspaceSku = Nothing, Optional retentionInDays As Nullable(Of Integer) = Nothing, Optional workspaceCapping As OperationalInsightsWorkspaceCapping = Nothing, Optional createdOn As Nullable(Of DateTimeOffset) = Nothing, Optional modifiedOn As Nullable(Of DateTimeOffset) = Nothing, Optional publicNetworkAccessForIngestion As Nullable(Of OperationalInsightsPublicNetworkAccessType) = Nothing, Optional publicNetworkAccessForQuery As Nullable(Of OperationalInsightsPublicNetworkAccessType) = Nothing, Optional forceCmkForQuery As Nullable(Of Boolean) = Nothing, Optional privateLinkScopedResources As IEnumerable(Of OperationalInsightsPrivateLinkScopedResourceInfo) = Nothing, Optional features As OperationalInsightsWorkspaceFeatures = Nothing, Optional defaultDataCollectionRuleResourceId As ResourceIdentifier = Nothing) As OperationalInsightsWorkspaceData

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.

identity
ManagedServiceIdentity

The identity of the resource. Current supported identity types: None, SystemAssigned, UserAssigned.

etag
Nullable<ETag>

The etag of the workspace.

provisioningState
Nullable<OperationalInsightsWorkspaceEntityStatus>

The provisioning state of the workspace.

customerId
Nullable<Guid>

This is a read-only property. Represents the ID associated with the workspace.

sku
OperationalInsightsWorkspaceSku

The SKU of the workspace.

retentionInDays
Nullable<Int32>

The workspace data retention in days. Allowed values are per pricing plan. See pricing tiers documentation for details.

workspaceCapping
OperationalInsightsWorkspaceCapping

The daily volume cap for ingestion.

createdOn
Nullable<DateTimeOffset>

Workspace creation date.

modifiedOn
Nullable<DateTimeOffset>

Workspace modification date.

publicNetworkAccessForIngestion
Nullable<OperationalInsightsPublicNetworkAccessType>

The network access type for accessing Log Analytics ingestion.

publicNetworkAccessForQuery
Nullable<OperationalInsightsPublicNetworkAccessType>

The network access type for accessing Log Analytics query.

forceCmkForQuery
Nullable<Boolean>

Indicates whether customer managed storage is mandatory for query management.

privateLinkScopedResources
IEnumerable<OperationalInsightsPrivateLinkScopedResourceInfo>

List of linked private link scope resources.

features
OperationalInsightsWorkspaceFeatures

Workspace features.

defaultDataCollectionRuleResourceId
ResourceIdentifier

The resource ID of the default Data Collection Rule to use for this workspace. Expected format is - /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Insights/dataCollectionRules/{dcrName}.

Returns

A new OperationalInsightsWorkspaceData instance for mocking.

Applies to