sim_policies
Creates, updates, deletes, gets or lists a sim_policies
resource.
Overview
Name | sim_policies |
Type | Resource |
Id | azure.mobile_network.sim_policies |
Fields
- vw_sim_policies
- sim_policies
Name | Datatype | Description |
---|---|---|
default_slice | text | field from the properties object |
location | text | The geo-location where the resource lives |
mobileNetworkName | text | field from the properties object |
provisioning_state | text | field from the properties object |
registration_timer | text | field from the properties object |
resourceGroupName | text | field from the properties object |
rfsp_index | text | field from the properties object |
simPolicyName | text | field from the properties object |
site_provisioning_state | text | field from the properties object |
slice_configurations | text | field from the properties object |
subscriptionId | text | field from the properties object |
tags | text | Resource tags. |
ue_ambr | text | field from the properties object |
Name | Datatype | Description |
---|---|---|
location | string | The geo-location where the resource lives |
properties | object | SIM policy properties. Must be created in the same location as its parent mobile network. |
tags | object | Resource tags. |
Methods
Name | Accessible by | Required Params | Description |
---|---|---|---|
get | SELECT | mobileNetworkName, resourceGroupName, simPolicyName, subscriptionId | Gets information about the specified SIM policy. |
list_by_mobile_network | SELECT | mobileNetworkName, resourceGroupName, subscriptionId | Gets all the SIM policies in a mobile network. |
create_or_update | INSERT | mobileNetworkName, resourceGroupName, simPolicyName, subscriptionId, data__properties | Creates or updates a SIM policy. Must be created in the same location as its parent mobile network. |
delete | DELETE | mobileNetworkName, resourceGroupName, simPolicyName, subscriptionId | Deletes the specified SIM policy. |
update_tags | EXEC | mobileNetworkName, resourceGroupName, simPolicyName, subscriptionId | Updates SIM policy tags. |
SELECT
examples
Gets all the SIM policies in a mobile network.
- vw_sim_policies
- sim_policies
SELECT
default_slice,
location,
mobileNetworkName,
provisioning_state,
registration_timer,
resourceGroupName,
rfsp_index,
simPolicyName,
site_provisioning_state,
slice_configurations,
subscriptionId,
tags,
ue_ambr
FROM azure.mobile_network.vw_sim_policies
WHERE mobileNetworkName = '{{ mobileNetworkName }}'
AND resourceGroupName = '{{ resourceGroupName }}'
AND subscriptionId = '{{ subscriptionId }}';
SELECT
location,
properties,
tags
FROM azure.mobile_network.sim_policies
WHERE mobileNetworkName = '{{ mobileNetworkName }}'
AND resourceGroupName = '{{ resourceGroupName }}'
AND subscriptionId = '{{ subscriptionId }}';
INSERT
example
Use the following StackQL query and manifest file to create a new sim_policies
resource.
- All Properties
- Manifest
/*+ create */
INSERT INTO azure.mobile_network.sim_policies (
mobileNetworkName,
resourceGroupName,
simPolicyName,
subscriptionId,
data__properties,
properties,
tags,
location
)
SELECT
'{{ mobileNetworkName }}',
'{{ resourceGroupName }}',
'{{ simPolicyName }}',
'{{ subscriptionId }}',
'{{ data__properties }}',
'{{ properties }}',
'{{ tags }}',
'{{ location }}'
;
- name: your_resource_model_name
props:
- name: properties
value:
- name: provisioningState
value: []
- name: siteProvisioningState
value: []
- name: ueAmbr
value:
- name: uplink
value: []
- name: defaultSlice
value:
- name: id
value: string
- name: rfspIndex
value: []
- name: registrationTimer
value: integer
- name: sliceConfigurations
value:
- - name: defaultDataNetwork
value:
- name: id
value: string
- name: dataNetworkConfigurations
value:
- - name: 5qi
value: []
- name: allocationAndRetentionPriorityLevel
value: []
- name: preemptionCapability
value: []
- name: preemptionVulnerability
value: []
- name: defaultSessionType
value: []
- name: additionalAllowedSessionTypes
value:
- []
- name: allowedServices
value:
- - name: id
value: string
- name: maximumNumberOfBufferedPackets
value: integer
- name: tags
value: object
- name: location
value: string
DELETE
example
Deletes the specified sim_policies
resource.
/*+ delete */
DELETE FROM azure.mobile_network.sim_policies
WHERE mobileNetworkName = '{{ mobileNetworkName }}'
AND resourceGroupName = '{{ resourceGroupName }}'
AND simPolicyName = '{{ simPolicyName }}'
AND subscriptionId = '{{ subscriptionId }}';