Skip to content

azurermMobileNetworkSlice

Get information about a Mobile Network Slice.

Example Usage

/*Provider bindings are generated by running cdktf get.
See https://cdk.tf/provider-generation for more details.*/
import * as azurerm from "./.gen/providers/azurerm";
/*The following providers are missing schema information and might need manual adjustments to synthesize correctly: azurerm.
For a more precise conversion please use the --provider flag in convert.*/
new azurerm.dataAzurermMobileNetwork.DataAzurermMobileNetwork(this, "example", {
  name: "example-mn",
  resource_group_name: "example-rg",
});
const dataAzurermMobileNetworkSliceExample =
  new azurerm.dataAzurermMobileNetworkSlice.DataAzurermMobileNetworkSlice(
    this,
    "example_1",
    {
      mobile_network_id: "${data.azurerm_mobile_network.test.id}",
      name: "example-mns",
    }
  );
/*This allows the Terraform resource name to match the original name. You can remove the call if you don't need them to match.*/
dataAzurermMobileNetworkSliceExample.overrideLogicalId("example");

Arguments Reference

The following arguments are supported:

  • name - (Required) Specifies the name which should be used for this Mobile Network Slice.

  • mobileNetworkId - (Required) The ID of Mobile Network which the Mobile Network Slice belongs to.

Attributes Reference

In addition to the Arguments listed above - the following Attributes are exported:

  • id - The ID of the Mobile Network Slice.

  • location - The Azure Region where the Mobile Network Slice exists.

  • singleNetworkSliceSelectionAssistanceInformation - A singleNetworkSliceSelectionAssistanceInformation block as defined below. Single-network slice selection assistance information (S-NSSAI).

  • description - A description of this Mobile Network Slice.

  • tags - A mapping of tags which are assigned to the Mobile Network Slice.


A singleNetworkSliceSelectionAssistanceInformation block supports the following:

  • sliceDifferentiator - Slice differentiator (SD).

  • sliceServiceType - Slice/service type (SST).

Timeouts

The timeouts block allows you to specify timeouts for certain actions:

  • read - (Defaults to 5 minutes) Used when retrieving the Mobile Network Slice.