Skip to content

azurermMobileNetworkSite

Get information about a Mobile Network Site.

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.*/
const dataAzurermMobileNetworkExample =
  new azurerm.dataAzurermMobileNetwork.DataAzurermMobileNetwork(
    this,
    "example",
    {
      name: "example-mn",
      resource_group_name: "example-rg",
    }
  );
const dataAzurermMobileNetworkSiteExample =
  new azurerm.dataAzurermMobileNetworkSite.DataAzurermMobileNetworkSite(
    this,
    "example_1",
    {
      mobile_network_id: dataAzurermMobileNetworkExample.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.*/
dataAzurermMobileNetworkSiteExample.overrideLogicalId("example");

Arguments Reference

The following arguments are supported:

  • name - (Required) The name which should be used for this Mobile Network Site.

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

Attributes Reference

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

  • id - The ID of the Mobile Network Site.

  • networkFunctionIds - An array of Id of Network Functions deployed on the site.

  • location - The Azure Region where the Mobile Network Site should exist.

  • tags - A mapping of tags which should be assigned to the Mobile Network Site.

Timeouts

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

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