Skip to main content

dscp_configurations

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

Overview

Namedscp_configurations
TypeResource
Idazure.network.dscp_configurations

Fields

NameDatatypeDescription
idtextResource ID.
nametextResource name.
associated_network_interfacestextfield from the properties object
destination_ip_rangestextfield from the properties object
destination_port_rangestextfield from the properties object
dscpConfigurationNametextfield from the properties object
etagtextA unique read-only string that changes whenever the resource is updated.
locationtextResource location.
markingstextfield from the properties object
protocoltextfield from the properties object
provisioning_statetextfield from the properties object
qos_collection_idtextfield from the properties object
qos_definition_collectiontextfield from the properties object
resourceGroupNametextfield from the properties object
resource_guidtextfield from the properties object
source_ip_rangestextfield from the properties object
source_port_rangestextfield from the properties object
subscriptionIdtextfield from the properties object
tagstextResource tags.
typetextResource type.

Methods

NameAccessible byRequired ParamsDescription
getSELECTdscpConfigurationName, resourceGroupName, subscriptionIdGets a DSCP Configuration.
listSELECTresourceGroupName, subscriptionIdGets a DSCP Configuration.
list_allSELECTsubscriptionIdGets all dscp configurations in a subscription.
create_or_updateINSERTdscpConfigurationName, resourceGroupName, subscriptionIdCreates or updates a DSCP Configuration.
deleteDELETEdscpConfigurationName, resourceGroupName, subscriptionIdDeletes a DSCP Configuration.

SELECT examples

Gets all dscp configurations in a subscription.

SELECT
id,
name,
associated_network_interfaces,
destination_ip_ranges,
destination_port_ranges,
dscpConfigurationName,
etag,
location,
markings,
protocol,
provisioning_state,
qos_collection_id,
qos_definition_collection,
resourceGroupName,
resource_guid,
source_ip_ranges,
source_port_ranges,
subscriptionId,
tags,
type
FROM azure.network.vw_dscp_configurations
WHERE subscriptionId = '{{ subscriptionId }}';

INSERT example

Use the following StackQL query and manifest file to create a new dscp_configurations resource.

/*+ create */
INSERT INTO azure.network.dscp_configurations (
dscpConfigurationName,
resourceGroupName,
subscriptionId,
properties,
id,
location,
tags
)
SELECT
'{{ dscpConfigurationName }}',
'{{ resourceGroupName }}',
'{{ subscriptionId }}',
'{{ properties }}',
'{{ id }}',
'{{ location }}',
'{{ tags }}'
;

DELETE example

Deletes the specified dscp_configurations resource.

/*+ delete */
DELETE FROM azure.network.dscp_configurations
WHERE dscpConfigurationName = '{{ dscpConfigurationName }}'
AND resourceGroupName = '{{ resourceGroupName }}'
AND subscriptionId = '{{ subscriptionId }}';