WorkspacePatch Class

Definition

The top level Workspace resource container.

[Microsoft.Rest.Serialization.JsonTransformation]
public class WorkspacePatch : Microsoft.Azure.Management.OperationalInsights.Models.AzureEntityResource
[<Microsoft.Rest.Serialization.JsonTransformation>]
type WorkspacePatch = class
    inherit AzureEntityResource
Public Class WorkspacePatch
Inherits AzureEntityResource
Inheritance
Attributes

Constructors

WorkspacePatch()

Initializes a new instance of the WorkspacePatch class.

WorkspacePatch(String, String, String, String, String, String, WorkspaceSku, Nullable<Int32>, WorkspaceCapping, String, String, String, String, Nullable<Boolean>, IList<PrivateLinkScopedResource>, WorkspaceFeatures, String, IDictionary<String,String>)

Initializes a new instance of the WorkspacePatch class.

Properties

CreatedDate

Gets workspace creation date.

CustomerId

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

DefaultDataCollectionRuleResourceId

Gets or sets 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

Gets resource Etag.

(Inherited from AzureEntityResource)
Features

Gets or sets workspace features.

ForceCmkForQuery

Gets or sets indicates whether customer managed storage is mandatory for query management.

Id

Gets fully qualified resource ID for the resource. Ex - /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/{resourceProviderNamespace}/{resourceType}/{resourceName}

(Inherited from Resource)
ModifiedDate

Gets workspace modification date.

Name

Gets the name of the resource

(Inherited from Resource)
PrivateLinkScopedResources

Gets list of linked private link scope resources.

ProvisioningState

Gets the provisioning state of the workspace. Possible values include: 'Creating', 'Succeeded', 'Failed', 'Canceled', 'Deleting', 'ProvisioningAccount', 'Updating'

PublicNetworkAccessForIngestion

Gets or sets the network access type for accessing Log Analytics ingestion. Possible values include: 'Enabled', 'Disabled'

PublicNetworkAccessForQuery

Gets or sets the network access type for accessing Log Analytics query. Possible values include: 'Enabled', 'Disabled'

RetentionInDays

Gets or sets the workspace data retention in days. Allowed values are per pricing plan. See pricing tiers documentation for details.

Sku

Gets or sets the SKU of the workspace.

Tags

Gets or sets resource tags. Optional.

Type

Gets the type of the resource. E.g. "Microsoft.Compute/virtualMachines" or "Microsoft.Storage/storageAccounts"

(Inherited from Resource)
WorkspaceCapping

Gets or sets the daily volume cap for ingestion.

Methods

Validate()

Validate the object.

Applies to