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

[Hub Generated] Publish private branch 'ssivathas/Microsoft.MobileNetwork-2022-11-01' #21752

Merged
Show file tree
Hide file tree
Changes from 4 commits
Commits
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.

Large diffs are not rendered by default.

Original file line number Diff line number Diff line change
@@ -0,0 +1,343 @@
{
"swagger": "2.0",
"info": {
"title": "MobileNetworkManagementClient",
"description": "The resources in this API specification will be used to manage data network resources in mobile network to a particular packet core instance",
"version": "2022-11-01"
},
"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": {
"/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.MobileNetwork/mobileNetworks/{mobileNetworkName}/dataNetworks/{dataNetworkName}": {
"delete": {
"tags": [
"DataNetwork"
],
"operationId": "DataNetworks_Delete",
"description": "Deletes the specified data network.",
"parameters": [
{
"$ref": "../../../../../common-types/resource-management/v3/types.json#/parameters/SubscriptionIdParameter"
},
{
"$ref": "../../../../../common-types/resource-management/v3/types.json#/parameters/ResourceGroupNameParameter"
},
{
"$ref": "../../../../../common-types/resource-management/v3/types.json#/parameters/ApiVersionParameter"
},
{
"$ref": "./common.json#/parameters/MobileNetworkNameParameter"
},
{
"$ref": "./common.json#/parameters/DataNetworkNameParameter"
}
],
"responses": {
"200": {
"description": "Delete successful."
},
"202": {
"description": "Accepted. Sets 'Deleting' provisioningState until the operation completes. Returns an operation URI that can be queried to find the current state of the operation."
},
"204": {
"description": "Request successful. Resource does not exist."
},
"default": {
"description": "Error response describing why the operation failed.",
"schema": {
"$ref": "../../../../../common-types/resource-management/v3/types.json#/definitions/ErrorResponse"
}
}
},
"x-ms-examples": {
"Delete data network": {
"$ref": "./examples/DataNetworkDelete.json"
}
},
"x-ms-long-running-operation": true,
"x-ms-long-running-operation-options": {
"final-state-via": "location"
}
},
"get": {
"tags": [
"DataNetwork"
],
"operationId": "DataNetworks_Get",
"description": "Gets information about the specified data network.",
"parameters": [
{
"$ref": "../../../../../common-types/resource-management/v3/types.json#/parameters/SubscriptionIdParameter"
},
{
"$ref": "../../../../../common-types/resource-management/v3/types.json#/parameters/ResourceGroupNameParameter"
},
{
"$ref": "../../../../../common-types/resource-management/v3/types.json#/parameters/ApiVersionParameter"
},
{
"$ref": "./common.json#/parameters/MobileNetworkNameParameter"
},
{
"$ref": "./common.json#/parameters/DataNetworkNameParameter"
}
],
"responses": {
"200": {
"description": "Request successful. The operation returns the resulting data network resource.",
"schema": {
"$ref": "#/definitions/DataNetwork"
}
},
"default": {
"description": "Error response describing why the operation failed.",
"schema": {
"$ref": "../../../../../common-types/resource-management/v3/types.json#/definitions/ErrorResponse"
}
}
},
"x-ms-examples": {
"Get data network": {
"$ref": "./examples/DataNetworkGet.json"
}
}
},
"put": {
"tags": [
"DataNetwork"
],
"operationId": "DataNetworks_CreateOrUpdate",
"description": "Creates or updates a data network. Must be created in the same location as its parent mobile network.",
"parameters": [
{
"$ref": "../../../../../common-types/resource-management/v3/types.json#/parameters/SubscriptionIdParameter"
},
{
"$ref": "../../../../../common-types/resource-management/v3/types.json#/parameters/ResourceGroupNameParameter"
},
{
"$ref": "../../../../../common-types/resource-management/v3/types.json#/parameters/ApiVersionParameter"
},
{
"$ref": "./common.json#/parameters/MobileNetworkNameParameter"
},
{
"$ref": "./common.json#/parameters/DataNetworkNameParameter"
},
{
"name": "parameters",
"in": "body",
"required": true,
"schema": {
"$ref": "#/definitions/DataNetwork"
},
"description": "Parameters supplied to the create or update data network operation."
}
],
"responses": {
"200": {
"description": "Update successful. The operation returns the resulting data network resource.",
"schema": {
"$ref": "#/definitions/DataNetwork"
}
},
"201": {
"description": "Create successful. The operation returns the resulting data network resource.",
"schema": {
"$ref": "#/definitions/DataNetwork"
}
},
"default": {
"description": "Error response describing why the operation failed.",
"schema": {
"$ref": "../../../../../common-types/resource-management/v3/types.json#/definitions/ErrorResponse"
}
}
},
"x-ms-examples": {
"Create data network": {
"$ref": "./examples/DataNetworkCreate.json"
}
},
"x-ms-long-running-operation": true,
"x-ms-long-running-operation-options": {
"final-state-via": "azure-async-operation"
}
},
"patch": {
"tags": [
"DataNetwork"
],
"operationId": "DataNetworks_UpdateTags",
"description": "Updates data network tags.",
"parameters": [
{
"$ref": "../../../../../common-types/resource-management/v3/types.json#/parameters/SubscriptionIdParameter"
},
{
"$ref": "../../../../../common-types/resource-management/v3/types.json#/parameters/ResourceGroupNameParameter"
},
{
"$ref": "../../../../../common-types/resource-management/v3/types.json#/parameters/ApiVersionParameter"
},
{
"$ref": "./common.json#/parameters/MobileNetworkNameParameter"
},
{
"$ref": "./common.json#/parameters/DataNetworkNameParameter"
},
{
"name": "parameters",
"in": "body",
"required": true,
"schema": {
"$ref": "./common.json#/definitions/TagsObject"
},
"description": "Parameters supplied to update data network tags."
}
],
"responses": {
"200": {
"description": "Update successful. The operation returns the resulting data network resource.",
"schema": {
"$ref": "#/definitions/DataNetwork"
}
},
"default": {
"description": "Error response describing why the operation failed.",
"schema": {
"$ref": "../../../../../common-types/resource-management/v3/types.json#/definitions/ErrorResponse"
}
}
},
"x-ms-examples": {
"Update data network tags": {
"$ref": "./examples/DataNetworkUpdateTags.json"
}
}
}
},
"/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.MobileNetwork/mobileNetworks/{mobileNetworkName}/dataNetworks": {
"get": {
"tags": [
"DataNetworks"
],
"operationId": "DataNetworks_ListByMobileNetwork",
"description": "Lists all data networks in the mobile network.",
"parameters": [
{
"$ref": "../../../../../common-types/resource-management/v3/types.json#/parameters/ApiVersionParameter"
},
{
"$ref": "../../../../../common-types/resource-management/v3/types.json#/parameters/SubscriptionIdParameter"
},
{
"$ref": "../../../../../common-types/resource-management/v3/types.json#/parameters/ResourceGroupNameParameter"
},
{
"$ref": "./common.json#/parameters/MobileNetworkNameParameter"
}
],
"responses": {
"200": {
"description": "Request successful. The operation returns a list of data network resources.",
"schema": {
"$ref": "#/definitions/DataNetworkListResult"
}
},
"default": {
"description": "Error response describing why the operation failed.",
"schema": {
"$ref": "../../../../../common-types/resource-management/v3/types.json#/definitions/ErrorResponse"
}
}
},
"x-ms-examples": {
"List data networks in a mobile network": {
"$ref": "./examples/DataNetworkListByMobileNetwork.json"
}
},
"x-ms-pageable": {
"nextLinkName": "nextLink"
}
}
}
},
"definitions": {
"DataNetwork": {
"type": "object",
"properties": {
"properties": {
"x-ms-client-flatten": true,
"$ref": "#/definitions/DataNetworkPropertiesFormat",
"description": "Data network properties."
}
},
"allOf": [
{
"$ref": "../../../../../common-types/resource-management/v3/types.json#/definitions/TrackedResource"
}
],
"description": "Data network resource. Must be created in the same location as its parent mobile network."
},
"DataNetworkPropertiesFormat": {
"description": "Data network properties.",
"type": "object",
"properties": {
"provisioningState": {
"readOnly": true,
"$ref": "./common.json#/definitions/ProvisioningState",
"description": "The provisioning state of the data network resource."
},
"description": {
"type": "string",
"description": "An optional description for this data network."
}
}
},
"DataNetworkListResult": {
"type": "object",
"properties": {
"value": {
"type": "array",
"items": {
"$ref": "#/definitions/DataNetwork"
},
"description": "A list of data networks."
},
"nextLink": {
"type": "string",
"readOnly": true,
"description": "The URL to get the next set of results."
}
},
"description": "Response for data network API service call."
}
}
}
Loading