Services - Get

Gets information about the specified service.

GET https://management.azure.com/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.MobileNetwork/mobileNetworks/{mobileNetworkName}/services/{serviceName}?api-version=2024-04-01

URI Parameters

Name In Required Type Description
mobileNetworkName
path True

string

The name of the mobile network.

Regex pattern: ^[a-zA-Z0-9][a-zA-Z0-9_-]*$

resourceGroupName
path True

string

The name of the resource group. The name is case insensitive.

serviceName
path True

string

The name of the service. You must not use any of the following reserved strings - default, requested or service

Regex pattern: ^(?!(default|requested|service)$)[a-zA-Z0-9][a-zA-Z0-9_-]*$

subscriptionId
path True

string

uuid

The ID of the target subscription. The value must be an UUID.

api-version
query True

string

The API version to use for this operation.

Responses

Name Type Description
200 OK

Service

Request successful. The operation returns the resulting service resource.

Other Status Codes

ErrorResponse

Error response describing why the operation failed.

Security

azure_auth

Azure Active Directory OAuth2 Flow.

Type: oauth2
Flow: implicit
Authorization URL: https://login.microsoftonline.com/common/oauth2/authorize

Scopes

Name Description
user_impersonation impersonate your user account

Examples

Get service

Sample request

GET https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/rg1/providers/Microsoft.MobileNetwork/mobileNetworks/testMobileNetwork/services/TestService?api-version=2024-04-01

Sample response

{
  "name": "testPolicy",
  "id": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/rg1/providers/Microsoft.MobileNetwork/mobileNetworks/testMobileNetwork/services/TestService",
  "type": "Microsoft.MobileNetwork/service",
  "systemData": {
    "createdBy": "user1",
    "createdByType": "User",
    "createdAt": "2020-01-01T17:18:19.1234567Z",
    "lastModifiedBy": "user2",
    "lastModifiedByType": "User",
    "lastModifiedAt": "2020-01-02T17:18:19.1234567Z"
  },
  "location": "eastus",
  "tags": {},
  "properties": {
    "provisioningState": "Accepted",
    "servicePrecedence": 255,
    "serviceQosPolicy": {
      "5qi": 9,
      "allocationAndRetentionPriorityLevel": 9,
      "preemptionCapability": "NotPreempt",
      "preemptionVulnerability": "Preemptable",
      "maximumBitRate": {
        "uplink": "500 Mbps",
        "downlink": "1 Gbps"
      }
    },
    "pccRules": [
      {
        "ruleName": "default-rule",
        "rulePrecedence": 255,
        "ruleQosPolicy": {
          "5qi": 9,
          "allocationAndRetentionPriorityLevel": 9,
          "preemptionCapability": "NotPreempt",
          "preemptionVulnerability": "Preemptable",
          "maximumBitRate": {
            "uplink": "500 Mbps",
            "downlink": "1 Gbps"
          }
        },
        "trafficControl": "Enabled",
        "serviceDataFlowTemplates": [
          {
            "templateName": "IP-to-server",
            "direction": "Uplink",
            "protocol": [
              "ip"
            ],
            "remoteIpList": [
              "10.3.4.0/24"
            ],
            "ports": []
          }
        ]
      }
    ]
  }
}

Definitions

Name Description
Ambr

Aggregate maximum bit rate.

createdByType

The type of identity that created the resource.

ErrorAdditionalInfo

The resource management error additional info.

ErrorDetail

The error detail.

ErrorResponse

Error response

PccRuleConfiguration

Data flow policy rule configuration

PccRuleQosPolicy

Data flow policy rule QoS policy

PreemptionCapability

Preemption capability.

PreemptionVulnerability

Preemption vulnerability.

ProvisioningState

The current provisioning state.

QosPolicy

QoS policy

SdfDirection

Service data flow direction.

Service

Service resource. Must be created in the same location as its parent mobile network.

ServiceDataFlowTemplate

Data flow template

systemData

Metadata pertaining to creation and last modification of the resource.

