Skip to main content

sim_groups

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

Overview

Namesim_groups
TypeResource
Idazure.mobile_network.sim_groups

Fields

NameDatatypeDescription
encryption_keytextfield from the properties object
identitytextManaged service identity (User assigned identity)
locationtextThe geo-location where the resource lives
mobile_networktextfield from the properties object
provisioning_statetextfield from the properties object
resourceGroupNametextfield from the properties object
simGroupNametextfield from the properties object
subscriptionIdtextfield from the properties object
tagstextResource tags.

Methods

NameAccessible byRequired ParamsDescription
getSELECTresourceGroupName, simGroupName, subscriptionIdGets information about the specified SIM group.
list_by_resource_groupSELECTresourceGroupName, subscriptionIdGets all the SIM groups in a resource group.
list_by_subscriptionSELECTsubscriptionIdGets all the SIM groups in a subscription.
create_or_updateINSERTresourceGroupName, simGroupName, subscriptionId, data__propertiesCreates or updates a SIM group.
deleteDELETEresourceGroupName, simGroupName, subscriptionIdDeletes the specified SIM group.
update_tagsEXECresourceGroupName, simGroupName, subscriptionIdPatch SIM group resource.

SELECT examples

Gets all the SIM groups in a subscription.

SELECT
encryption_key,
identity,
location,
mobile_network,
provisioning_state,
resourceGroupName,
simGroupName,
subscriptionId,
tags
FROM azure.mobile_network.vw_sim_groups
WHERE subscriptionId = '{{ subscriptionId }}';

INSERT example

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

/*+ 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 }}'
;

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 }}';