Skip to main content

network_fabrics

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

Overview

Namenetwork_fabrics
TypeResource
Idazure.managed_network_fabric.network_fabrics

Fields

The following fields are returned by SELECT queries:

NameDatatypeDescription
locationstringThe geo-location where the resource lives
propertiesobjectResource properties.
tagsobjectResource tags.

Methods

The following methods are available for this resource:

NameAccessible byRequired ParamsOptional ParamsDescription
getselectsubscriptionId, resourceGroupName, networkFabricNameGet Network Fabric resource details.
list_by_resource_groupselectsubscriptionId, resourceGroupNameList all the Network Fabric resources in the given resource group.
list_by_subscriptionselectsubscriptionIdList all the Network Fabric resources in the given subscription.
createinsertsubscriptionId, resourceGroupName, networkFabricName, data__propertiesCreate Network Fabric resource.
updateupdatesubscriptionId, resourceGroupName, networkFabricNameUpdate certain properties of the Network Fabric resource.
deletedeletesubscriptionId, resourceGroupName, networkFabricNameDelete Network Fabric resource.
provisionexecsubscriptionId, resourceGroupName, networkFabricNameProvisions the underlying resources in the given Network Fabric instance.
deprovisionexecsubscriptionId, resourceGroupName, networkFabricNameDeprovisions the underlying resources in the given Network Fabric instance.
upgradeexecsubscriptionId, resourceGroupName, networkFabricNameUpgrades the version of the underlying resources in the given Network Fabric instance.
refresh_configurationexecsubscriptionId, resourceGroupName, networkFabricNameRefreshes the configuration of the underlying resources in the given Network Fabric instance.
validate_configurationexecsubscriptionId, resourceGroupName, networkFabricNameValidates the configuration of the underlying resources in the given Network Fabric instance.
commit_configurationexecsubscriptionId, resourceGroupName, networkFabricNameAtomic update of the given Network Fabric instance. Sync update of NFA resources at Fabric level.

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
networkFabricNamestringName of the Network Fabric.
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.

SELECT examples

Get Network Fabric resource details.

SELECT
location,
properties,
tags
FROM azure.managed_network_fabric.network_fabrics
WHERE subscriptionId = '{{ subscriptionId }}' -- required
AND resourceGroupName = '{{ resourceGroupName }}' -- required
AND networkFabricName = '{{ networkFabricName }}' -- required
;

INSERT examples

Create Network Fabric resource.

INSERT INTO azure.managed_network_fabric.network_fabrics (
data__properties,
data__tags,
data__location,
subscriptionId,
resourceGroupName,
networkFabricName
)
SELECT
'{{ properties }}' /* required */,
'{{ tags }}',
'{{ location }}',
'{{ subscriptionId }}',
'{{ resourceGroupName }}',
'{{ networkFabricName }}'
RETURNING
location,
properties,
tags
;

UPDATE examples

Update certain properties of the Network Fabric resource.

UPDATE azure.managed_network_fabric.network_fabrics
SET
data__properties = '{{ properties }}',
data__tags = '{{ tags }}'
WHERE
subscriptionId = '{{ subscriptionId }}' --required
AND resourceGroupName = '{{ resourceGroupName }}' --required
AND networkFabricName = '{{ networkFabricName }}' --required
RETURNING
location,
properties,
tags;

DELETE examples

Delete Network Fabric resource.

DELETE FROM azure.managed_network_fabric.network_fabrics
WHERE subscriptionId = '{{ subscriptionId }}' --required
AND resourceGroupName = '{{ resourceGroupName }}' --required
AND networkFabricName = '{{ networkFabricName }}' --required
;

Lifecycle Methods

Provisions the underlying resources in the given Network Fabric instance.

EXEC azure.managed_network_fabric.network_fabrics.provision 
@subscriptionId='{{ subscriptionId }}' --required,
@resourceGroupName='{{ resourceGroupName }}' --required,
@networkFabricName='{{ networkFabricName }}' --required
;