Get information about a Mobile Network Service.
data "azurerm_mobile_network" "example" {
name = "example-mn"
resource_group_name = "example-rg"
}
resource "azurerm_mobile_network_service" "example" {
name = "example-mns"
mobile_network_id = data.azurerm_mobile_network.example.id
}
The following arguments are supported:
name
- (Required) Specifies the name which should be used for this Mobile Network Service.
mobile_network_id
- (Required) Specifies the ID of the Mobile Network Service.
In addition to the Arguments listed above - the following Attributes are exported:
id
- The ID of the Mobile Network Service.
location
- The Azure Region where the Mobile Network Service should exist.
service_precedence
- A precedence value that is used to decide between services when identifying the QoS values to use for a particular SIM. A lower value means a higher priority.
pcc_rule
- A pcc_rule
block as defined below. The set of PCC Rules that make up this service.
service_qos_policy
- A service_qos_policy
block as defined below. The QoS policy to use for packets matching this service.
tags
- A mapping of tags which should be assigned to the Mobile Network Service.
A pcc_rule
block supports the following:
name
- The name of the rule. This must be unique within the parent service.
precedence
- A precedence value that is used to decide between data flow policy rules when identifying the QoS values to use for a particular SIM. A lower value means a higher priority.
qos_policy
- A rule_qos_policy
block as defined below. The QoS policy to use for packets matching this rule.
service_data_flow_template
- A service_data_flow_template
block as defined below. The set of service data flow templates to use for this PCC rule.
traffic_control_enabled
- Determines whether flows that match this data flow policy rule are permitted.
A rule_qos_policy
block supports the following:
allocation_and_retention_priority_level
- QoS Flow allocation and retention priority (ARP) level. Flows with higher priority preempt flows with lower priority.
qos_indicator
- The QoS Indicator (5QI for 5G network /QCI for 4G net work) value identifies a set of QoS characteristics that control QoS forwarding treatment for QoS flows or EPS bearers.
guaranteed_bit_rate
- A guaranteed_bit_rate
block as defined below. The Guaranteed Bit Rate (GBR) for all service data flows that use this PCC Rule.
maximum_bit_rate
- A maximum_bit_rate
block as defined below. The Maximum Bit Rate (MBR) for all service data flows that use this PCC Rule or Service.
preemption_capability
- The Preemption Capability of a QoS Flow controls whether it can preempt another QoS Flow with a lower priority level. See 3GPP TS23.501 section 5.7.2.2 for a full description of the ARP parameters.
preemption_vulnerability
- The Preemption Vulnerability of a QoS Flow controls whether it can be preempted by QoS Flow with a higher priority level. See 3GPP TS23.501 section 5.7.2.2 for a full description of the ARP parameters.
A guaranteed_bit_rate
block supports the following:
downlink
- Downlink bit rate.
uplink
- Uplink bit rate.
A service_data_flow_template
block supports the following:
name
- The name of the data flow template. This must be unique within the parent data flow policy rule.
direction
- The direction of this flow. Possible values are Uplink
, Downlink
and Bidirectional
.
protocol
- A list of the allowed protocol(s) for this flow.
remote_ip_list
- The remote IP address(es) to which UEs will connect for this flow.
ports
- The port(s) to which UEs will connect for this flow. You can specify zero or more ports or port ranges.
A service_qos_policy
block supports the following:
allocation_and_retention_priority_level
- QoS Flow allocation and retention priority (ARP) level.
qos_indicator
- The QoS Indicator (5QI for 5G network /QCI for 4G net work) value identifies a set of QoS characteristics that control QoS forwarding treatment for QoS flows or EPS bearers.
maximum_bit_rate
- A maximum_bit_rate
block as defined below. The Maximum Bit Rate (MBR) for all service data flows that use this PCC Rule or Service.
preemption_capability
- The Preemption Capability of a QoS Flow controls whether it can preempt another QoS Flow with a lower priority level. See 3GPP TS23.501 section 5.7.2.2 for a full description of the ARP parameters.
preemption_vulnerability
- The Preemption Vulnerability of a QoS Flow controls whether it can be preempted by QoS Flow with a higher priority level. See 3GPP TS23.501 section 5.7.2.2 for a full description of the ARP parameters.
A maximum_bit_rate
block supports the following:
downlink
- Downlink bit rate.
uplink
- Uplink bit rate.
The timeouts
block allows you to specify timeouts for certain actions:
read
- (Defaults to 5 minutes) Used when retrieving the Mobile Network Service.