dscp_configurations
Creates, updates, deletes, gets or lists a dscp_configurations
resource.
Overview
Name | dscp_configurations |
Type | Resource |
Id | azure.network.dscp_configurations |
Fields
The following fields are returned by SELECT
queries:
- get
- list
- list_all
Request successful. The operation returns the resulting DSCP Configuration resource.
Name | Datatype | Description |
---|---|---|
id | string (arm-id) | Fully qualified resource ID for the resource. E.g. "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/{resourceProviderNamespace}/{resourceType}/{resourceName}" |
name | string | The name of the resource |
etag | string | A unique read-only string that changes whenever the resource is updated. |
properties | object | Properties of the network interface. |
systemData | object | Azure Resource Manager metadata containing createdBy and modifiedBy information. |
type | string | The type of the resource. E.g. "Microsoft.Compute/virtualMachines" or "Microsoft.Storage/storageAccounts" |
Request successful. The operation returns the resulting DSCP Configuration resource.
Name | Datatype | Description |
---|---|---|
id | string (arm-id) | Fully qualified resource ID for the resource. E.g. "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/{resourceProviderNamespace}/{resourceType}/{resourceName}" |
name | string | The name of the resource |
etag | string | A unique read-only string that changes whenever the resource is updated. |
properties | object | Properties of the network interface. |
systemData | object | Azure Resource Manager metadata containing createdBy and modifiedBy information. |
type | string | The type of the resource. E.g. "Microsoft.Compute/virtualMachines" or "Microsoft.Storage/storageAccounts" |
Request successful. The operation returns a list of NetworkInterface resources.
Name | Datatype | Description |
---|---|---|
id | string (arm-id) | Fully qualified resource ID for the resource. E.g. "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/{resourceProviderNamespace}/{resourceType}/{resourceName}" |
name | string | The name of the resource |
etag | string | A unique read-only string that changes whenever the resource is updated. |
properties | object | Properties of the network interface. |
systemData | object | Azure Resource Manager metadata containing createdBy and modifiedBy information. |
type | string | The type of the resource. E.g. "Microsoft.Compute/virtualMachines" or "Microsoft.Storage/storageAccounts" |
Methods
The following methods are available for this resource:
Name | Accessible by | Required Params | Optional Params | Description |
---|---|---|---|---|
get | select | resourceGroupName , dscpConfigurationName , subscriptionId | Gets a DSCP Configuration. | |
list | select | resourceGroupName , subscriptionId | Gets a DSCP Configuration. | |
list_all | select | subscriptionId | Gets all dscp configurations in a subscription. | |
create_or_update | insert | resourceGroupName , dscpConfigurationName , subscriptionId | Creates or updates a DSCP Configuration. | |
delete | delete | resourceGroupName , dscpConfigurationName , subscriptionId | Deletes a DSCP Configuration. |
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 |
---|---|---|
dscpConfigurationName | string | The name of the resource. |
resourceGroupName | string | The name of the resource group. |
subscriptionId | string (uuid) | The ID of the target subscription. The value must be an UUID. |
SELECT
examples
- get
- list
- list_all
Gets a DSCP Configuration.
SELECT
id,
name,
etag,
properties,
systemData,
type
FROM azure.network.dscp_configurations
WHERE resourceGroupName = '{{ resourceGroupName }}' -- required
AND dscpConfigurationName = '{{ dscpConfigurationName }}' -- required
AND subscriptionId = '{{ subscriptionId }}' -- required
;
Gets a DSCP Configuration.
SELECT
id,
name,
etag,
properties,
systemData,
type
FROM azure.network.dscp_configurations
WHERE resourceGroupName = '{{ resourceGroupName }}' -- required
AND subscriptionId = '{{ subscriptionId }}' -- required
;
Gets all dscp configurations in a subscription.
SELECT
id,
name,
etag,
properties,
systemData,
type
FROM azure.network.dscp_configurations
WHERE subscriptionId = '{{ subscriptionId }}' -- required
;
INSERT
examples
- create_or_update
- Manifest
Creates or updates a DSCP Configuration.
INSERT INTO azure.network.dscp_configurations (
data__properties,
resourceGroupName,
dscpConfigurationName,
subscriptionId
)
SELECT
'{{ properties }}',
'{{ resourceGroupName }}',
'{{ dscpConfigurationName }}',
'{{ subscriptionId }}'
RETURNING
id,
name,
etag,
properties,
systemData,
type
;
# Description fields are for documentation purposes
- name: dscp_configurations
props:
- name: resourceGroupName
value: string
description: Required parameter for the dscp_configurations resource.
- name: dscpConfigurationName
value: string
description: Required parameter for the dscp_configurations resource.
- name: subscriptionId
value: string (uuid)
description: Required parameter for the dscp_configurations resource.
- name: properties
value: object
description: |
Properties of the network interface.
DELETE
examples
- delete
Deletes a DSCP Configuration.
DELETE FROM azure.network.dscp_configurations
WHERE resourceGroupName = '{{ resourceGroupName }}' --required
AND dscpConfigurationName = '{{ dscpConfigurationName }}' --required
AND subscriptionId = '{{ subscriptionId }}' --required
;