Skip to main content

data_boundaries

Creates, updates, deletes, gets or lists a data_boundaries resource.

Overview

Namedata_boundaries
TypeResource
Idazure.resource.data_boundaries

Fields

The following fields are returned by SELECT queries:

NameDatatypeDescription
idstringFully qualified resource ID for the resource. Ex - /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/{resourceProviderNamespace}/{resourceType}/{resourceName}.
namestringThe name of the resource.
dataBoundarystringThe data boundary definition. Known values are: "NotDefined", "Global", and "EU". (NotDefined, Global, EU)
provisioningStatestringDenotes the state of provisioning. Known values are: "Accepted", "Running", "Creating", "Canceled", "Failed", "Succeeded", and "Updating". (Accepted, Running, Creating, Canceled, Failed, Succeeded, Updating)
systemDataobjectAzure Resource Manager metadata containing createdBy and modifiedBy information.
typestringThe type of the resource. E.g. "Microsoft.Compute/virtualMachines" or "Microsoft.Storage/storageAccounts".

Methods

The following methods are available for this resource:

NameAccessible byRequired ParamsOptional ParamsDescription
get_scopeselectscope, default_nameGet data boundary at specified scope.
get_tenantselectdefault_nameGet data boundary of tenant.
putexecdefault_nameOpt-in tenant to data boundary.

Parameters

Parameters can be passed in the WHERE clause of a query. Check the Methods section to see which parameters are required or optional for each operation.

NameDatatypeDescription
default_namestringDefault string modeled as parameter for auto generation to work correctly. "default" Required.
scopestringThe fully qualified Azure Resource manager identifier of the resource. Required.

SELECT examples

Get data boundary at specified scope.

SELECT
id,
name,
dataBoundary,
provisioningState,
systemData,
type
FROM azure.resource.data_boundaries
WHERE scope = '{{ scope }}' -- required
AND default_name = '{{ default_name }}' -- required
;

Lifecycle Methods

Opt-in tenant to data boundary.

EXEC azure.resource.data_boundaries.put 
@default_name='{{ default_name }}' --required
@@json=
'{
"properties": "{{ properties }}"
}'
;