Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Added new API version 2022-03-01 to the Mobile Network service #18234

Merged
merged 34 commits into from
Mar 21, 2022
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
Show all changes
34 commits
Select commit Hold shift + click to select a range
8e84547
Mobile Network REST API Specification
satravi Feb 9, 2022
07664ab
Removed API versions 2020-06-01-preview and 2021-04-01-preview. Have …
satravi Feb 9, 2022
bb88231
Addressed Swagger Avocado and Swagger SpellCheck Errors
satravi Feb 9, 2022
0218749
Merge branch 'main' into satravi/mobilenetwork-rest-api-specs
satravi Feb 9, 2022
11a774f
Addressed Parameters Order Errors
satravi Feb 9, 2022
f88a7f7
Merge azure-rest-api-specs-pr branch ssivathas/mobilenetwork-public-a…
satravi Feb 9, 2022
34a572b
Removed Unreferenced JSON Files
satravi Feb 10, 2022
33f9cf8
Merge branch 'main' into satravi/mobilenetwork-rest-api-specs
satravi Feb 15, 2022
fcbb07c
Added support for Static IP Addressing to PMN
satravi Feb 15, 2022
39f88ac
Addressed Swagger PrettierCheck Errors
satravi Feb 16, 2022
ea2564a
Addressed Swagger ModelValidation Errors
satravi Feb 16, 2022
c4ddb1f
change go config to track 2
ArcturusZhang Feb 17, 2022
dc15f6e
Updated the API versions in SDK README files
satravi Feb 17, 2022
9312342
Update readme.python.md
msyyc Feb 17, 2022
912b00f
Update readme.md
msyyc Feb 17, 2022
9f5c3da
Updated ActivationState to ConfigurationState
satravi Feb 17, 2022
b601189
Addressed XmsIdentifierValidation Errors
satravi Feb 17, 2022
ed15fe9
Addressed DescriptionAndTitleMissing Errors
satravi Feb 17, 2022
86e8fe1
Generic name for N2 and N3 Interface attributes to support 4G Networks
satravi Feb 17, 2022
41aaf0e
Generic name for N6 Interface attribute to support 4G Networks
satravi Feb 17, 2022
789cc52
Generic name for N6 Interface attribute to support 4G Networks
satravi Feb 17, 2022
ddb18b6
Merge branch 'main' of https://github.com/Azure/azure-rest-api-specs …
satravi Mar 11, 2022
0e0c5bc
Merge branch 'main' of https://github.com/Azure/azure-rest-api-specs …
satravi Mar 14, 2022
a180e7b
Updated the Mobile Network REST specification and examples
satravi Mar 14, 2022
896900b
Removed the read-only field activationState
satravi Mar 14, 2022
e144b93
Merge branch 'main' of https://github.com/Azure/azure-rest-api-specs …
satravi Mar 14, 2022
2339167
Added 2022-03-01 version
satravi Mar 14, 2022
c39d8f7
Updated 2022-03-01 version in the README files
satravi Mar 14, 2022
d91313e
Removed the duplicate custom-words
satravi Mar 14, 2022
4c360d8
Merge branch 'main' of https://github.com/Azure/azure-rest-api-specs …
satravi Mar 16, 2022
dec7d9a
Revert "Mobile Network API version 2022-03-01"
satravi Mar 16, 2022
23b1493
Revert custom-words
satravi Mar 16, 2022
0113a59
Added Mobile Network API version 2022-03-01-preview
satravi Mar 16, 2022
439e59d
Updated Mobile Network API version 2022-03-01-preview specs and examples
satravi Mar 16, 2022
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view

Large diffs are not rendered by default.

