network_racks
Creates, updates, deletes, gets or lists a network_racks
resource.
Overview
Name | network_racks |
Type | Resource |
Id | azure.managed_network_fabric.network_racks |
Fields
The following fields are returned by SELECT
queries:
- get
- list_by_resource_group
- list_by_subscription
Name | Datatype | Description |
---|---|---|
location | string | The geo-location where the resource lives |
properties | object | Resource properties. |
tags | object | Resource tags. |
Lists all Network Racks under the resource group.
Name | Datatype | Description |
---|---|---|
location | string | The geo-location where the resource lives |
properties | object | Resource properties. |
tags | object | Resource tags. |
Lists all Network Racks under the subscription.
Name | Datatype | Description |
---|---|---|
location | string | The geo-location where the resource lives |
properties | object | Resource properties. |
tags | object | Resource tags. |
Methods
The following methods are available for this resource:
Name | Accessible by | Required Params | Optional Params | Description |
---|---|---|---|---|
get | select | subscriptionId , resourceGroupName , networkRackName | Get Network Rack resource details. | |
list_by_resource_group | select | subscriptionId , resourceGroupName | List all Network Rack resources in the given resource group. | |
list_by_subscription | select | subscriptionId | List all Network Rack resources in the given subscription | |
create | insert | subscriptionId , resourceGroupName , networkRackName , data__location , data__properties | Create Network Rack resource. | |
update | update | subscriptionId , resourceGroupName , networkRackName | Update certain properties of the Network Rack resource. | |
delete | delete | subscriptionId , resourceGroupName , networkRackName | Delete Network Rack resource. |
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.
Name | Datatype | Description |
---|---|---|
networkRackName | string | Name of the Network Rack. |
resourceGroupName | string | The name of the resource group. The name is case insensitive. |
subscriptionId | string (uuid) | The ID of the target subscription. The value must be an UUID. |
SELECT
examples
- get
- list_by_resource_group
- list_by_subscription
Get Network Rack resource details.
SELECT
location,
properties,
tags
FROM azure.managed_network_fabric.network_racks
WHERE subscriptionId = '{{ subscriptionId }}' -- required
AND resourceGroupName = '{{ resourceGroupName }}' -- required
AND networkRackName = '{{ networkRackName }}' -- required
;
List all Network Rack resources in the given resource group.
SELECT
location,
properties,
tags
FROM azure.managed_network_fabric.network_racks
WHERE subscriptionId = '{{ subscriptionId }}' -- required
AND resourceGroupName = '{{ resourceGroupName }}' -- required
;
List all Network Rack resources in the given subscription
SELECT
location,
properties,
tags
FROM azure.managed_network_fabric.network_racks
WHERE subscriptionId = '{{ subscriptionId }}' -- required
;
INSERT
examples
- create
- Manifest
Create Network Rack resource.
INSERT INTO azure.managed_network_fabric.network_racks (
data__tags,
data__location,
data__properties,
subscriptionId,
resourceGroupName,
networkRackName
)
SELECT
'{{ tags }}',
'{{ location }}' /* required */,
'{{ properties }}' /* required */,
'{{ subscriptionId }}',
'{{ resourceGroupName }}',
'{{ networkRackName }}'
RETURNING
location,
properties,
tags
;
# Description fields are for documentation purposes
- name: network_racks
props:
- name: subscriptionId
value: string (uuid)
description: Required parameter for the network_racks resource.
- name: resourceGroupName
value: string
description: Required parameter for the network_racks resource.
- name: networkRackName
value: string
description: Required parameter for the network_racks resource.
- name: tags
value: object
description: |
Resource tags.
- name: location
value: string
description: |
The geo-location where the resource lives
- name: properties
value: object
description: |
Resource properties.
UPDATE
examples
- update
Update certain properties of the Network Rack resource.
UPDATE azure.managed_network_fabric.network_racks
SET
-- No updatable properties
WHERE
subscriptionId = '{{ subscriptionId }}' --required
AND resourceGroupName = '{{ resourceGroupName }}' --required
AND networkRackName = '{{ networkRackName }}' --required
RETURNING
location,
properties,
tags;
DELETE
examples
- delete
Delete Network Rack resource.
DELETE FROM azure.managed_network_fabric.network_racks
WHERE subscriptionId = '{{ subscriptionId }}' --required
AND resourceGroupName = '{{ resourceGroupName }}' --required
AND networkRackName = '{{ networkRackName }}' --required
;