TrafficControlPermission

Traffic control permission.

Ambr

Aggregate maximum bit rate.

Name Type Description
downlink

string

Downlink bit rate.

uplink

string

Uplink bit rate.

createdByType

The type of identity that created the resource.

Name Type Description
Application

string

Key

string

ManagedIdentity

string

User

string

ErrorAdditionalInfo

The resource management error additional info.

Name Type Description
info

object

The additional info.

type

string

The additional info type.

ErrorDetail

The error detail.

Name Type Description
additionalInfo

ErrorAdditionalInfo[]

The error additional info.

code

string

The error code.

details

ErrorDetail[]

The error details.

message

string

The error message.

target

string

The error target.

ErrorResponse

Error response

Name Type Description
error

ErrorDetail

The error object.

PccRuleConfiguration

Data flow policy rule configuration

Name Type Default value Description
ruleName

string

The name of the rule. This must be unique within the parent service. You must not use any of the following reserved strings - default, requested or service.

rulePrecedence

integer

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. This value should be unique among all data flow policy rules configured in the mobile network.

ruleQosPolicy

PccRuleQosPolicy

The QoS policy to use for packets matching this rule. If this field is null then the parent service will define the QoS settings.

serviceDataFlowTemplates

ServiceDataFlowTemplate[]

The set of data flow templates to use for this data flow policy rule.

trafficControl

TrafficControlPermission

Enabled

Determines whether flows that match this data flow policy rule are permitted.

PccRuleQosPolicy

Data flow policy rule QoS policy

Name Type Default value Description
5qi

integer

9

5G QoS Flow Indicator value. The 5QI identifies a specific QoS forwarding treatment to be provided to a flow. See 3GPP TS23.501 section 5.7.2.1 for a full description of the 5QI parameter, and table 5.7.4-1 for the definition the 5QI values.

allocationAndRetentionPriorityLevel

integer

9

QoS Flow allocation and retention priority (ARP) level. Flows with higher priority preempt flows with lower priority, if the settings of preemptionCapability and preemptionVulnerability allow it. 1 is the highest level of priority. If this field is not specified then 5qi is used to derive the ARP value. See 3GPP TS23.501 section 5.7.2.2 for a full description of the ARP parameters.

guaranteedBitRate

Ambr

The guaranteed bit rate (GBR) for all service data flows that use this data flow policy rule. This is an optional setting. If you do not provide a value, there will be no GBR set for the data flow policy rule that uses this QoS definition.

maximumBitRate

Ambr

The maximum bit rate (MBR) for all service data flows that use this data flow policy rule or service.

preemptionCapability

PreemptionCapability

NotPreempt

QoS Flow 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.

preemptionVulnerability

PreemptionVulnerability

Preemptable

QoS Flow preemption vulnerability. The preemption vulnerability of a QoS Flow controls whether it can be preempted by a QoS Flow with a higher priority level. See 3GPP TS23.501 section 5.7.2.2 for a full description of the ARP parameters.

PreemptionCapability

Preemption capability.

Name Type Description
MayPreempt

string

May preempt

NotPreempt

string

Cannot preempt

PreemptionVulnerability

Preemption vulnerability.

Name Type Description
NotPreemptable

string

Cannot be preempted

Preemptable

string

May be preempted

ProvisioningState

The current provisioning state.

Name Type Description
Accepted

string

Canceled

string

Deleted

string

Deleting

string

Failed

string

Succeeded

string

Unknown

string

QosPolicy

QoS policy

Name Type Default value Description
5qi

integer

9

5G QoS Flow Indicator value. The 5QI identifies a specific QoS forwarding treatment to be provided to a flow. See 3GPP TS23.501 section 5.7.2.1 for a full description of the 5QI parameter, and table 5.7.4-1 for the definition the 5QI values.

allocationAndRetentionPriorityLevel

integer

9

