Skip to main content

slices

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

Overview

Nameslices
TypeResource
Idazure.mobile_network.slices

Fields

NameDatatypeDescription
descriptiontextfield from the properties object
locationtextThe geo-location where the resource lives
mobileNetworkNametextfield from the properties object
provisioning_statetextfield from the properties object
resourceGroupNametextfield from the properties object
sliceNametextfield from the properties object
snssaitextfield from the properties object
subscriptionIdtextfield from the properties object
tagstextResource tags.

Methods

NameAccessible byRequired ParamsDescription
getSELECTmobileNetworkName, resourceGroupName, sliceName, subscriptionIdGets information about the specified network slice.
list_by_mobile_networkSELECTmobileNetworkName, resourceGroupName, subscriptionIdLists all slices in the mobile network.
create_or_updateINSERTmobileNetworkName, resourceGroupName, sliceName, subscriptionId, data__propertiesCreates or updates a network slice. Must be created in the same location as its parent mobile network.
deleteDELETEmobileNetworkName, resourceGroupName, sliceName, subscriptionIdDeletes the specified network slice.
update_tagsEXECmobileNetworkName, resourceGroupName, sliceName, subscriptionIdUpdates slice tags.

SELECT examples

Lists all slices in the mobile network.

SELECT
description,
location,
mobileNetworkName,
provisioning_state,
resourceGroupName,
sliceName,
snssai,
subscriptionId,
tags
FROM azure.mobile_network.vw_slices
WHERE mobileNetworkName = '{{ mobileNetworkName }}'
AND resourceGroupName = '{{ resourceGroupName }}'
AND subscriptionId = '{{ subscriptionId }}';

INSERT example

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

/*+ create */
INSERT INTO azure.mobile_network.slices (
mobileNetworkName,
resourceGroupName,
sliceName,
subscriptionId,
data__properties,
properties,
tags,
location
)
SELECT
'{{ mobileNetworkName }}',
'{{ resourceGroupName }}',
'{{ sliceName }}',
'{{ subscriptionId }}',
'{{ data__properties }}',
'{{ properties }}',
'{{ tags }}',
'{{ location }}'
;

DELETE example

Deletes the specified slices resource.

/*+ delete */
DELETE FROM azure.mobile_network.slices
WHERE mobileNetworkName = '{{ mobileNetworkName }}'
AND resourceGroupName = '{{ resourceGroupName }}'
AND sliceName = '{{ sliceName }}'
AND subscriptionId = '{{ subscriptionId }}';