Skip to main content

mobile_networks

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

Overview

Namemobile_networks
TypeResource
Idazure.mobile_network.mobile_networks

Fields

The following fields are returned by SELECT queries:

Request successful. The operation returns the resulting mobile network resource.

NameDatatypeDescription
identityobjectThe identity used to retrieve any private keys used for SUPI concealment from Azure key vault.
locationstringThe geo-location where the resource lives
propertiesobjectMobile network properties.
tagsobjectResource tags.

Methods

The following methods are available for this resource:

NameAccessible byRequired ParamsOptional ParamsDescription
getselectsubscriptionId, resourceGroupName, mobileNetworkNameGets information about the specified mobile network.
list_by_resource_groupselectsubscriptionId, resourceGroupNameLists all the mobile networks in a resource group.
list_by_subscriptionselectsubscriptionIdLists all the mobile networks in a subscription.
create_or_updateinsertsubscriptionId, resourceGroupName, mobileNetworkName, data__propertiesCreates or updates a mobile network.
deletedeletesubscriptionId, resourceGroupName, mobileNetworkNameDeletes the specified mobile network.
update_tagsexecsubscriptionId, resourceGroupName, mobileNetworkNameUpdates mobile network tags and managed identity.

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
mobileNetworkNamestringThe name of the mobile network.
resourceGroupNamestringThe name of the resource group. The name is case insensitive.
subscriptionIdstring (uuid)The ID of the target subscription. The value must be an UUID.

SELECT examples

Gets information about the specified mobile network.

SELECT
identity,
location,
properties,
tags
FROM azure.mobile_network.mobile_networks
WHERE subscriptionId = '{{ subscriptionId }}' -- required
AND resourceGroupName = '{{ resourceGroupName }}' -- required
AND mobileNetworkName = '{{ mobileNetworkName }}' -- required
;

INSERT examples

Creates or updates a mobile network.

INSERT INTO azure.mobile_network.mobile_networks (
data__properties,
data__identity,
data__tags,
data__location,
subscriptionId,
resourceGroupName,
mobileNetworkName
)
SELECT
'{{ properties }}' /* required */,
'{{ identity }}',
'{{ tags }}',
'{{ location }}',
'{{ subscriptionId }}',
'{{ resourceGroupName }}',
'{{ mobileNetworkName }}'
RETURNING
identity,
location,
properties,
tags
;

DELETE examples

Deletes the specified mobile network.

DELETE FROM azure.mobile_network.mobile_networks
WHERE subscriptionId = '{{ subscriptionId }}' --required
AND resourceGroupName = '{{ resourceGroupName }}' --required
AND mobileNetworkName = '{{ mobileNetworkName }}' --required
;

Lifecycle Methods

Updates mobile network tags and managed identity.

EXEC azure.mobile_network.mobile_networks.update_tags 
@subscriptionId='{{ subscriptionId }}' --required,
@resourceGroupName='{{ resourceGroupName }}' --required,
@mobileNetworkName='{{ mobileNetworkName }}' --required
@@json=
'{
"identity": "{{ identity }}",
"tags": "{{ tags }}"
}'
;