Original file line number Diff line number Diff line change
@@ -0,0 +1,367 @@
{
"swagger": "2.0",
"info": {
"title": "MobileNetworkManagementClient",
"description": "The resources in this swagger specification will be used to manage the virtual network functions deployed using mobile network",
"version": "2022-03-01-preview"
},
"host": "management.azure.com",
"schemes": [
"https"
],
"consumes": [
"application/json"
],
"produces": [
"application/json"
],
"security": [
{
"azure_auth": [
"user_impersonation"
]
}
],
"securityDefinitions": {
"azure_auth": {
"type": "oauth2",
"authorizationUrl": "https://login.microsoftonline.com/common/oauth2/authorize",
"flow": "implicit",
"description": "Azure Active Directory OAuth2 Flow.",
"scopes": {
"user_impersonation": "impersonate your user account"
}
}
},
"paths": {},
"definitions": {
"SubResource": {
"type": "object",
"properties": {
"id": {
"type": "string",
"description": "Resource ID."
}
},
"required": [
"id"
],
"description": "Reference to another sub resource.",
"x-ms-azure-resource": true
},
"DataNetworkResourceId": {
"type": "object",
"properties": {
"id": {
"type": "string",
"pattern": "^/[sS][uU][bB][sS][cC][rR][iI][pP][tT][iI][oO][nN][sS]/[^/?#]+/[rR][eE][sS][oO][uU][rR][cC][eE][gG][rR][oO][uU][pP][sS]/[^/?#]+/[pP][rR][oO][vV][iI][dD][eE][rR][sS]/[mM][iI][cC][rR][oO][sS][oO][fF][tT]\\.[mM][oO][bB][iI][lL][eE][nN][eE][tT][wW][oO][rR][kK]/[mM][oO][bB][iI][lL][eE][nN][eE][tT][wW][oO][rR][kK][sS]/[^/?#]+/[dD][aA][tT][aA][nN][eE][tT][wW][oO][rR][kK][sS]/[^/?#]+$",
"description": "Data Network resource ID."
}
},
"required": [
"id"
],
"description": "Reference to a Data Network resource.",
"x-ms-azure-resource": true
},
"AttachedDataNetworkResourceId": {
"type": "object",
"properties": {
"id": {
"type": "string",
"pattern": "^/[sS][uU][bB][sS][cC][rR][iI][pP][tT][iI][oO][nN][sS]/[^/?#]+/[rR][eE][sS][oO][uU][rR][cC][eE][gG][rR][oO][uU][pP][sS]/[^/?#]+/[pP][rR][oO][vV][iI][dD][eE][rR][sS]/[mM][iI][cC][rR][oO][sS][oO][fF][tT]\\.[mM][oO][bB][iI][lL][eE][nN][eE][tT][wW][oO][rR][kK]/[pP][aA][cC][kK][eE][tT][cC][oO][rR][eE][cC][oO][nN][tT][rR][oO][lL][pP][lL][aA][nN][eE][sS]/[^/?#]+/[pP][aA][cC][kK][eE][tT][cC][oO][rR][eE][dD][aA][tT][aA][pP][lL][aA][nN][eE][sS]/[^/?#]+/[aA][tT][tT][aA][cC][hH][eE][dD][dD][aA][tT][aA][nN][eE][tT][wW][oO][rR][kK][sS]/[^/?#]+$",
"description": "Attached Data Network resource ID."
}
},
"required": [
"id"
],
"description": "Reference to an Attached Data Network resource.",
"x-ms-azure-resource": true
},
"MobileNetworkResourceId": {
"type": "object",
"properties": {
"id": {
"type": "string",
"pattern": "^/[sS][uU][bB][sS][cC][rR][iI][pP][tT][iI][oO][nN][sS]/[^/?#]+/[rR][eE][sS][oO][uU][rR][cC][eE][gG][rR][oO][uU][pP][sS]/[^/?#]+/[pP][rR][oO][vV][iI][dD][eE][rR][sS]/[mM][iI][cC][rR][oO][sS][oO][fF][tT]\\.[mM][oO][bB][iI][lL][eE][nN][eE][tT][wW][oO][rR][kK]/[mM][oO][bB][iI][lL][eE][nN][eE][tT][wW][oO][rR][kK][sS]/[^/?#]+$",
"description": "Mobile Network resource ID."
}
},
"required": [
"id"
],
"description": "Reference to a Mobile Network resource.",
"x-ms-azure-resource": true
},
"ServiceResourceId": {
"type": "object",
"properties": {
"id": {
"type": "string",
"pattern": "^/[sS][uU][bB][sS][cC][rR][iI][pP][tT][iI][oO][nN][sS]/[^/?#]+/[rR][eE][sS][oO][uU][rR][cC][eE][gG][rR][oO][uU][pP][sS]/[^/?#]+/[pP][rR][oO][vV][iI][dD][eE][rR][sS]/[mM][iI][cC][rR][oO][sS][oO][fF][tT]\\.[mM][oO][bB][iI][lL][eE][nN][eE][tT][wW][oO][rR][kK]/[mM][oO][bB][iI][lL][eE][nN][eE][tT][wW][oO][rR][kK][sS]/[^/?#]+/[sS][eE][rR][vV][iI][cC][eE][sS]/[^/?#]+$",
"description": "Service resource ID."
}
},
"required": [
"id"
],
"description": "Reference to a Service resource.",
"x-ms-azure-resource": true
},
"SimPolicyResourceId": {
"type": "object",
"properties": {
"id": {
"type": "string",
"pattern": "^/[sS][uU][bB][sS][cC][rR][iI][pP][tT][iI][oO][nN][sS]/[^/?#]+/[rR][eE][sS][oO][uU][rR][cC][eE][gG][rR][oO][uU][pP][sS]/[^/?#]+/[pP][rR][oO][vV][iI][dD][eE][rR][sS]/[mM][iI][cC][rR][oO][sS][oO][fF][tT]\\.[mM][oO][bB][iI][lL][eE][nN][eE][tT][wW][oO][rR][kK]/[mM][oO][bB][iI][lL][eE][nN][eE][tT][wW][oO][rR][kK][sS]/[^/?#]+/[sS][iI][mM][pP][oO][lL][iI][cC][iI][eE][sS]/[^/?#]+$",
"description": "SIM Policy resource ID."
}
},
"required": [
"id"
],
"description": "Reference to a SIM Policy resource.",
"x-ms-azure-resource": true
},
"SliceResourceId": {
"type": "object",
"properties": {
"id": {
"type": "string",
"pattern": "^/[sS][uU][bB][sS][cC][rR][iI][pP][tT][iI][oO][nN][sS]/[^/?#]+/[rR][eE][sS][oO][uU][rR][cC][eE][gG][rR][oO][uU][pP][sS]/[^/?#]+/[pP][rR][oO][vV][iI][dD][eE][rR][sS]/[mM][iI][cC][rR][oO][sS][oO][fF][tT]\\.[mM][oO][bB][iI][lL][eE][nN][eE][tT][wW][oO][rR][kK]/[mM][oO][bB][iI][lL][eE][nN][eE][tT][wW][oO][rR][kK][sS]/[^/?#]+/[sS][lL][iI][cC][eE][sS]/[^/?#]+$",
"description": "Slice resource ID."
}
},
"required": [
"id"
],
"description": "Reference to a Slice resource.",
"x-ms-azure-resource": true
},
"CustomLocationResourceId": {
"type": "object",
"properties": {
"id": {
"type": "string",
"pattern": "^/[sS][uU][bB][sS][cC][rR][iI][pP][tT][iI][oO][nN][sS]/[^/?#]+/[rR][eE][sS][oO][uU][rR][cC][eE][gG][rR][oO][uU][pP][sS]/[^/?#]+/[pP][rR][oO][vV][iI][dD][eE][rR][sS]/[mM][iI][cC][rR][oO][sS][oO][fF][tT]\\.[eE][xX][tT][eE][nN][dD][eE][dD][lL][oO][cC][aA][tT][iI][oO][nN]/[cC][uU][sS][tT][oO][mM][lL][oO][cC][aA][tT][iI][oO][nN][sS]/[^/?#]+$",
"description": "Azure ARC custom location resource ID."
}
},
"required": [
"id"
],
"description": "Reference to an Azure ARC custom location resource.",
"x-ms-azure-resource": true
},
"ProvisioningState": {
"type": "string",
"readOnly": true,
"description": "The current provisioning state.",
"enum": [
"Unknown",
"Succeeded",
"Accepted",
"Deleting",
"Failed",
"Canceled",
"Deleted"
],
"x-ms-enum": {
"name": "ProvisioningState",
"modelAsString": true,
"values": [
{
"value": "Unknown"
},
{
"value": "Succeeded"
},
{
"value": "Accepted"
},
{
"value": "Deleting"
},
{
"value": "Failed"
},
{
"value": "Canceled"
},
{
"value": "Deleted"
}
]
}
},
"TagsObject": {
"type": "object",
"properties": {
"tags": {
"type": "object",
"additionalProperties": {
"type": "string"
},
"description": "Resource tags."
}
},
"description": "Tags object for patch operations."
},
"SimState": {
"type": "string",
"readOnly": true,
"description": "The state of the sim resource.",
"enum": [
"Disabled",
"Enabled",
"Invalid"
],
"x-ms-enum": {
"name": "SimState",
"modelAsString": true,
"values": [
{
"value": "Disabled",
"description": "The sim is disabled because not all configuration required for enabling is present."
},
{
"value": "Enabled",
"description": "The sim is enabled."
},
{
"value": "Invalid",
"description": "The sim cannot be enabled because some of the associated configuration is invalid."
}
]
}
},
"InterfaceProperties": {
"type": "object",
"properties": {
"name": {
"type": "string",
"description": "The logical name for this interface. This should match one of the interfaces configured on your Azure Stack Edge machine."
},
"ipv4Address": {
"$ref": "./ts29571.json#/definitions/Ipv4Addr",
"description": "The IPv4 address."
},
"ipv4Subnet": {
"$ref": "./ts29571.json#/definitions/Ipv4AddrMask",
"description": "The IPv4 subnet."
},
"ipv4Gateway": {
"$ref": "./ts29571.json#/definitions/Ipv4Addr",
"description": "The default IPv4 gateway (router)."
}
},
"required": [
"name"
],
"description": "Interface properties"
}
},
"parameters": {
"AttachedDataNetworkNameParameter": {
"name": "attachedDataNetworkName",
"in": "path",
"required": true,
"type": "string",
"pattern": "^[a-zA-Z0-9]([a-zA-Z0-9-]*[a-zA-Z0-9])*(\\.[a-zA-Z0-9]([a-zA-Z0-9-]*[a-zA-Z0-9])*)*$",
"maxLength": 64,
"description": "The name of the attached data network.",
"x-ms-parameter-location": "method"
},
"DataNetworkNameParameter": {
"name": "dataNetworkName",
"in": "path",
"required": true,
"type": "string",
"pattern": "^[a-zA-Z0-9]([a-zA-Z0-9-]*[a-zA-Z0-9])*(\\.[a-zA-Z0-9]([a-zA-Z0-9-]*[a-zA-Z0-9])*)*$",
"maxLength": 64,
"description": "The name of the mobile network dataNetwork.",
"x-ms-parameter-location": "method"
},
"MobileNetworkNameParameter": {
"name": "mobileNetworkName",
"in": "path",
"required": true,
"type": "string",
"pattern": "^[a-zA-Z0-9][a-zA-Z0-9_-]*$",
"maxLength": 64,
"description": "The name of the mobile network.",
"x-ms-parameter-location": "method"
},
"PacketCoreControlPlaneNameParameter": {
"name": "packetCoreControlPlaneName",
"in": "path",
"required": true,
"type": "string",
"pattern": "^[a-zA-Z0-9][a-zA-Z0-9_-]*$",
"maxLength": 64,
"description": "The name of the packet core control plane.",
"x-ms-parameter-location": "method"
},
"PacketCoreDataPlaneNameParameter": {
"name": "packetCoreDataPlaneName",
"in": "path",
"required": true,
"type": "string",
"pattern": "^[a-zA-Z0-9][a-zA-Z0-9_-]*$",
"maxLength": 64,
"description": "The name of the packet core data plane.",
"x-ms-parameter-location": "method"
},
"ServiceNameParameter": {
"name": "serviceName",
"in": "path",
"required": true,
"type": "string",
"pattern": "^(?!(default|requested|service)$)[a-zA-Z0-9][a-zA-Z0-9_-]*$",
"maxLength": 64,
"description": "The name of the service. You must not use any of the following reserved strings - `default`, `requested` or `service`",
"x-ms-parameter-location": "method"
},
"SimNameParameter": {
"name": "simName",
"in": "path",
"required": true,
"type": "string",
"pattern": "^[a-zA-Z0-9][a-zA-Z0-9_-]*$",
"maxLength": 64,
"description": "The name of the SIM.",
"x-ms-parameter-location": "method"
},
"SimPolicyNameParameter": {
"name": "simPolicyName",
"in": "path",
"required": true,
"type": "string",
"pattern": "^[a-zA-Z0-9][a-zA-Z0-9_-]*$",
"maxLength": 64,
"description": "The name of the SIM policy.",
"x-ms-parameter-location": "method"
},
"SiteNameParameter": {
"name": "siteName",
"in": "path",
"required": true,
"type": "string",
"pattern": "^[a-zA-Z0-9][a-zA-Z0-9_-]*$",
"maxLength": 64,
"description": "The name of the mobile network site.",
"x-ms-parameter-location": "method"
},
"SliceNameParameter": {
"name": "sliceName",
"in": "path",
"required": true,
"type": "string",
"pattern": "^[a-zA-Z0-9][a-zA-Z0-9_-]*$",
"maxLength": 64,
"description": "The name of the mobile network slice.",
"x-ms-parameter-location": "method"
}
}
}
Loading