Skip to main content

dscp_configuration

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

Overview

Namedscp_configuration
TypeResource
Idazure.network.dscp_configuration

Fields

The following fields are returned by SELECT queries:

NameDatatypeDescription
idstringResource ID.
namestringResource name.
associatedNetworkInterfacesarrayAssociated Network Interfaces to the DSCP Configuration.
destinationIpRangesarrayDestination IP ranges.
destinationPortRangesarrayDestination port ranges.
etagstringA unique read-only string that changes whenever the resource is updated.
locationstringResource location.
markingsarrayList of markings to be used in the configuration.
protocolstringRNM supported protocol types. Known values are: "DoNotUse", "Icmp", "Tcp", "Udp", "Gre", "Esp", "Ah", "Vxlan", and "All". (DoNotUse, Icmp, Tcp, Udp, Gre, Esp, Ah, Vxlan, All)
provisioningStatestringThe provisioning state of the DSCP Configuration resource. Known values are: "Failed", "Succeeded", "Canceled", "Creating", "Updating", and "Deleting". (Failed, Succeeded, Canceled, Creating, Updating, Deleting)
qosCollectionIdstringQos Collection ID generated by RNM.
qosDefinitionCollectionarrayQoS object definitions.
resourceGuidstringThe resource GUID property of the DSCP Configuration resource.
sourceIpRangesarraySource IP ranges.
sourcePortRangesarraySources port ranges.
tagsobjectResource tags.
typestringResource type.

Methods

The following methods are available for this resource:

NameAccessible byRequired ParamsOptional ParamsDescription
getselectresource_group_name, dscp_configuration_name, subscription_idGets a DSCP Configuration.
listselectresource_group_name, subscription_idGets a DSCP Configuration.
list_allselectsubscription_idGets all dscp configurations in a subscription.
create_or_updateinsertresource_group_name, dscp_configuration_name, subscription_idCreates or updates a DSCP Configuration.
create_or_updatereplaceresource_group_name, dscp_configuration_name, subscription_idCreates or updates a DSCP Configuration.
deletedeleteresource_group_name, dscp_configuration_name, subscription_idDeletes 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.

NameDatatypeDescription
dscp_configuration_namestringThe name of the resource. Required.
resource_group_namestringThe name of the resource group. The name is case insensitive. Required.
subscription_idstring

SELECT examples

Gets a DSCP Configuration.

SELECT
id,
name,
associatedNetworkInterfaces,
destinationIpRanges,
destinationPortRanges,
etag,
location,
markings,
protocol,
provisioningState,
qosCollectionId,
qosDefinitionCollection,
resourceGuid,
sourceIpRanges,
sourcePortRanges,
tags,
type
FROM azure.network.dscp_configuration
WHERE resource_group_name = '{{ resource_group_name }}' -- required
AND dscp_configuration_name = '{{ dscp_configuration_name }}' -- required
AND subscription_id = '{{ subscription_id }}' -- required
;

INSERT examples

Creates or updates a DSCP Configuration.

INSERT INTO azure.network.dscp_configuration (
id,
location,
tags,
properties,
resource_group_name,
dscp_configuration_name,
subscription_id
)
SELECT
'{{ id }}',
'{{ location }}',
'{{ tags }}',
'{{ properties }}',
'{{ resource_group_name }}',
'{{ dscp_configuration_name }}',
'{{ subscription_id }}'
RETURNING
id,
name,
etag,
location,
properties,
tags,
type
;

REPLACE examples

Creates or updates a DSCP Configuration.

REPLACE azure.network.dscp_configuration
SET
id = '{{ id }}',
location = '{{ location }}',
tags = '{{ tags }}',
properties = '{{ properties }}'
WHERE
resource_group_name = '{{ resource_group_name }}' --required
AND dscp_configuration_name = '{{ dscp_configuration_name }}' --required
AND subscription_id = '{{ subscription_id }}' --required
RETURNING
id,
name,
etag,
location,
properties,
tags,
type;

DELETE examples

Deletes a DSCP Configuration.

DELETE FROM azure.network.dscp_configuration
WHERE resource_group_name = '{{ resource_group_name }}' --required
AND dscp_configuration_name = '{{ dscp_configuration_name }}' --required
AND subscription_id = '{{ subscription_id }}' --required
;