Skip to content

XDataCollectionRule

API

Property Value
Group azure.platform.example.org
Kind XDataCollectionRule
Plural xdatacollectionrules
Scope Namespaced
Versions v1alpha1 (referenceable)
Source compositions/apis/azure/data-collection-rule/schema.yaml

Spec

Field Type Required Default Description
identityId string yes — Constraints: pattern: ^/subscriptions/[^/]+/resourceGroups/[^/]+/providers/Microsoft.ManagedIdentity/userAssignedIdentities/[^/]+$.
location immutable string yes — Constraints: minLength: 1.
name immutable string yes — Constraints: minLength: 1, maxLength: 63, pattern: ^[a-z0-9]+(?:-[a-z0-9]+)*$.
profile immutable string yes — One of: vmInsights, changeTracking, defenderSql.
providerConfigRef object no {} —
    providerConfigRef.kind string no ClusterProviderConfig One of: ProviderConfig, ClusterProviderConfig.
    providerConfigRef.name string no default Constraints: minLength: 1.
resourceGroupName immutable string yes — Constraints: minLength: 1.
workspaceId string yes — Constraints: pattern: ^/subscriptions/[^/]+/resourceGroups/[^/]+/providers/Microsoft.OperationalInsights/workspaces/[^/]+$.

Fields marked immutable are fixed once the resource is created; changing one is rejected by the API server. An immutable object pins the fields nested under it too. To change one, delete the resource and create it again.

Status

Populated by Crossplane once the underlying Azure resources exist. Every composite in this repository exposes the provisioned Azure resource ID as status.id.

Field Type Required Default Description
id string no — —
immutableId string no — —
managedResourceName string no — —

Reference