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

NameDatatypeDescription
identitytextManaged service identity (User assigned identity)
locationtextThe geo-location where the resource lives
mobileNetworkNametextfield from the properties object
provisioning_statetextfield from the properties object
public_land_mobile_network_identifiertextfield from the properties object
public_land_mobile_networkstextfield from the properties object
resourceGroupNametextfield from the properties object
service_keytextfield from the properties object
subscriptionIdtextfield from the properties object
tagstextResource tags.

Methods

NameAccessible byRequired ParamsDescription
getSELECTmobileNetworkName, resourceGroupName, subscriptionIdGets information about the specified mobile network.
list_by_resource_groupSELECTresourceGroupName, subscriptionIdLists all the mobile networks in a resource group.
list_by_subscriptionSELECTsubscriptionIdLists all the mobile networks in a subscription.
create_or_updateINSERTmobileNetworkName, resourceGroupName, subscriptionId, data__propertiesCreates or updates a mobile network.
deleteDELETEmobileNetworkName, resourceGroupName, subscriptionIdDeletes the specified mobile network.
update_tagsEXECmobileNetworkName, resourceGroupName, subscriptionIdUpdates mobile network tags and managed identity.

SELECT examples

Lists all the mobile networks in a subscription.

SELECT
identity,
location,
mobileNetworkName,
provisioning_state,
public_land_mobile_network_identifier,
public_land_mobile_networks,
resourceGroupName,
service_key,
subscriptionId,
tags
FROM azure.mobile_network.vw_mobile_networks
WHERE subscriptionId = '{{ subscriptionId }}';

INSERT example

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

/*+ create */
INSERT INTO azure.mobile_network.mobile_networks (
mobileNetworkName,
resourceGroupName,
subscriptionId,
data__properties,
properties,
identity,
tags,
location
)
SELECT
'{{ mobileNetworkName }}',
'{{ resourceGroupName }}',
'{{ subscriptionId }}',
'{{ data__properties }}',
'{{ properties }}',
'{{ identity }}',
'{{ tags }}',
'{{ location }}'
;

DELETE example

Deletes the specified mobile_networks resource.

/*+ delete */
DELETE FROM azure.mobile_network.mobile_networks
WHERE mobileNetworkName = '{{ mobileNetworkName }}'
AND resourceGroupName = '{{ resourceGroupName }}'
AND subscriptionId = '{{ subscriptionId }}';