Skip to main content

managers

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

Overview

Namemanagers
TypeResource
Idazure.network.managers

Fields

The following fields are returned by SELECT queries:

OK - Returns information about the network manager.

NameDatatypeDescription
idstring (arm-id)Fully qualified resource ID for the resource. E.g. "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/{resourceProviderNamespace}/{resourceType}/{resourceName}"
namestringThe name of the resource
etagstringA unique read-only string that changes whenever the resource is updated.
propertiesobjectThe network manager properties
systemDataobjectAzure Resource Manager metadata containing createdBy and modifiedBy information.
typestringThe type of the resource. E.g. "Microsoft.Compute/virtualMachines" or "Microsoft.Storage/storageAccounts"

Methods

The following methods are available for this resource:

NameAccessible byRequired ParamsOptional ParamsDescription
getselectGets the specified Network Manager.
listselectsubscriptionId, resourceGroupName$top, $skipTokenList network managers in a resource group.
list_by_subscriptionselectsubscriptionId$top, $skipTokenList all network managers in a subscription.
create_or_updateinsertCreates or updates a Network Manager.
patchupdatePatch NetworkManager.
deletedeleteforceDeletes a network manager.

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
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 the specified Network Manager.

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

INSERT examples

Creates or updates a Network Manager.

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

UPDATE examples

Patch NetworkManager.

UPDATE azure.network.managers
SET
data__tags = '{{ tags }}'
RETURNING
id,
name,
etag,
properties,
systemData,
type;

DELETE examples

Deletes a network manager.

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