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
The following fields are returned by SELECT
queries:
- get
- list_by_resource_group
- list_by_subscription
Request successful. The operation returns the resulting mobile network resource.
Name | Datatype | Description |
---|---|---|
identity | object | The identity used to retrieve any private keys used for SUPI concealment from Azure key vault. |
location | string | The geo-location where the resource lives |
properties | object | Mobile network properties. |
tags | object | Resource tags. |
Request successful. The operation returns a list of mobile network resources.
Name | Datatype | Description |
---|---|---|
identity | object | The identity used to retrieve any private keys used for SUPI concealment from Azure key vault. |
location | string | The geo-location where the resource lives |
properties | object | Mobile network properties. |
tags | object | Resource tags. |
Request successful. The operation returns a list of mobile network resources.
Name | Datatype | Description |
---|---|---|
identity | object | The identity used to retrieve any private keys used for SUPI concealment from Azure key vault. |
location | string | The geo-location where the resource lives |
properties | object | Mobile network properties. |
tags | object | Resource tags. |
Methods
The following methods are available for this resource:
Name | Accessible by | Required Params | Optional Params | Description |
---|---|---|---|---|
get | select | subscriptionId , resourceGroupName , mobileNetworkName | Gets information about the specified mobile network. | |
list_by_resource_group | select | subscriptionId , resourceGroupName | 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 | subscriptionId , resourceGroupName , mobileNetworkName , data__properties | Creates or updates a mobile network. | |
delete | delete | subscriptionId , resourceGroupName , mobileNetworkName | Deletes the specified mobile network. | |
update_tags | exec | subscriptionId , resourceGroupName , mobileNetworkName | Updates 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.
Name | Datatype | Description |
---|---|---|
mobileNetworkName | string | The name of the mobile network. |
resourceGroupName | string | The name of the resource group. The name is case insensitive. |
subscriptionId | string (uuid) | The ID of the target subscription. The value must be an UUID. |
SELECT
examples
- get
- list_by_resource_group
- list_by_subscription
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
;
Lists all the mobile networks in a resource group.
SELECT
identity,
location,
properties,
tags
FROM azure.mobile_network.mobile_networks
WHERE subscriptionId = '{{ subscriptionId }}' -- required
AND resourceGroupName = '{{ resourceGroupName }}' -- required
;
Lists all the mobile networks in a subscription.
SELECT
identity,
location,
properties,
tags
FROM azure.mobile_network.mobile_networks
WHERE subscriptionId = '{{ subscriptionId }}' -- required
;
INSERT
examples
- create_or_update
- Manifest
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
;
# Description fields are for documentation purposes
- name: mobile_networks
props:
- name: subscriptionId
value: string (uuid)
description: Required parameter for the mobile_networks resource.
- name: resourceGroupName
value: string
description: Required parameter for the mobile_networks resource.
- name: mobileNetworkName
value: string
description: Required parameter for the mobile_networks resource.
- name: properties
value: object
description: |
Mobile network properties.
- name: identity
value: object
description: |
The identity used to retrieve any private keys used for SUPI concealment from Azure key vault.
- name: tags
value: object
description: |
Resource tags.
- name: location
value: string
description: |
The geo-location where the resource lives
DELETE
examples
- delete
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
- update_tags
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 }}"
}'
;