mobile_networks
Creates, updates, deletes, gets or lists a mobile_networks
resource.
Overview
Name | mobile_networks |
Type | Resource |
Id | azure.mobile_network.mobile_networks |
Fields
- vw_mobile_networks
- mobile_networks
Name | Datatype | Description |
---|---|---|
identity | text | Managed service identity (User assigned identity) |
location | text | The geo-location where the resource lives |
mobileNetworkName | text | field from the properties object |
provisioning_state | text | field from the properties object |
public_land_mobile_network_identifier | text | field from the properties object |
public_land_mobile_networks | text | field from the properties object |
resourceGroupName | text | field from the properties object |
service_key | text | field from the properties object |
subscriptionId | text | field from the properties object |
tags | text | Resource tags. |
Name | Datatype | Description |
---|---|---|
identity | object | Managed service identity (User assigned identity) |
location | string | The geo-location where the resource lives |
properties | object | Mobile network properties. |
tags | object | Resource tags. |
Methods
Name | Accessible by | Required Params | Description |
---|---|---|---|
get | SELECT | mobileNetworkName, resourceGroupName, subscriptionId | Gets information about the specified mobile network. |
list_by_resource_group | SELECT | resourceGroupName, subscriptionId | Lists all the mobile networks in a resource group. |
list_by_subscription | SELECT | subscriptionId | Lists all the mobile networks in a subscription. |
create_or_update | INSERT | mobileNetworkName, resourceGroupName, subscriptionId, data__properties | Creates or updates a mobile network. |
delete | DELETE | mobileNetworkName, resourceGroupName, subscriptionId | Deletes the specified mobile network. |
update_tags | EXEC | mobileNetworkName, resourceGroupName, subscriptionId | Updates mobile network tags and managed identity. |
SELECT
examples
Lists all the mobile networks in a subscription.
- vw_mobile_networks
- mobile_networks
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 }}';
SELECT
identity,
location,
properties,
tags
FROM azure.mobile_network.mobile_networks
WHERE subscriptionId = '{{ subscriptionId }}';
INSERT
example
Use the following StackQL query and manifest file to create a new mobile_networks
resource.
- All Properties
- Manifest
/*+ 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 }}'
;
- name: your_resource_model_name
props:
- name: properties
value:
- name: provisioningState
value: []
- name: publicLandMobileNetworkIdentifier
value:
- name: mcc
value: []
- name: mnc
value: []
- name: publicLandMobileNetworks
value:
- - name: homeNetworkPublicKeys
value:
- name: profileA
value: []
- name: serviceKey
value: string
- name: identity
value:
- name: type
value: []
- name: userAssignedIdentities
value: []
- name: tags
value: object
- name: location
value: string
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 }}';