groups
Creates, updates, deletes, gets or lists a groups
resource.
Overview
Name | groups |
Type | Resource |
Id | azure.managed_network.groups |
Fields
- vw_groups
- groups
Name | Datatype | Description |
---|---|---|
etag | text | field from the properties object |
kind | text | Responsibility role under which this Managed Network Group will be created |
managedNetworkGroupName | text | field from the properties object |
managedNetworkName | text | field from the properties object |
management_groups | text | field from the properties object |
provisioning_state | text | field from the properties object |
resourceGroupName | text | field from the properties object |
subnets | text | field from the properties object |
subscriptionId | text | field from the properties object |
subscriptions | text | field from the properties object |
virtual_networks | text | field from the properties object |
Name | Datatype | Description |
---|---|---|
kind | string | Responsibility role under which this Managed Network Group will be created |
properties | object | Properties of a Managed Network Group |
Methods
Name | Accessible by | Required Params | Description |
---|---|---|---|
get | SELECT | managedNetworkGroupName, managedNetworkName, resourceGroupName, subscriptionId | The Get ManagedNetworkGroups operation gets a Managed Network Group specified by the resource group, Managed Network name, and group name |
list_by_managed_network | SELECT | managedNetworkName, resourceGroupName, subscriptionId | The ListByManagedNetwork ManagedNetworkGroup operation retrieves all the Managed Network Groups in a specified Managed Networks in a paginated format. |
create_or_update | INSERT | managedNetworkGroupName, managedNetworkName, resourceGroupName, subscriptionId | The Put ManagedNetworkGroups operation creates or updates a Managed Network Group resource |
delete | DELETE | managedNetworkGroupName, managedNetworkName, resourceGroupName, subscriptionId | The Delete ManagedNetworkGroups operation deletes a Managed Network Group specified by the resource group, Managed Network name, and group name |
SELECT
examples
The ListByManagedNetwork ManagedNetworkGroup operation retrieves all the Managed Network Groups in a specified Managed Networks in a paginated format.
- vw_groups
- groups
SELECT
etag,
kind,
managedNetworkGroupName,
managedNetworkName,
management_groups,
provisioning_state,
resourceGroupName,
subnets,
subscriptionId,
subscriptions,
virtual_networks
FROM azure.managed_network.vw_groups
WHERE managedNetworkName = '{{ managedNetworkName }}'
AND resourceGroupName = '{{ resourceGroupName }}'
AND subscriptionId = '{{ subscriptionId }}';
SELECT
kind,
properties
FROM azure.managed_network.groups
WHERE managedNetworkName = '{{ managedNetworkName }}'
AND resourceGroupName = '{{ resourceGroupName }}'
AND subscriptionId = '{{ subscriptionId }}';
INSERT
example
Use the following StackQL query and manifest file to create a new groups
resource.
- All Properties
- Manifest
/*+ create */
INSERT INTO azure.managed_network.groups (
managedNetworkGroupName,
managedNetworkName,
resourceGroupName,
subscriptionId,
properties,
kind
)
SELECT
'{{ managedNetworkGroupName }}',
'{{ managedNetworkName }}',
'{{ resourceGroupName }}',
'{{ subscriptionId }}',
'{{ properties }}',
'{{ kind }}'
;
- name: your_resource_model_name
props:
- name: properties
value:
- name: managementGroups
value:
- - name: id
value: string
- name: subscriptions
value:
- - name: id
value: string
- name: virtualNetworks
value:
- - name: id
value: string
- name: subnets
value:
- - name: id
value: string
- name: provisioningState
value: string
- name: etag
value: string
- name: kind
value: string
DELETE
example
Deletes the specified groups
resource.
/*+ delete */
DELETE FROM azure.managed_network.groups
WHERE managedNetworkGroupName = '{{ managedNetworkGroupName }}'
AND managedNetworkName = '{{ managedNetworkName }}'
AND resourceGroupName = '{{ resourceGroupName }}'
AND subscriptionId = '{{ subscriptionId }}';