QoS Flow allocation and retention priority (ARP) level. Flows with higher priority preempt flows with lower priority, if the settings of preemptionCapability and preemptionVulnerability allow it. 1 is the highest level of priority. If this field is not specified then 5qi is used to derive the ARP value. See 3GPP TS23.501 section 5.7.2.2 for a full description of the ARP parameters.

maximumBitRate

Ambr

The maximum bit rate (MBR) for all service data flows that use this data flow policy rule or service.

preemptionCapability

PreemptionCapability

NotPreempt

QoS Flow 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.

preemptionVulnerability

PreemptionVulnerability

Preemptable

QoS Flow preemption vulnerability. The preemption vulnerability of a QoS Flow controls whether it can be preempted by a QoS Flow with a higher priority level. See 3GPP TS23.501 section 5.7.2.2 for a full description of the ARP parameters.

SdfDirection

Service data flow direction.

Name Type Description
Bidirectional

string

Traffic flowing both to and from the UE.

Downlink

string

Traffic flowing from the data network to the UE.

Uplink

string

Traffic flowing from the UE to the data network.

Service

Service resource. Must be created in the same location as its parent mobile network.

Name Type Description
id

string

Fully qualified resource ID for the resource. E.g. "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/{resourceProviderNamespace}/{resourceType}/{resourceName}"

location

string

The geo-location where the resource lives

name

string

The name of the resource

properties.pccRules

PccRuleConfiguration[]

The set of data flow policy rules that make up this service.

properties.provisioningState

ProvisioningState

The provisioning state of the service resource.

properties.servicePrecedence

integer

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. This value should be unique among all services configured in the mobile network.

properties.serviceQosPolicy

QosPolicy

The QoS policy to use for packets matching this service. This can be overridden for particular flows using the ruleQosPolicy field in a PccRuleConfiguration. If this field is null then the UE's SIM policy will define the QoS settings.

systemData

systemData

Azure Resource Manager metadata containing createdBy and modifiedBy information.

tags

object

Resource tags.

type

string

The type of the resource. E.g. "Microsoft.Compute/virtualMachines" or "Microsoft.Storage/storageAccounts"

ServiceDataFlowTemplate

Data flow template

Name Type Description
direction

SdfDirection

The direction of this flow.

ports

string[]

The port(s) to which UEs will connect for this flow. You can specify zero or more ports or port ranges. If you specify one or more ports or port ranges then you must specify a value other than ip in the protocol field. This is an optional setting. If you do not specify it then connections will be allowed on all ports. Port ranges must be specified as -. For example: [8080, 8082-8085].

protocol

string[]

A list of the allowed protocol(s) for this flow. If you want this flow to be able to use any protocol within the internet protocol suite, use the value ip. If you only want to allow a selection of protocols, you must use the corresponding IANA Assigned Internet Protocol Number for each protocol, as described in https://www.iana.org/assignments/protocol-numbers/protocol-numbers.xhtml. For example, for UDP, you must use 17. If you use the value ip then you must leave the field port unspecified.

remoteIpList

string[]

The remote IP address(es) to which UEs will connect for this flow. If you want to allow connections on any IP address, use the value any. Otherwise, you must provide each of the remote IP addresses to which the packet core instance will connect for this flow. You must provide each IP address in CIDR notation, including the netmask (for example, 192.0.2.54/24).

templateName

string

The name of the data flow template. This must be unique within the parent data flow policy rule. You must not use any of the following reserved strings - default, requested or service.

systemData

Metadata pertaining to creation and last modification of the resource.

Name Type Description
createdAt

string

The timestamp of resource creation (UTC).

createdBy

string

The identity that created the resource.

createdByType

createdByType

The type of identity that created the resource.

lastModifiedAt

string

The timestamp of resource last modification (UTC)

lastModifiedBy

string

The identity that last modified the resource.

lastModifiedByType

createdByType

The type of identity that last modified the resource.

TrafficControlPermission

Traffic control permission.

Name Type Description
Blocked

string

Traffic matching this rule is not allowed to flow.

Enabled

string

Traffic matching this rule is allowed to flow.