Skip to main content

sims

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

Overview

Namesims
TypeResource
Idazure.mobile_network.sims

Fields

NameDatatypeDescription
authentication_keytextfield from the properties object
device_typetextfield from the properties object
integrated_circuit_card_identifiertextfield from the properties object
international_mobile_subscriber_identitytextfield from the properties object
operator_key_codetextfield from the properties object
provisioning_statetextfield from the properties object
resourceGroupNametextfield from the properties object
simGroupNametextfield from the properties object
simNametextfield from the properties object
sim_policytextfield from the properties object
sim_statetextfield from the properties object
site_provisioning_statetextfield from the properties object
static_ip_configurationtextfield from the properties object
subscriptionIdtextfield from the properties object
vendor_key_fingerprinttextfield from the properties object
vendor_nametextfield from the properties object

Methods

NameAccessible byRequired ParamsDescription
getSELECTresourceGroupName, simGroupName, simName, subscriptionIdGets information about the specified SIM.
list_by_groupSELECTresourceGroupName, simGroupName, subscriptionIdGets all the SIMs in a SIM group.
create_or_updateINSERTresourceGroupName, simGroupName, simName, subscriptionId, data__propertiesCreates or updates a SIM.
deleteDELETEresourceGroupName, simGroupName, simName, subscriptionIdDeletes the specified SIM.
bulk_deleteEXECresourceGroupName, simGroupName, subscriptionId, data__simsBulk delete SIMs from a SIM group.
bulk_uploadEXECresourceGroupName, simGroupName, subscriptionId, data__simsBulk upload SIMs to a SIM group.
bulk_upload_encryptedEXECresourceGroupName, simGroupName, subscriptionId, data__azureKeyIdentifier, data__encryptedTransportKey, data__signedTransportKey, data__sims, data__vendorKeyFingerprint, data__versionBulk upload SIMs in encrypted form to a SIM group. The SIM credentials must be encrypted.
cloneEXECresourceGroupName, simGroupName, subscriptionIdClone SIMs to another SIM Group
moveEXECresourceGroupName, simGroupName, subscriptionIdMove SIMs to another SIM Group

SELECT examples

Gets all the SIMs in a SIM group.

SELECT
authentication_key,
device_type,
integrated_circuit_card_identifier,
international_mobile_subscriber_identity,
operator_key_code,
provisioning_state,
resourceGroupName,
simGroupName,
simName,
sim_policy,
sim_state,
site_provisioning_state,
static_ip_configuration,
subscriptionId,
vendor_key_fingerprint,
vendor_name
FROM azure.mobile_network.vw_sims
WHERE resourceGroupName = '{{ resourceGroupName }}'
AND simGroupName = '{{ simGroupName }}'
AND subscriptionId = '{{ subscriptionId }}';

INSERT example

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

/*+ create */
INSERT INTO azure.mobile_network.sims (
resourceGroupName,
simGroupName,
simName,
subscriptionId,
data__properties,
properties
)
SELECT
'{{ resourceGroupName }}',
'{{ simGroupName }}',
'{{ simName }}',
'{{ subscriptionId }}',
'{{ data__properties }}',
'{{ properties }}'
;

DELETE example

Deletes the specified sims resource.

/*+ delete */
DELETE FROM azure.mobile_network.sims
WHERE resourceGroupName = '{{ resourceGroupName }}'
AND simGroupName = '{{ simGroupName }}'
AND simName = '{{ simName }}'
AND subscriptionId = '{{ subscriptionId }}';