Skip to main content

fabrics

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

Overview

Namefabrics
TypeResource
Idazure.data_replication.fabrics

Fields

The following fields are returned by SELECT queries:

Returns Fabric Model on success.

NameDatatypeDescription
idstringGets or sets the Id of the resource.
namestringGets or sets the name of the resource.
locationstringGets or sets the location of the fabric.
propertiesobjectFabric model properties.
systemDataobjectSystem data required to be defined for Azure resources.
tagsobjectGets or sets the resource tags.
typestringGets or sets the type of the resource.

Methods

The following methods are available for this resource:

NameAccessible byRequired ParamsOptional ParamsDescription
getselectsubscriptionId, resourceGroupName, fabricNameGets the details of the fabric.
listselectsubscriptionId, resourceGroupNamecontinuationTokenGets the list of fabrics in the given subscription and resource group.
list_by_subscriptionselectsubscriptionIdcontinuationTokenGets the list of fabrics in the given subscription.
createinsertsubscriptionId, resourceGroupName, fabricName, data__location, data__propertiesCreates the fabric.
updateupdatesubscriptionId, resourceGroupName, fabricNamePerforms update on the fabric.
deletedeletesubscriptionId, resourceGroupName, fabricNameRemoves the fabric.

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
fabricNamestringThe fabric name.
resourceGroupNamestringThe name of the resource group. The name is case insensitive.
subscriptionIdstring (uuid)The ID of the target subscription. The value must be an UUID.
continuationTokenstringContinuation token from the previous call.

SELECT examples

Gets the details of the fabric.

SELECT
id,
name,
location,
properties,
systemData,
tags,
type
FROM azure.data_replication.fabrics
WHERE subscriptionId = '{{ subscriptionId }}' -- required
AND resourceGroupName = '{{ resourceGroupName }}' -- required
AND fabricName = '{{ fabricName }}' -- required
;

INSERT examples

Creates the fabric.

INSERT INTO azure.data_replication.fabrics (
data__location,
data__tags,
data__properties,
subscriptionId,
resourceGroupName,
fabricName
)
SELECT
'{{ location }}' /* required */,
'{{ tags }}',
'{{ properties }}' /* required */,
'{{ subscriptionId }}',
'{{ resourceGroupName }}',
'{{ fabricName }}'
RETURNING
id,
name,
location,
properties,
systemData,
tags,
type
;

UPDATE examples

Performs update on the fabric.

UPDATE azure.data_replication.fabrics
SET
data__tags = '{{ tags }}',
data__properties = '{{ properties }}'
WHERE
subscriptionId = '{{ subscriptionId }}' --required
AND resourceGroupName = '{{ resourceGroupName }}' --required
AND fabricName = '{{ fabricName }}' --required
RETURNING
id,
name,
location,
properties,
systemData,
tags,
type;

DELETE examples

Removes the fabric.

DELETE FROM azure.data_replication.fabrics
WHERE subscriptionId = '{{ subscriptionId }}' --required
AND resourceGroupName = '{{ resourceGroupName }}' --required
AND fabricName = '{{ fabricName }}' --required
;