Share via


ArmOperationalInsightsModelFactory.OperationalInsightsWorkspacePatch Method

Definition

Initializes a new instance of OperationalInsightsWorkspacePatch.

public static Azure.ResourceManager.OperationalInsights.Models.OperationalInsightsWorkspacePatch OperationalInsightsWorkspacePatch (Azure.Core.ResourceIdentifier id = default, string name = default, Azure.Core.ResourceType resourceType = default, Azure.ResourceManager.Models.SystemData systemData = default, Azure.ResourceManager.Models.ManagedServiceIdentity identity = default, System.Collections.Generic.IDictionary<string,string> tags = 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, Azure.ETag? etag = default);
static member OperationalInsightsWorkspacePatch : Azure.Core.ResourceIdentifier * string * Azure.Core.ResourceType * Azure.ResourceManager.Models.SystemData * Azure.ResourceManager.Models.ManagedServiceIdentity * System.Collections.Generic.IDictionary<string, string> * 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 * Nullable<Azure.ETag> -> Azure.ResourceManager.OperationalInsights.Models.OperationalInsightsWorkspacePatch
Public Shared Function OperationalInsightsWorkspacePatch (Optional id As ResourceIdentifier = Nothing, Optional name As String = Nothing, Optional resourceType As ResourceType = Nothing, Optional systemData As SystemData = Nothing, Optional identity As ManagedServiceIdentity = Nothing, Optional tags As IDictionary(Of String, String) = 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, Optional etag As Nullable(Of ETag) = Nothing) As OperationalInsightsWorkspacePatch

Parameters

id
ResourceIdentifier

The id.

name
String

The name.

resourceType
ResourceType

The resourceType.

systemData
SystemData

The systemData.

identity
ManagedServiceIdentity

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

tags
IDictionary<String,String>

Resource tags. Optional.

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}.

etag
Nullable<ETag>

Resource Etag.

Returns

A new OperationalInsightsWorkspacePatch instance for mocking.

Applies to