sim_groups
Creates, updates, deletes, gets or lists a sim_groups
resource.
Overview
Name | sim_groups |
Type | Resource |
Id | azure.mobile_network.sim_groups |
Fields
- vw_sim_groups
- sim_groups
Name | Datatype | Description |
---|---|---|
encryption_key | text | field from the properties object |
identity | text | Managed service identity (User assigned identity) |
location | text | The geo-location where the resource lives |
mobile_network | text | field from the properties object |
provisioning_state | text | field from the properties object |
resourceGroupName | text | field from the properties object |
simGroupName | 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 | SIM group properties. |
tags | object | Resource tags. |
Methods
Name | Accessible by | Required Params | Description |
---|---|---|---|
get | SELECT | resourceGroupName, simGroupName, subscriptionId | Gets information about the specified SIM group. |
list_by_resource_group | SELECT | resourceGroupName, subscriptionId | Gets all the SIM groups in a resource group. |
list_by_subscription | SELECT | subscriptionId | Gets all the SIM groups in a subscription. |
create_or_update | INSERT | resourceGroupName, simGroupName, subscriptionId, data__properties | Creates or updates a SIM group. |
delete | DELETE | resourceGroupName, simGroupName, subscriptionId | Deletes the specified SIM group. |
update_tags | EXEC | resourceGroupName, simGroupName, subscriptionId | Patch SIM group resource. |
SELECT
examples
Gets all the SIM groups in a subscription.
- vw_sim_groups
- sim_groups
SELECT
encryption_key,
identity,
location,
mobile_network,
provisioning_state,
resourceGroupName,
simGroupName,
subscriptionId,
tags
FROM azure.mobile_network.vw_sim_groups
WHERE subscriptionId = '{{ subscriptionId }}';
SELECT
identity,
location,
properties,
tags
FROM azure.mobile_network.sim_groups
WHERE subscriptionId = '{{ subscriptionId }}';
INSERT
example
Use the following StackQL query and manifest file to create a new sim_groups
resource.
- All Properties
- Manifest
/*+ create */
INSERT INTO azure.mobile_network.sim_groups (
resourceGroupName,
simGroupName,
subscriptionId,
data__properties,
properties,
identity,
tags,
location
)
SELECT
'{{ resourceGroupName }}',
'{{ simGroupName }}',
'{{ subscriptionId }}',
'{{ data__properties }}',
'{{ properties }}',
'{{ identity }}',
'{{ tags }}',
'{{ location }}'
;
- name: your_resource_model_name
props:
- name: properties
value:
- name: provisioningState
value: []
- name: encryptionKey
value:
- name: keyUrl
value: string
- name: mobileNetwork
value:
- name: id
value: string
- name: identity
value:
- name: type
value: []
- name: userAssignedIdentities
value: []
- name: tags
value: object
- name: location
value: string
DELETE
example
Deletes the specified sim_groups
resource.
/*+ delete */
DELETE FROM azure.mobile_network.sim_groups
WHERE resourceGroupName = '{{ resourceGroupName }}'
AND simGroupName = '{{ simGroupName }}'
AND subscriptionId = '{{ subscriptionId }}';