Skip to main content

routing_rule_collections

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

Overview

Namerouting_rule_collections
TypeResource
Idazure.network.routing_rule_collections

Fields

The following fields are returned by SELECT queries:

Successful operation

NameDatatypeDescription
idstringResource ID.
namestringResource name.
etagstringA unique read-only string that changes whenever the resource is updated.
propertiesobjectIndicates the properties for the network manager routing rule collection.
systemDataobjectThe system metadata related to this resource.
typestringResource type.

Methods

The following methods are available for this resource:

NameAccessible byRequired ParamsOptional ParamsDescription
getselectGets a network manager routing configuration rule collection.
listselectsubscriptionId, resourceGroupName, networkManagerName, configurationName$top, $skipTokenLists all the rule collections in a routing configuration, in a paginated format.
create_or_updateinsertCreates or updates a routing rule collection.
deletedeleteforceDeletes an routing rule collection.

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
configurationNamestringThe name of the network manager Routing Configuration.
networkManagerNamestringThe name of the network manager.
resourceGroupNamestringThe name of the resource group.
subscriptionIdstring (uuid)The ID of the target subscription. The value must be an UUID.
$skipTokenstringSkipToken is only used if a previous operation returned a partial result. If a previous response contains a nextLink element, the value of the nextLink element will include a skipToken parameter that specifies a starting point to use for subsequent calls.
$topinteger (int32)An optional query parameter which specifies the maximum number of records to be returned by the server.
forcebooleanDeletes the resource even if it is part of a deployed configuration. If the configuration has been deployed, the service will do a cleanup deployment in the background, prior to the delete.

SELECT examples

Gets a network manager routing configuration rule collection.

SELECT
id,
name,
etag,
properties,
systemData,
type
FROM azure.network.routing_rule_collections
;

INSERT examples

Creates or updates a routing rule collection.

INSERT INTO azure.network.routing_rule_collections (
data__properties
)
SELECT
'{{ properties }}'
RETURNING
id,
name,
etag,
properties,
systemData,
type
;

DELETE examples

Deletes an routing rule collection.

DELETE FROM azure.network.routing_rule_collections
WHERE force = '{{ force }}'
;