From 1b338481329645df2d9460738cbaab6109472488 Mon Sep 17 00:00:00 2001 From: malpaniHMC Date: Mon, 23 Oct 2023 18:58:58 -0700 Subject: [PATCH] AGC Version 2023-11-01 (#26224) * init * attempting to satisfy base commit req --- .../examples/AssociationDelete.json | 2 +- .../examples/AssociationGet.json | 2 +- .../examples/AssociationPatch.json | 2 +- .../examples/AssociationPut.json | 2 +- .../examples/AssociationsGet.json | 2 +- .../examples/FrontendDelete.json | 2 +- .../examples/FrontendGet.json | 2 +- .../examples/FrontendPatch.json | 2 +- .../examples/FrontendPut.json | 2 +- .../examples/FrontendsGet.json | 2 +- .../examples/OperationsList.json | 2 +- .../examples/TrafficControllerDelete.json | 2 +- .../examples/TrafficControllerGet.json | 2 +- .../examples/TrafficControllerPatch.json | 2 +- .../examples/TrafficControllerPut.json | 2 +- .../examples/TrafficControllersGet.json | 2 +- .../examples/TrafficControllersGetList.json | 2 +- .../ServiceNetworking.Management/main.tsp | 2 +- .../stable/2023-11-01/TrafficController.json | 1361 +++++++++++++++++ .../examples/AssociationDelete.json | 21 + .../2023-11-01/examples/AssociationGet.json | 28 + .../2023-11-01/examples/AssociationPatch.json | 35 + .../2023-11-01/examples/AssociationPut.json | 51 + .../2023-11-01/examples/AssociationsGet.json | 31 + .../2023-11-01/examples/FrontendDelete.json | 21 + .../2023-11-01/examples/FrontendGet.json | 25 + .../2023-11-01/examples/FrontendPatch.json | 26 + .../2023-11-01/examples/FrontendPut.json | 41 + .../2023-11-01/examples/FrontendsGet.json | 28 + .../2023-11-01/examples/OperationsList.json | 26 + .../examples/TrafficControllerDelete.json | 20 + .../examples/TrafficControllerGet.json | 39 + .../examples/TrafficControllerPatch.json | 44 + .../examples/TrafficControllerPut.json | 72 + .../examples/TrafficControllersGet.json | 42 + .../examples/TrafficControllersGetList.json | 41 + .../resource-manager/readme.md | 14 +- 37 files changed, 1982 insertions(+), 20 deletions(-) create mode 100644 specification/servicenetworking/resource-manager/Microsoft.ServiceNetworking/stable/2023-11-01/TrafficController.json create mode 100644 specification/servicenetworking/resource-manager/Microsoft.ServiceNetworking/stable/2023-11-01/examples/AssociationDelete.json create mode 100644 specification/servicenetworking/resource-manager/Microsoft.ServiceNetworking/stable/2023-11-01/examples/AssociationGet.json create mode 100644 specification/servicenetworking/resource-manager/Microsoft.ServiceNetworking/stable/2023-11-01/examples/AssociationPatch.json create mode 100644 specification/servicenetworking/resource-manager/Microsoft.ServiceNetworking/stable/2023-11-01/examples/AssociationPut.json create mode 100644 specification/servicenetworking/resource-manager/Microsoft.ServiceNetworking/stable/2023-11-01/examples/AssociationsGet.json create mode 100644 specification/servicenetworking/resource-manager/Microsoft.ServiceNetworking/stable/2023-11-01/examples/FrontendDelete.json create mode 100644 specification/servicenetworking/resource-manager/Microsoft.ServiceNetworking/stable/2023-11-01/examples/FrontendGet.json create mode 100644 specification/servicenetworking/resource-manager/Microsoft.ServiceNetworking/stable/2023-11-01/examples/FrontendPatch.json create mode 100644 specification/servicenetworking/resource-manager/Microsoft.ServiceNetworking/stable/2023-11-01/examples/FrontendPut.json create mode 100644 specification/servicenetworking/resource-manager/Microsoft.ServiceNetworking/stable/2023-11-01/examples/FrontendsGet.json create mode 100644 specification/servicenetworking/resource-manager/Microsoft.ServiceNetworking/stable/2023-11-01/examples/OperationsList.json create mode 100644 specification/servicenetworking/resource-manager/Microsoft.ServiceNetworking/stable/2023-11-01/examples/TrafficControllerDelete.json create mode 100644 specification/servicenetworking/resource-manager/Microsoft.ServiceNetworking/stable/2023-11-01/examples/TrafficControllerGet.json create mode 100644 specification/servicenetworking/resource-manager/Microsoft.ServiceNetworking/stable/2023-11-01/examples/TrafficControllerPatch.json create mode 100644 specification/servicenetworking/resource-manager/Microsoft.ServiceNetworking/stable/2023-11-01/examples/TrafficControllerPut.json create mode 100644 specification/servicenetworking/resource-manager/Microsoft.ServiceNetworking/stable/2023-11-01/examples/TrafficControllersGet.json create mode 100644 specification/servicenetworking/resource-manager/Microsoft.ServiceNetworking/stable/2023-11-01/examples/TrafficControllersGetList.json diff --git a/specification/servicenetworking/ServiceNetworking.Management/examples/AssociationDelete.json b/specification/servicenetworking/ServiceNetworking.Management/examples/AssociationDelete.json index 9aa802867a3f..8312f438ad35 100644 --- a/specification/servicenetworking/ServiceNetworking.Management/examples/AssociationDelete.json +++ b/specification/servicenetworking/ServiceNetworking.Management/examples/AssociationDelete.json @@ -2,7 +2,7 @@ "title": "Delete Association", "operationId": "AssociationsInterface_Delete", "parameters": { - "api-version": "2023-05-01-preview", + "api-version": "2023-11-01", "subscriptionId": "subid", "resourceGroupName": "rg1", "trafficControllerName": "tc1", diff --git a/specification/servicenetworking/ServiceNetworking.Management/examples/AssociationGet.json b/specification/servicenetworking/ServiceNetworking.Management/examples/AssociationGet.json index bec08807231b..f67a82d39724 100644 --- a/specification/servicenetworking/ServiceNetworking.Management/examples/AssociationGet.json +++ b/specification/servicenetworking/ServiceNetworking.Management/examples/AssociationGet.json @@ -2,7 +2,7 @@ "title": "Get Association", "operationId": "AssociationsInterface_Get", "parameters": { - "api-version": "2023-05-01-preview", + "api-version": "2023-11-01", "subscriptionId": "subid", "resourceGroupName": "rg1", "trafficControllerName": "tc1", diff --git a/specification/servicenetworking/ServiceNetworking.Management/examples/AssociationPatch.json b/specification/servicenetworking/ServiceNetworking.Management/examples/AssociationPatch.json index 4279813b0c5d..d6cbba4578cb 100644 --- a/specification/servicenetworking/ServiceNetworking.Management/examples/AssociationPatch.json +++ b/specification/servicenetworking/ServiceNetworking.Management/examples/AssociationPatch.json @@ -2,7 +2,7 @@ "title": "Update Association", "operationId": "AssociationsInterface_Update", "parameters": { - "api-version": "2023-05-01-preview", + "api-version": "2023-11-01", "subscriptionId": "subid", "resourceGroupName": "rg1", "trafficControllerName": "tc1", diff --git a/specification/servicenetworking/ServiceNetworking.Management/examples/AssociationPut.json b/specification/servicenetworking/ServiceNetworking.Management/examples/AssociationPut.json index 0b6879d2dcc8..3f9776f48c9b 100644 --- a/specification/servicenetworking/ServiceNetworking.Management/examples/AssociationPut.json +++ b/specification/servicenetworking/ServiceNetworking.Management/examples/AssociationPut.json @@ -2,7 +2,7 @@ "title": "Put Association", "operationId": "AssociationsInterface_CreateOrUpdate", "parameters": { - "api-version": "2023-05-01-preview", + "api-version": "2023-11-01", "subscriptionId": "subid", "resourceGroupName": "rg1", "trafficControllerName": "tc1", diff --git a/specification/servicenetworking/ServiceNetworking.Management/examples/AssociationsGet.json b/specification/servicenetworking/ServiceNetworking.Management/examples/AssociationsGet.json index 34216f1bdd28..0ce9360d8eea 100644 --- a/specification/servicenetworking/ServiceNetworking.Management/examples/AssociationsGet.json +++ b/specification/servicenetworking/ServiceNetworking.Management/examples/AssociationsGet.json @@ -2,7 +2,7 @@ "title": "Get Associations", "operationId": "AssociationsInterface_ListByTrafficController", "parameters": { - "api-version": "2023-05-01-preview", + "api-version": "2023-11-01", "subscriptionId": "subid", "resourceGroupName": "rg1", "trafficControllerName": "tc1" diff --git a/specification/servicenetworking/ServiceNetworking.Management/examples/FrontendDelete.json b/specification/servicenetworking/ServiceNetworking.Management/examples/FrontendDelete.json index 213bc478ac1b..16d61ab94ec1 100644 --- a/specification/servicenetworking/ServiceNetworking.Management/examples/FrontendDelete.json +++ b/specification/servicenetworking/ServiceNetworking.Management/examples/FrontendDelete.json @@ -2,7 +2,7 @@ "title": "Delete Frontend", "operationId": "FrontendsInterface_Delete", "parameters": { - "api-version": "2023-05-01-preview", + "api-version": "2023-11-01", "subscriptionId": "subid", "resourceGroupName": "rg1", "trafficControllerName": "tc1", diff --git a/specification/servicenetworking/ServiceNetworking.Management/examples/FrontendGet.json b/specification/servicenetworking/ServiceNetworking.Management/examples/FrontendGet.json index 24851d868291..89c63abe81dd 100644 --- a/specification/servicenetworking/ServiceNetworking.Management/examples/FrontendGet.json +++ b/specification/servicenetworking/ServiceNetworking.Management/examples/FrontendGet.json @@ -2,7 +2,7 @@ "title": "Get Frontend", "operationId": "FrontendsInterface_Get", "parameters": { - "api-version": "2023-05-01-preview", + "api-version": "2023-11-01", "subscriptionId": "subid", "resourceGroupName": "rg1", "trafficControllerName": "tc1", diff --git a/specification/servicenetworking/ServiceNetworking.Management/examples/FrontendPatch.json b/specification/servicenetworking/ServiceNetworking.Management/examples/FrontendPatch.json index 60653be79c5a..251cf906d1f7 100644 --- a/specification/servicenetworking/ServiceNetworking.Management/examples/FrontendPatch.json +++ b/specification/servicenetworking/ServiceNetworking.Management/examples/FrontendPatch.json @@ -2,7 +2,7 @@ "title": "Update Frontend", "operationId": "FrontendsInterface_Update", "parameters": { - "api-version": "2023-05-01-preview", + "api-version": "2023-11-01", "subscriptionId": "subid", "resourceGroupName": "rg1", "trafficControllerName": "tc1", diff --git a/specification/servicenetworking/ServiceNetworking.Management/examples/FrontendPut.json b/specification/servicenetworking/ServiceNetworking.Management/examples/FrontendPut.json index 92fb63c73884..d56c9b449952 100644 --- a/specification/servicenetworking/ServiceNetworking.Management/examples/FrontendPut.json +++ b/specification/servicenetworking/ServiceNetworking.Management/examples/FrontendPut.json @@ -2,7 +2,7 @@ "title": "Put Frontend", "operationId": "FrontendsInterface_CreateOrUpdate", "parameters": { - "api-version": "2023-05-01-preview", + "api-version": "2023-11-01", "subscriptionId": "subid", "resourceGroupName": "rg1", "trafficControllerName": "tc1", diff --git a/specification/servicenetworking/ServiceNetworking.Management/examples/FrontendsGet.json b/specification/servicenetworking/ServiceNetworking.Management/examples/FrontendsGet.json index 2fcdb0f7f166..08dbeb11007a 100644 --- a/specification/servicenetworking/ServiceNetworking.Management/examples/FrontendsGet.json +++ b/specification/servicenetworking/ServiceNetworking.Management/examples/FrontendsGet.json @@ -2,7 +2,7 @@ "title": "Get Frontends", "operationId": "FrontendsInterface_ListByTrafficController", "parameters": { - "api-version": "2023-05-01-preview", + "api-version": "2023-11-01", "subscriptionId": "subid", "resourceGroupName": "rg1", "trafficControllerName": "tc1" diff --git a/specification/servicenetworking/ServiceNetworking.Management/examples/OperationsList.json b/specification/servicenetworking/ServiceNetworking.Management/examples/OperationsList.json index ae78237331ab..89f43a23b602 100644 --- a/specification/servicenetworking/ServiceNetworking.Management/examples/OperationsList.json +++ b/specification/servicenetworking/ServiceNetworking.Management/examples/OperationsList.json @@ -2,7 +2,7 @@ "title": "Get Operations List", "operationId": "Operations_List", "parameters": { - "api-version": "2023-05-01-preview" + "api-version": "2023-11-01" }, "responses": { "200": { diff --git a/specification/servicenetworking/ServiceNetworking.Management/examples/TrafficControllerDelete.json b/specification/servicenetworking/ServiceNetworking.Management/examples/TrafficControllerDelete.json index 93471e93c64d..add4d98ca164 100644 --- a/specification/servicenetworking/ServiceNetworking.Management/examples/TrafficControllerDelete.json +++ b/specification/servicenetworking/ServiceNetworking.Management/examples/TrafficControllerDelete.json @@ -2,7 +2,7 @@ "title": "Delete Traffic Controller", "operationId": "TrafficControllerInterface_Delete", "parameters": { - "api-version": "2023-05-01-preview", + "api-version": "2023-11-01", "subscriptionId": "subid", "resourceGroupName": "rg1", "trafficControllerName": "tc1" diff --git a/specification/servicenetworking/ServiceNetworking.Management/examples/TrafficControllerGet.json b/specification/servicenetworking/ServiceNetworking.Management/examples/TrafficControllerGet.json index e0aa98194210..25ec6b5db8c0 100644 --- a/specification/servicenetworking/ServiceNetworking.Management/examples/TrafficControllerGet.json +++ b/specification/servicenetworking/ServiceNetworking.Management/examples/TrafficControllerGet.json @@ -2,7 +2,7 @@ "operationId": "TrafficControllerInterface_Get", "title": "Get Traffic Controller", "parameters": { - "api-version": "2023-05-01-preview", + "api-version": "2023-11-01", "subscriptionId": "subid", "resourceGroupName": "rg1", "trafficControllerName": "tc1" diff --git a/specification/servicenetworking/ServiceNetworking.Management/examples/TrafficControllerPatch.json b/specification/servicenetworking/ServiceNetworking.Management/examples/TrafficControllerPatch.json index f6687c01f6af..2dba4c176ac4 100644 --- a/specification/servicenetworking/ServiceNetworking.Management/examples/TrafficControllerPatch.json +++ b/specification/servicenetworking/ServiceNetworking.Management/examples/TrafficControllerPatch.json @@ -2,7 +2,7 @@ "operationId": "TrafficControllerInterface_Update", "title": "Patch Traffic Controller", "parameters": { - "api-version": "2023-05-01-preview", + "api-version": "2023-11-01", "subscriptionId": "subid", "resourceGroupName": "rg1", "trafficControllerName": "tc1", diff --git a/specification/servicenetworking/ServiceNetworking.Management/examples/TrafficControllerPut.json b/specification/servicenetworking/ServiceNetworking.Management/examples/TrafficControllerPut.json index e22b7a096d44..269c1516ca52 100644 --- a/specification/servicenetworking/ServiceNetworking.Management/examples/TrafficControllerPut.json +++ b/specification/servicenetworking/ServiceNetworking.Management/examples/TrafficControllerPut.json @@ -2,7 +2,7 @@ "operationId": "TrafficControllerInterface_CreateOrUpdate", "title": "Put Traffic Controller", "parameters": { - "api-version": "2023-05-01-preview", + "api-version": "2023-11-01", "subscriptionId": "subid", "resourceGroupName": "rg1", "trafficControllerName": "tc1", diff --git a/specification/servicenetworking/ServiceNetworking.Management/examples/TrafficControllersGet.json b/specification/servicenetworking/ServiceNetworking.Management/examples/TrafficControllersGet.json index cb92b349fe9f..5639436de0cd 100644 --- a/specification/servicenetworking/ServiceNetworking.Management/examples/TrafficControllersGet.json +++ b/specification/servicenetworking/ServiceNetworking.Management/examples/TrafficControllersGet.json @@ -2,7 +2,7 @@ "operationId": "TrafficControllerInterface_ListByResourceGroup", "title": "Get Traffic Controllers", "parameters": { - "api-version": "2023-05-01-preview", + "api-version": "2023-11-01", "subscriptionId": "subid", "resourceGroupName": "rg1" }, diff --git a/specification/servicenetworking/ServiceNetworking.Management/examples/TrafficControllersGetList.json b/specification/servicenetworking/ServiceNetworking.Management/examples/TrafficControllersGetList.json index bb9b767ed59d..eba2c88502fd 100644 --- a/specification/servicenetworking/ServiceNetworking.Management/examples/TrafficControllersGetList.json +++ b/specification/servicenetworking/ServiceNetworking.Management/examples/TrafficControllersGetList.json @@ -2,7 +2,7 @@ "operationId": "TrafficControllerInterface_ListBySubscription", "title": "Get Traffic Controllers List", "parameters": { - "api-version": "2023-05-01-preview", + "api-version": "2023-11-01", "subscriptionId": "subid" }, "responses": { diff --git a/specification/servicenetworking/ServiceNetworking.Management/main.tsp b/specification/servicenetworking/ServiceNetworking.Management/main.tsp index 63bcfb073153..15b4c3b5c564 100644 --- a/specification/servicenetworking/ServiceNetworking.Management/main.tsp +++ b/specification/servicenetworking/ServiceNetworking.Management/main.tsp @@ -8,7 +8,7 @@ import "@azure-tools/typespec-azure-resource-manager"; @armProviderNamespace @service({ title: "TrafficController", - version: "2023-05-01-preview", + version: "2023-11-01", }) @doc("Traffic Controller Provider management API.") @useDependency(Azure.ResourceManager.Versions.v1_0_Preview_1) diff --git a/specification/servicenetworking/resource-manager/Microsoft.ServiceNetworking/stable/2023-11-01/TrafficController.json b/specification/servicenetworking/resource-manager/Microsoft.ServiceNetworking/stable/2023-11-01/TrafficController.json new file mode 100644 index 000000000000..7d609af89916 --- /dev/null +++ b/specification/servicenetworking/resource-manager/Microsoft.ServiceNetworking/stable/2023-11-01/TrafficController.json @@ -0,0 +1,1361 @@ +{ + "swagger": "2.0", + "info": { + "title": "TrafficController", + "version": "2023-11-01", + "description": "Traffic Controller Provider management API.", + "x-typespec-generated": [ + { + "emitter": "@azure-tools/typespec-autorest" + } + ] + }, + "schemes": [ + "https" + ], + "host": "management.azure.com", + "produces": [ + "application/json" + ], + "consumes": [ + "application/json" + ], + "security": [ + { + "azure_auth": [ + "user_impersonation" + ] + } + ], + "securityDefinitions": { + "azure_auth": { + "type": "oauth2", + "description": "Azure Active Directory OAuth2 Flow.", + "flow": "implicit", + "authorizationUrl": "https://login.microsoftonline.com/common/oauth2/authorize", + "scopes": { + "user_impersonation": "impersonate your user account" + } + } + }, + "tags": [ + { + "name": "AssociationsInterface" + }, + { + "name": "FrontendsInterface" + }, + { + "name": "TrafficControllerInterface" + }, + { + "name": "Operations" + } + ], + "paths": { + "/providers/Microsoft.ServiceNetworking/operations": { + "get": { + "operationId": "Operations_List", + "tags": [ + "Operations" + ], + "description": "List the operations for the provider", + "parameters": [ + { + "$ref": "../../../../../common-types/resource-management/v3/types.json#/parameters/ApiVersionParameter" + } + ], + "responses": { + "200": { + "description": "ARM operation completed successfully.", + "schema": { + "$ref": "../../../../../common-types/resource-management/v3/types.json#/definitions/OperationListResult" + } + }, + "default": { + "description": "An unexpected error response.", + "schema": { + "$ref": "../../../../../common-types/resource-management/v3/types.json#/definitions/ErrorResponse" + } + } + }, + "x-ms-examples": { + "Get Operations List": { + "$ref": "./examples/OperationsList.json" + } + }, + "x-ms-pageable": { + "nextLinkName": "nextLink" + } + } + }, + "/subscriptions/{subscriptionId}/providers/Microsoft.ServiceNetworking/trafficControllers": { + "get": { + "operationId": "TrafficControllerInterface_ListBySubscription", + "tags": [ + "TrafficControllerInterface" + ], + "description": "List TrafficController resources by subscription ID", + "parameters": [ + { + "$ref": "../../../../../common-types/resource-management/v3/types.json#/parameters/ApiVersionParameter" + }, + { + "$ref": "../../../../../common-types/resource-management/v3/types.json#/parameters/SubscriptionIdParameter" + } + ], + "responses": { + "200": { + "description": "ARM operation completed successfully.", + "schema": { + "$ref": "#/definitions/TrafficControllerListResult" + } + }, + "default": { + "description": "An unexpected error response.", + "schema": { + "$ref": "../../../../../common-types/resource-management/v3/types.json#/definitions/ErrorResponse" + } + } + }, + "x-ms-examples": { + "Get Traffic Controllers List": { + "$ref": "./examples/TrafficControllersGetList.json" + } + }, + "x-ms-pageable": { + "nextLinkName": "nextLink" + } + } + }, + "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.ServiceNetworking/trafficControllers": { + "get": { + "operationId": "TrafficControllerInterface_ListByResourceGroup", + "tags": [ + "TrafficControllerInterface" + ], + "description": "List TrafficController resources by resource group", + "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" + } + ], + "responses": { + "200": { + "description": "ARM operation completed successfully.", + "schema": { + "$ref": "#/definitions/TrafficControllerListResult" + } + }, + "default": { + "description": "An unexpected error response.", + "schema": { + "$ref": "../../../../../common-types/resource-management/v3/types.json#/definitions/ErrorResponse" + } + } + }, + "x-ms-examples": { + "Get Traffic Controllers": { + "$ref": "./examples/TrafficControllersGet.json" + } + }, + "x-ms-pageable": { + "nextLinkName": "nextLink" + } + } + }, + "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.ServiceNetworking/trafficControllers/{trafficControllerName}": { + "get": { + "operationId": "TrafficControllerInterface_Get", + "tags": [ + "TrafficControllerInterface" + ], + "description": "Get a TrafficController", + "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" + }, + { + "name": "trafficControllerName", + "in": "path", + "description": "traffic controller name for path", + "required": true, + "type": "string", + "pattern": "^[A-Za-z0-9]([A-Za-z0-9-_.]{0,62}[A-Za-z0-9])?$" + } + ], + "responses": { + "200": { + "description": "ARM operation completed successfully.", + "schema": { + "$ref": "#/definitions/TrafficController" + } + }, + "default": { + "description": "An unexpected error response.", + "schema": { + "$ref": "../../../../../common-types/resource-management/v3/types.json#/definitions/ErrorResponse" + } + } + }, + "x-ms-examples": { + "Get Traffic Controller": { + "$ref": "./examples/TrafficControllerGet.json" + } + } + }, + "put": { + "operationId": "TrafficControllerInterface_CreateOrUpdate", + "tags": [ + "TrafficControllerInterface" + ], + "description": "Create a TrafficController", + "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" + }, + { + "name": "trafficControllerName", + "in": "path", + "description": "traffic controller name for path", + "required": true, + "type": "string", + "pattern": "^[A-Za-z0-9]([A-Za-z0-9-_.]{0,62}[A-Za-z0-9])?$" + }, + { + "name": "resource", + "in": "body", + "description": "Resource create parameters.", + "required": true, + "schema": { + "$ref": "#/definitions/TrafficController" + } + } + ], + "responses": { + "200": { + "description": "Resource 'TrafficController' update operation succeeded", + "schema": { + "$ref": "#/definitions/TrafficController" + } + }, + "201": { + "description": "Resource 'TrafficController' create operation succeeded", + "schema": { + "$ref": "#/definitions/TrafficController" + }, + "headers": { + "Retry-After": { + "type": "integer", + "format": "int32", + "description": "The Retry-After header can indicate how long the client should wait before polling the operation status." + } + } + }, + "default": { + "description": "An unexpected error response.", + "schema": { + "$ref": "../../../../../common-types/resource-management/v3/types.json#/definitions/ErrorResponse" + } + } + }, + "x-ms-examples": { + "Put Traffic Controller": { + "$ref": "./examples/TrafficControllerPut.json" + } + }, + "x-ms-long-running-operation-options": { + "final-state-via": "azure-async-operation" + }, + "x-ms-long-running-operation": true + }, + "patch": { + "operationId": "TrafficControllerInterface_Update", + "tags": [ + "TrafficControllerInterface" + ], + "description": "Update a TrafficController", + "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" + }, + { + "name": "trafficControllerName", + "in": "path", + "description": "traffic controller name for path", + "required": true, + "type": "string", + "pattern": "^[A-Za-z0-9]([A-Za-z0-9-_.]{0,62}[A-Za-z0-9])?$" + }, + { + "name": "properties", + "in": "body", + "description": "The resource properties to be updated.", + "required": true, + "schema": { + "$ref": "#/definitions/TrafficControllerUpdate" + } + } + ], + "responses": { + "200": { + "description": "ARM operation completed successfully.", + "schema": { + "$ref": "#/definitions/TrafficController" + } + }, + "default": { + "description": "An unexpected error response.", + "schema": { + "$ref": "../../../../../common-types/resource-management/v3/types.json#/definitions/ErrorResponse" + } + } + }, + "x-ms-examples": { + "Patch Traffic Controller": { + "$ref": "./examples/TrafficControllerPatch.json" + } + } + }, + "delete": { + "operationId": "TrafficControllerInterface_Delete", + "tags": [ + "TrafficControllerInterface" + ], + "description": "Delete a TrafficController", + "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" + }, + { + "name": "trafficControllerName", + "in": "path", + "description": "traffic controller name for path", + "required": true, + "type": "string", + "pattern": "^[A-Za-z0-9]([A-Za-z0-9-_.]{0,62}[A-Za-z0-9])?$" + } + ], + "responses": { + "200": { + "description": "Resource deleted successfully." + }, + "202": { + "description": "Resource deletion accepted.", + "headers": { + "Retry-After": { + "type": "integer", + "format": "int32", + "description": "The Retry-After header can indicate how long the client should wait before polling the operation status." + }, + "Location": { + "type": "string", + "description": "The Location header contains the URL where the status of the long running operation can be checked." + } + } + }, + "204": { + "description": "Resource deleted successfully." + }, + "default": { + "description": "An unexpected error response.", + "schema": { + "$ref": "../../../../../common-types/resource-management/v3/types.json#/definitions/ErrorResponse" + } + } + }, + "x-ms-examples": { + "Delete Traffic Controller": { + "$ref": "./examples/TrafficControllerDelete.json" + } + }, + "x-ms-long-running-operation-options": { + "final-state-via": "location" + }, + "x-ms-long-running-operation": true + } + }, + "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.ServiceNetworking/trafficControllers/{trafficControllerName}/associations": { + "get": { + "operationId": "AssociationsInterface_ListByTrafficController", + "tags": [ + "AssociationsInterface" + ], + "description": "List Association resources by TrafficController", + "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" + }, + { + "name": "trafficControllerName", + "in": "path", + "description": "traffic controller name for path", + "required": true, + "type": "string", + "pattern": "^[A-Za-z0-9]([A-Za-z0-9-_.]{0,62}[A-Za-z0-9])?$" + } + ], + "responses": { + "200": { + "description": "ARM operation completed successfully.", + "schema": { + "$ref": "#/definitions/AssociationListResult" + } + }, + "default": { + "description": "An unexpected error response.", + "schema": { + "$ref": "../../../../../common-types/resource-management/v3/types.json#/definitions/ErrorResponse" + } + } + }, + "x-ms-examples": { + "Get Associations": { + "$ref": "./examples/AssociationsGet.json" + } + }, + "x-ms-pageable": { + "nextLinkName": "nextLink" + } + } + }, + "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.ServiceNetworking/trafficControllers/{trafficControllerName}/associations/{associationName}": { + "get": { + "operationId": "AssociationsInterface_Get", + "tags": [ + "AssociationsInterface" + ], + "description": "Get a Association", + "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" + }, + { + "name": "trafficControllerName", + "in": "path", + "description": "traffic controller name for path", + "required": true, + "type": "string", + "pattern": "^[A-Za-z0-9]([A-Za-z0-9-_.]{0,62}[A-Za-z0-9])?$" + }, + { + "name": "associationName", + "in": "path", + "description": "Name of Association", + "required": true, + "type": "string", + "pattern": "^[A-Za-z0-9]([A-Za-z0-9-_.]{0,62}[A-Za-z0-9])?$" + } + ], + "responses": { + "200": { + "description": "ARM operation completed successfully.", + "schema": { + "$ref": "#/definitions/Association" + } + }, + "default": { + "description": "An unexpected error response.", + "schema": { + "$ref": "../../../../../common-types/resource-management/v3/types.json#/definitions/ErrorResponse" + } + } + }, + "x-ms-examples": { + "Get Association": { + "$ref": "./examples/AssociationGet.json" + } + } + }, + "put": { + "operationId": "AssociationsInterface_CreateOrUpdate", + "tags": [ + "AssociationsInterface" + ], + "description": "Create a Association", + "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" + }, + { + "name": "trafficControllerName", + "in": "path", + "description": "traffic controller name for path", + "required": true, + "type": "string", + "pattern": "^[A-Za-z0-9]([A-Za-z0-9-_.]{0,62}[A-Za-z0-9])?$" + }, + { + "name": "associationName", + "in": "path", + "description": "Name of Association", + "required": true, + "type": "string", + "pattern": "^[A-Za-z0-9]([A-Za-z0-9-_.]{0,62}[A-Za-z0-9])?$" + }, + { + "name": "resource", + "in": "body", + "description": "Resource create parameters.", + "required": true, + "schema": { + "$ref": "#/definitions/Association" + } + } + ], + "responses": { + "200": { + "description": "Resource 'Association' update operation succeeded", + "schema": { + "$ref": "#/definitions/Association" + } + }, + "201": { + "description": "Resource 'Association' create operation succeeded", + "schema": { + "$ref": "#/definitions/Association" + }, + "headers": { + "Retry-After": { + "type": "integer", + "format": "int32", + "description": "The Retry-After header can indicate how long the client should wait before polling the operation status." + } + } + }, + "default": { + "description": "An unexpected error response.", + "schema": { + "$ref": "../../../../../common-types/resource-management/v3/types.json#/definitions/ErrorResponse" + } + } + }, + "x-ms-examples": { + "Put Association": { + "$ref": "./examples/AssociationPut.json" + } + }, + "x-ms-long-running-operation-options": { + "final-state-via": "azure-async-operation" + }, + "x-ms-long-running-operation": true + }, + "patch": { + "operationId": "AssociationsInterface_Update", + "tags": [ + "AssociationsInterface" + ], + "description": "Update a Association", + "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" + }, + { + "name": "trafficControllerName", + "in": "path", + "description": "traffic controller name for path", + "required": true, + "type": "string", + "pattern": "^[A-Za-z0-9]([A-Za-z0-9-_.]{0,62}[A-Za-z0-9])?$" + }, + { + "name": "associationName", + "in": "path", + "description": "Name of Association", + "required": true, + "type": "string", + "pattern": "^[A-Za-z0-9]([A-Za-z0-9-_.]{0,62}[A-Za-z0-9])?$" + }, + { + "name": "properties", + "in": "body", + "description": "The resource properties to be updated.", + "required": true, + "schema": { + "$ref": "#/definitions/AssociationUpdate" + } + } + ], + "responses": { + "200": { + "description": "ARM operation completed successfully.", + "schema": { + "$ref": "#/definitions/Association" + } + }, + "default": { + "description": "An unexpected error response.", + "schema": { + "$ref": "../../../../../common-types/resource-management/v3/types.json#/definitions/ErrorResponse" + } + } + }, + "x-ms-examples": { + "Update Association": { + "$ref": "./examples/AssociationPatch.json" + } + } + }, + "delete": { + "operationId": "AssociationsInterface_Delete", + "tags": [ + "AssociationsInterface" + ], + "description": "Delete a Association", + "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" + }, + { + "name": "trafficControllerName", + "in": "path", + "description": "traffic controller name for path", + "required": true, + "type": "string", + "pattern": "^[A-Za-z0-9]([A-Za-z0-9-_.]{0,62}[A-Za-z0-9])?$" + }, + { + "name": "associationName", + "in": "path", + "description": "Name of Association", + "required": true, + "type": "string", + "pattern": "^[A-Za-z0-9]([A-Za-z0-9-_.]{0,62}[A-Za-z0-9])?$" + } + ], + "responses": { + "200": { + "description": "Resource deleted successfully." + }, + "202": { + "description": "Resource deletion accepted.", + "headers": { + "Retry-After": { + "type": "integer", + "format": "int32", + "description": "The Retry-After header can indicate how long the client should wait before polling the operation status." + }, + "Location": { + "type": "string", + "description": "The Location header contains the URL where the status of the long running operation can be checked." + } + } + }, + "204": { + "description": "Resource deleted successfully." + }, + "default": { + "description": "An unexpected error response.", + "schema": { + "$ref": "../../../../../common-types/resource-management/v3/types.json#/definitions/ErrorResponse" + } + } + }, + "x-ms-examples": { + "Delete Association": { + "$ref": "./examples/AssociationDelete.json" + } + }, + "x-ms-long-running-operation-options": { + "final-state-via": "location" + }, + "x-ms-long-running-operation": true + } + }, + "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.ServiceNetworking/trafficControllers/{trafficControllerName}/frontends": { + "get": { + "operationId": "FrontendsInterface_ListByTrafficController", + "tags": [ + "FrontendsInterface" + ], + "description": "List Frontend resources by TrafficController", + "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" + }, + { + "name": "trafficControllerName", + "in": "path", + "description": "traffic controller name for path", + "required": true, + "type": "string", + "pattern": "^[A-Za-z0-9]([A-Za-z0-9-_.]{0,62}[A-Za-z0-9])?$" + } + ], + "responses": { + "200": { + "description": "ARM operation completed successfully.", + "schema": { + "$ref": "#/definitions/FrontendListResult" + } + }, + "default": { + "description": "An unexpected error response.", + "schema": { + "$ref": "../../../../../common-types/resource-management/v3/types.json#/definitions/ErrorResponse" + } + } + }, + "x-ms-examples": { + "Get Frontends": { + "$ref": "./examples/FrontendsGet.json" + } + }, + "x-ms-pageable": { + "nextLinkName": "nextLink" + } + } + }, + "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.ServiceNetworking/trafficControllers/{trafficControllerName}/frontends/{frontendName}": { + "get": { + "operationId": "FrontendsInterface_Get", + "tags": [ + "FrontendsInterface" + ], + "description": "Get a Frontend", + "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" + }, + { + "name": "trafficControllerName", + "in": "path", + "description": "traffic controller name for path", + "required": true, + "type": "string", + "pattern": "^[A-Za-z0-9]([A-Za-z0-9-_.]{0,62}[A-Za-z0-9])?$" + }, + { + "name": "frontendName", + "in": "path", + "description": "Frontends", + "required": true, + "type": "string", + "pattern": "^[A-Za-z0-9]([A-Za-z0-9-_.]{0,62}[A-Za-z0-9])?$" + } + ], + "responses": { + "200": { + "description": "ARM operation completed successfully.", + "schema": { + "$ref": "#/definitions/Frontend" + } + }, + "default": { + "description": "An unexpected error response.", + "schema": { + "$ref": "../../../../../common-types/resource-management/v3/types.json#/definitions/ErrorResponse" + } + } + }, + "x-ms-examples": { + "Get Frontend": { + "$ref": "./examples/FrontendGet.json" + } + } + }, + "put": { + "operationId": "FrontendsInterface_CreateOrUpdate", + "tags": [ + "FrontendsInterface" + ], + "description": "Create a Frontend", + "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" + }, + { + "name": "trafficControllerName", + "in": "path", + "description": "traffic controller name for path", + "required": true, + "type": "string", + "pattern": "^[A-Za-z0-9]([A-Za-z0-9-_.]{0,62}[A-Za-z0-9])?$" + }, + { + "name": "frontendName", + "in": "path", + "description": "Frontends", + "required": true, + "type": "string", + "pattern": "^[A-Za-z0-9]([A-Za-z0-9-_.]{0,62}[A-Za-z0-9])?$" + }, + { + "name": "resource", + "in": "body", + "description": "Resource create parameters.", + "required": true, + "schema": { + "$ref": "#/definitions/Frontend" + } + } + ], + "responses": { + "200": { + "description": "Resource 'Frontend' update operation succeeded", + "schema": { + "$ref": "#/definitions/Frontend" + } + }, + "201": { + "description": "Resource 'Frontend' create operation succeeded", + "schema": { + "$ref": "#/definitions/Frontend" + }, + "headers": { + "Retry-After": { + "type": "integer", + "format": "int32", + "description": "The Retry-After header can indicate how long the client should wait before polling the operation status." + } + } + }, + "default": { + "description": "An unexpected error response.", + "schema": { + "$ref": "../../../../../common-types/resource-management/v3/types.json#/definitions/ErrorResponse" + } + } + }, + "x-ms-examples": { + "Put Frontend": { + "$ref": "./examples/FrontendPut.json" + } + }, + "x-ms-long-running-operation-options": { + "final-state-via": "azure-async-operation" + }, + "x-ms-long-running-operation": true + }, + "patch": { + "operationId": "FrontendsInterface_Update", + "tags": [ + "FrontendsInterface" + ], + "description": "Update a Frontend", + "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" + }, + { + "name": "trafficControllerName", + "in": "path", + "description": "traffic controller name for path", + "required": true, + "type": "string", + "pattern": "^[A-Za-z0-9]([A-Za-z0-9-_.]{0,62}[A-Za-z0-9])?$" + }, + { + "name": "frontendName", + "in": "path", + "description": "Frontends", + "required": true, + "type": "string", + "pattern": "^[A-Za-z0-9]([A-Za-z0-9-_.]{0,62}[A-Za-z0-9])?$" + }, + { + "name": "properties", + "in": "body", + "description": "The resource properties to be updated.", + "required": true, + "schema": { + "$ref": "#/definitions/FrontendUpdate" + } + } + ], + "responses": { + "200": { + "description": "ARM operation completed successfully.", + "schema": { + "$ref": "#/definitions/Frontend" + } + }, + "default": { + "description": "An unexpected error response.", + "schema": { + "$ref": "../../../../../common-types/resource-management/v3/types.json#/definitions/ErrorResponse" + } + } + }, + "x-ms-examples": { + "Update Frontend": { + "$ref": "./examples/FrontendPatch.json" + } + } + }, + "delete": { + "operationId": "FrontendsInterface_Delete", + "tags": [ + "FrontendsInterface" + ], + "description": "Delete a Frontend", + "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" + }, + { + "name": "trafficControllerName", + "in": "path", + "description": "traffic controller name for path", + "required": true, + "type": "string", + "pattern": "^[A-Za-z0-9]([A-Za-z0-9-_.]{0,62}[A-Za-z0-9])?$" + }, + { + "name": "frontendName", + "in": "path", + "description": "Frontends", + "required": true, + "type": "string", + "pattern": "^[A-Za-z0-9]([A-Za-z0-9-_.]{0,62}[A-Za-z0-9])?$" + } + ], + "responses": { + "200": { + "description": "Resource deleted successfully." + }, + "202": { + "description": "Resource deletion accepted.", + "headers": { + "Retry-After": { + "type": "integer", + "format": "int32", + "description": "The Retry-After header can indicate how long the client should wait before polling the operation status." + }, + "Location": { + "type": "string", + "description": "The Location header contains the URL where the status of the long running operation can be checked." + } + } + }, + "204": { + "description": "Resource deleted successfully." + }, + "default": { + "description": "An unexpected error response.", + "schema": { + "$ref": "../../../../../common-types/resource-management/v3/types.json#/definitions/ErrorResponse" + } + } + }, + "x-ms-examples": { + "Delete Frontend": { + "$ref": "./examples/FrontendDelete.json" + } + }, + "x-ms-long-running-operation-options": { + "final-state-via": "location" + }, + "x-ms-long-running-operation": true + } + } + }, + "definitions": { + "Association": { + "type": "object", + "description": "Association Subresource of Traffic Controller", + "properties": { + "properties": { + "$ref": "#/definitions/AssociationProperties", + "description": "The resource-specific properties for this resource.", + "x-ms-client-flatten": true, + "x-ms-mutability": [ + "read", + "create" + ] + } + }, + "allOf": [ + { + "$ref": "../../../../../common-types/resource-management/v3/types.json#/definitions/TrackedResource" + } + ] + }, + "AssociationListResult": { + "type": "object", + "description": "The response of a Association list operation.", + "properties": { + "value": { + "type": "array", + "description": "The Association items on this page", + "items": { + "$ref": "#/definitions/Association" + } + }, + "nextLink": { + "type": "string", + "format": "uri", + "description": "The link to the next page of items" + } + }, + "required": [ + "value" + ] + }, + "AssociationProperties": { + "type": "object", + "description": "Association Properties.", + "properties": { + "associationType": { + "$ref": "#/definitions/AssociationType", + "description": "Association Type" + }, + "subnet": { + "$ref": "#/definitions/AssociationSubnet", + "description": "Association Subnet" + }, + "provisioningState": { + "$ref": "#/definitions/ProvisioningState", + "description": "Provisioning State of Traffic Controller Association Resource", + "readOnly": true + } + }, + "required": [ + "associationType" + ] + }, + "AssociationSubnet": { + "type": "object", + "description": "Association Subnet.", + "properties": { + "id": { + "type": "string", + "description": "Association ID." + } + }, + "required": [ + "id" + ] + }, + "AssociationSubnetUpdate": { + "type": "object", + "description": "Association Subnet.", + "properties": { + "id": { + "type": "string", + "description": "Association ID." + } + } + }, + "AssociationType": { + "type": "string", + "enum": [ + "subnets" + ], + "x-ms-enum": { + "name": "AssociationType", + "modelAsString": true + } + }, + "AssociationUpdate": { + "type": "object", + "description": "The type used for update operations of the Association.", + "properties": { + "tags": { + "type": "object", + "description": "Resource tags.", + "additionalProperties": { + "type": "string" + } + }, + "properties": { + "$ref": "#/definitions/AssociationUpdateProperties", + "x-ms-client-flatten": true + } + } + }, + "AssociationUpdateProperties": { + "type": "object", + "description": "The updatable properties of the Association.", + "properties": { + "associationType": { + "$ref": "#/definitions/AssociationType", + "description": "Association Type" + }, + "subnet": { + "$ref": "#/definitions/AssociationSubnetUpdate", + "description": "Association Subnet" + } + } + }, + "Frontend": { + "type": "object", + "description": "Frontend Subresource of Traffic Controller.", + "properties": { + "properties": { + "$ref": "#/definitions/FrontendProperties", + "description": "The resource-specific properties for this resource.", + "x-ms-client-flatten": true, + "x-ms-mutability": [ + "read", + "create" + ] + } + }, + "allOf": [ + { + "$ref": "../../../../../common-types/resource-management/v3/types.json#/definitions/TrackedResource" + } + ] + }, + "FrontendListResult": { + "type": "object", + "description": "The response of a Frontend list operation.", + "properties": { + "value": { + "type": "array", + "description": "The Frontend items on this page", + "items": { + "$ref": "#/definitions/Frontend" + } + }, + "nextLink": { + "type": "string", + "format": "uri", + "description": "The link to the next page of items" + } + }, + "required": [ + "value" + ] + }, + "FrontendProperties": { + "type": "object", + "description": "Frontend Properties.", + "properties": { + "fqdn": { + "type": "string", + "description": "The Fully Qualified Domain Name of the DNS record associated to a Traffic Controller frontend.", + "readOnly": true + }, + "provisioningState": { + "$ref": "#/definitions/ProvisioningState", + "description": "Provisioning State of Traffic Controller Frontend Resource", + "readOnly": true + } + } + }, + "FrontendUpdate": { + "type": "object", + "description": "The type used for update operations of the Frontend.", + "properties": { + "tags": { + "type": "object", + "description": "Resource tags.", + "additionalProperties": { + "type": "string" + } + } + } + }, + "ProvisioningState": { + "type": "string", + "enum": [ + "Provisioning", + "Updating", + "Deleting", + "Accepted", + "Succeeded", + "Failed", + "Canceled" + ], + "x-ms-enum": { + "name": "ProvisioningState", + "modelAsString": true + } + }, + "ResourceId": { + "type": "object", + "description": "Resource ID definition used by parent to reference child resources.", + "properties": { + "id": { + "type": "string", + "description": "Resource ID of child resource." + } + }, + "required": [ + "id" + ] + }, + "TrafficController": { + "type": "object", + "description": "Concrete tracked resource types can be created by aliasing this type using a specific property type.", + "properties": { + "properties": { + "$ref": "#/definitions/TrafficControllerProperties", + "description": "The resource-specific properties for this resource.", + "x-ms-client-flatten": true, + "x-ms-mutability": [ + "read", + "create" + ] + } + }, + "allOf": [ + { + "$ref": "../../../../../common-types/resource-management/v3/types.json#/definitions/TrackedResource" + } + ] + }, + "TrafficControllerListResult": { + "type": "object", + "description": "The response of a TrafficController list operation.", + "properties": { + "value": { + "type": "array", + "description": "The TrafficController items on this page", + "items": { + "$ref": "#/definitions/TrafficController" + } + }, + "nextLink": { + "type": "string", + "format": "uri", + "description": "The link to the next page of items" + } + }, + "required": [ + "value" + ] + }, + "TrafficControllerProperties": { + "type": "object", + "description": "Traffic Controller Properties.", + "properties": { + "configurationEndpoints": { + "type": "array", + "description": "Configuration Endpoints.", + "items": { + "type": "string" + }, + "readOnly": true + }, + "frontends": { + "type": "array", + "description": "Frontends References List", + "items": { + "$ref": "#/definitions/ResourceId" + }, + "readOnly": true + }, + "associations": { + "type": "array", + "description": "Associations References List", + "items": { + "$ref": "#/definitions/ResourceId" + }, + "readOnly": true + }, + "provisioningState": { + "$ref": "#/definitions/ProvisioningState", + "description": "The status of the last operation.", + "readOnly": true + } + } + }, + "TrafficControllerUpdate": { + "type": "object", + "description": "The type used for update operations of the TrafficController.", + "properties": { + "tags": { + "type": "object", + "description": "Resource tags.", + "additionalProperties": { + "type": "string" + } + } + } + } + }, + "parameters": {} +} diff --git a/specification/servicenetworking/resource-manager/Microsoft.ServiceNetworking/stable/2023-11-01/examples/AssociationDelete.json b/specification/servicenetworking/resource-manager/Microsoft.ServiceNetworking/stable/2023-11-01/examples/AssociationDelete.json new file mode 100644 index 000000000000..8312f438ad35 --- /dev/null +++ b/specification/servicenetworking/resource-manager/Microsoft.ServiceNetworking/stable/2023-11-01/examples/AssociationDelete.json @@ -0,0 +1,21 @@ +{ + "title": "Delete Association", + "operationId": "AssociationsInterface_Delete", + "parameters": { + "api-version": "2023-11-01", + "subscriptionId": "subid", + "resourceGroupName": "rg1", + "trafficControllerName": "tc1", + "associationName": "as1" + }, + "responses": { + "200": {}, + "202": { + "headers": { + "Retry-After": 3, + "location": "https://blobLocation.com" + } + }, + "204": {} + } +} diff --git a/specification/servicenetworking/resource-manager/Microsoft.ServiceNetworking/stable/2023-11-01/examples/AssociationGet.json b/specification/servicenetworking/resource-manager/Microsoft.ServiceNetworking/stable/2023-11-01/examples/AssociationGet.json new file mode 100644 index 000000000000..f67a82d39724 --- /dev/null +++ b/specification/servicenetworking/resource-manager/Microsoft.ServiceNetworking/stable/2023-11-01/examples/AssociationGet.json @@ -0,0 +1,28 @@ +{ + "title": "Get Association", + "operationId": "AssociationsInterface_Get", + "parameters": { + "api-version": "2023-11-01", + "subscriptionId": "subid", + "resourceGroupName": "rg1", + "trafficControllerName": "tc1", + "associationName": "as1" + }, + "responses": { + "200": { + "body": { + "name": "as1", + "type": "Microsoft.ServiceNetworking/trafficControllers/associations", + "id": "/subscriptions/subid/resourcegroups/rg1/providers/Microsoft.ServiceNetworking/trafficControllers/tc1/associations/as1", + "location": "NorthCentralUS", + "properties": { + "associationType": "subnets", + "subnet": { + "id": "/subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/virtualNetworks/vnet-tc/subnets/tc-subnet" + }, + "provisioningState": "Succeeded" + } + } + } + } +} diff --git a/specification/servicenetworking/resource-manager/Microsoft.ServiceNetworking/stable/2023-11-01/examples/AssociationPatch.json b/specification/servicenetworking/resource-manager/Microsoft.ServiceNetworking/stable/2023-11-01/examples/AssociationPatch.json new file mode 100644 index 000000000000..d6cbba4578cb --- /dev/null +++ b/specification/servicenetworking/resource-manager/Microsoft.ServiceNetworking/stable/2023-11-01/examples/AssociationPatch.json @@ -0,0 +1,35 @@ +{ + "title": "Update Association", + "operationId": "AssociationsInterface_Update", + "parameters": { + "api-version": "2023-11-01", + "subscriptionId": "subid", + "resourceGroupName": "rg1", + "trafficControllerName": "tc1", + "associationName": "as1", + "properties": { + "properties": { + "associationType": "subnets", + "subnet": { + "id": "/subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/virtualNetworks/vnet-tc/subnets/tc-subnet" + } + } + } + }, + "responses": { + "200": { + "body": { + "name": "as1", + "type": "Microsoft.ServiceNetworking/trafficControllers/associations", + "id": "/subscriptions/subid/resourcegroups/rg1/providers/Microsoft.ServiceNetworking/trafficControllers/tc1/associations/as1", + "location": "NorthCentralUS", + "properties": { + "associationType": "subnets", + "subnet": { + "id": "/subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/virtualNetworks/vnet-tc/subnets/tc-subnet" + } + } + } + } + } +} diff --git a/specification/servicenetworking/resource-manager/Microsoft.ServiceNetworking/stable/2023-11-01/examples/AssociationPut.json b/specification/servicenetworking/resource-manager/Microsoft.ServiceNetworking/stable/2023-11-01/examples/AssociationPut.json new file mode 100644 index 000000000000..3f9776f48c9b --- /dev/null +++ b/specification/servicenetworking/resource-manager/Microsoft.ServiceNetworking/stable/2023-11-01/examples/AssociationPut.json @@ -0,0 +1,51 @@ +{ + "title": "Put Association", + "operationId": "AssociationsInterface_CreateOrUpdate", + "parameters": { + "api-version": "2023-11-01", + "subscriptionId": "subid", + "resourceGroupName": "rg1", + "trafficControllerName": "tc1", + "associationName": "as1", + "resource": { + "location": "NorthCentralUS", + "properties": { + "associationType": "subnets", + "subnet": { + "id": "/subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/virtualNetworks/vnet-tc/subnets/tc-subnet" + } + } + } + }, + "responses": { + "200": { + "body": { + "name": "associatedvnet-1", + "type": "Microsoft.ServiceNetworking/trafficControllers/associations", + "id": "/subscriptions/subid/resourcegroups/rg1/providers/Microsoft.ServiceNetworking/trafficControllers/tc1/associations/as1", + "location": "NorthCentralUS", + "properties": { + "associationType": "subnets", + "subnet": { + "id": "/subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/virtualNetworks/vnet-tc/subnets/tc-subnet" + }, + "provisioningState": "Accepted" + } + } + }, + "201": { + "body": { + "name": "associatedvnet-1", + "type": "Microsoft.ServiceNetworking/trafficControllers/associations", + "id": "/subscriptions/subid/resourcegroups/rg1/providers/Microsoft.ServiceNetworking/trafficControllers/tc1/associations/as1", + "location": "NorthCentralUS", + "properties": { + "associationType": "subnets", + "subnet": { + "id": "/subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/virtualNetworks/vnet-tc/subnets/tc-subnet" + } + } + } + } + } +} diff --git a/specification/servicenetworking/resource-manager/Microsoft.ServiceNetworking/stable/2023-11-01/examples/AssociationsGet.json b/specification/servicenetworking/resource-manager/Microsoft.ServiceNetworking/stable/2023-11-01/examples/AssociationsGet.json new file mode 100644 index 000000000000..0ce9360d8eea --- /dev/null +++ b/specification/servicenetworking/resource-manager/Microsoft.ServiceNetworking/stable/2023-11-01/examples/AssociationsGet.json @@ -0,0 +1,31 @@ +{ + "title": "Get Associations", + "operationId": "AssociationsInterface_ListByTrafficController", + "parameters": { + "api-version": "2023-11-01", + "subscriptionId": "subid", + "resourceGroupName": "rg1", + "trafficControllerName": "tc1" + }, + "responses": { + "200": { + "body": { + "value": [ + { + "name": "as1", + "type": "Microsoft.ServiceNetworking/trafficControllers/associations", + "id": "/subscriptions/subid/resourcegroups/rg1/providers/Microsoft.ServiceNetworking/trafficControllers/tc1/associations/as1", + "location": "NorthCentralUS", + "properties": { + "associationType": "subnets", + "subnet": { + "id": "/subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/virtualNetworks/vnet-tc/subnets/tc-subnet" + }, + "provisioningState": "Succeeded" + } + } + ] + } + } + } +} diff --git a/specification/servicenetworking/resource-manager/Microsoft.ServiceNetworking/stable/2023-11-01/examples/FrontendDelete.json b/specification/servicenetworking/resource-manager/Microsoft.ServiceNetworking/stable/2023-11-01/examples/FrontendDelete.json new file mode 100644 index 000000000000..16d61ab94ec1 --- /dev/null +++ b/specification/servicenetworking/resource-manager/Microsoft.ServiceNetworking/stable/2023-11-01/examples/FrontendDelete.json @@ -0,0 +1,21 @@ +{ + "title": "Delete Frontend", + "operationId": "FrontendsInterface_Delete", + "parameters": { + "api-version": "2023-11-01", + "subscriptionId": "subid", + "resourceGroupName": "rg1", + "trafficControllerName": "tc1", + "frontendName": "fe1" + }, + "responses": { + "200": {}, + "202": { + "headers": { + "Retry-After": 3, + "location": "https://blobLocation.com" + } + }, + "204": {} + } +} diff --git a/specification/servicenetworking/resource-manager/Microsoft.ServiceNetworking/stable/2023-11-01/examples/FrontendGet.json b/specification/servicenetworking/resource-manager/Microsoft.ServiceNetworking/stable/2023-11-01/examples/FrontendGet.json new file mode 100644 index 000000000000..89c63abe81dd --- /dev/null +++ b/specification/servicenetworking/resource-manager/Microsoft.ServiceNetworking/stable/2023-11-01/examples/FrontendGet.json @@ -0,0 +1,25 @@ +{ + "title": "Get Frontend", + "operationId": "FrontendsInterface_Get", + "parameters": { + "api-version": "2023-11-01", + "subscriptionId": "subid", + "resourceGroupName": "rg1", + "trafficControllerName": "tc1", + "frontendName": "fe1" + }, + "responses": { + "200": { + "body": { + "name": "fe1", + "location": "NorthCentralUS", + "type": "Microsoft.ServiceNetworking/trafficControllers/frontends", + "id": "/subscriptions/subid/resourceGroups/rg1/providers/Microsoft.ServiceNetworking/trafficControllers/tc1/frontends/fe1", + "properties": { + "fqdn": "test.net", + "provisioningState": "Succeeded" + } + } + } + } +} diff --git a/specification/servicenetworking/resource-manager/Microsoft.ServiceNetworking/stable/2023-11-01/examples/FrontendPatch.json b/specification/servicenetworking/resource-manager/Microsoft.ServiceNetworking/stable/2023-11-01/examples/FrontendPatch.json new file mode 100644 index 000000000000..251cf906d1f7 --- /dev/null +++ b/specification/servicenetworking/resource-manager/Microsoft.ServiceNetworking/stable/2023-11-01/examples/FrontendPatch.json @@ -0,0 +1,26 @@ +{ + "title": "Update Frontend", + "operationId": "FrontendsInterface_Update", + "parameters": { + "api-version": "2023-11-01", + "subscriptionId": "subid", + "resourceGroupName": "rg1", + "trafficControllerName": "tc1", + "frontendName": "fe1", + "properties": {} + }, + "responses": { + "200": { + "body": { + "name": "fe1", + "location": "NorthCentralUS", + "type": "Microsoft.ServiceNetworking/trafficControllers/frontends", + "id": "/subscriptions/subid/resourceGroups/rg1/providers/Microsoft.ServiceNetworking/trafficControllers/tc1/frontends/fe1", + "properties": { + "fqdn": "test.net", + "provisioningState": "Succeeded" + } + } + } + } +} diff --git a/specification/servicenetworking/resource-manager/Microsoft.ServiceNetworking/stable/2023-11-01/examples/FrontendPut.json b/specification/servicenetworking/resource-manager/Microsoft.ServiceNetworking/stable/2023-11-01/examples/FrontendPut.json new file mode 100644 index 000000000000..d56c9b449952 --- /dev/null +++ b/specification/servicenetworking/resource-manager/Microsoft.ServiceNetworking/stable/2023-11-01/examples/FrontendPut.json @@ -0,0 +1,41 @@ +{ + "title": "Put Frontend", + "operationId": "FrontendsInterface_CreateOrUpdate", + "parameters": { + "api-version": "2023-11-01", + "subscriptionId": "subid", + "resourceGroupName": "rg1", + "trafficControllerName": "tc1", + "frontendName": "fe1", + "resource": { + "location": "NorthCentralUS", + "properties": {} + } + }, + "responses": { + "200": { + "body": { + "name": "fe1", + "location": "NorthCentralUS", + "type": "Microsoft.ServiceNetworking/trafficControllers/frontends", + "id": "/subscriptions/subid/resourceGroups/rg1/providers/Microsoft.ServiceNetworking/trafficControllers/tc1/frontends/fe1", + "properties": { + "fqdn": "test.net", + "provisioningState": "Succeeded" + } + } + }, + "201": { + "body": { + "name": "fe1", + "location": "NorthCentralUS", + "type": "Microsoft.ServiceNetworking/trafficControllers/frontends", + "id": "/subscriptions/subid/resourceGroups/rg1/providers/Microsoft.ServiceNetworking/trafficControllers/tc1/frontends/fe1", + "properties": { + "fqdn": "test.net", + "provisioningState": "Succeeded" + } + } + } + } +} diff --git a/specification/servicenetworking/resource-manager/Microsoft.ServiceNetworking/stable/2023-11-01/examples/FrontendsGet.json b/specification/servicenetworking/resource-manager/Microsoft.ServiceNetworking/stable/2023-11-01/examples/FrontendsGet.json new file mode 100644 index 000000000000..08dbeb11007a --- /dev/null +++ b/specification/servicenetworking/resource-manager/Microsoft.ServiceNetworking/stable/2023-11-01/examples/FrontendsGet.json @@ -0,0 +1,28 @@ +{ + "title": "Get Frontends", + "operationId": "FrontendsInterface_ListByTrafficController", + "parameters": { + "api-version": "2023-11-01", + "subscriptionId": "subid", + "resourceGroupName": "rg1", + "trafficControllerName": "tc1" + }, + "responses": { + "200": { + "body": { + "value": [ + { + "name": "fe1", + "location": "NorthCentralUS", + "type": "Microsoft.ServiceNetworking/trafficControllers/frontends", + "id": "/subscriptions/subid/resourceGroups/rg1/providers/Microsoft.ServiceNetworking/trafficControllers/tc1/frontends/fe1", + "properties": { + "fqdn": "test.net", + "provisioningState": "Succeeded" + } + } + ] + } + } + } +} diff --git a/specification/servicenetworking/resource-manager/Microsoft.ServiceNetworking/stable/2023-11-01/examples/OperationsList.json b/specification/servicenetworking/resource-manager/Microsoft.ServiceNetworking/stable/2023-11-01/examples/OperationsList.json new file mode 100644 index 000000000000..89f43a23b602 --- /dev/null +++ b/specification/servicenetworking/resource-manager/Microsoft.ServiceNetworking/stable/2023-11-01/examples/OperationsList.json @@ -0,0 +1,26 @@ +{ + "title": "Get Operations List", + "operationId": "Operations_List", + "parameters": { + "api-version": "2023-11-01" + }, + "responses": { + "200": { + "body": { + "value": [ + { + "name": "Microsoft.ServiceNetworking/trafficControllers/read", + "isDataAction": false, + "display": { + "provider": "Microsoft Service Networking", + "resource": "Traffic Controller", + "operation": "Get Traffic Controller configuration", + "description": "Traffic Controller is a L7 Load Balancing solution for a Multi Cluster setup" + }, + "origin": "user,system" + } + ] + } + } + } +} diff --git a/specification/servicenetworking/resource-manager/Microsoft.ServiceNetworking/stable/2023-11-01/examples/TrafficControllerDelete.json b/specification/servicenetworking/resource-manager/Microsoft.ServiceNetworking/stable/2023-11-01/examples/TrafficControllerDelete.json new file mode 100644 index 000000000000..add4d98ca164 --- /dev/null +++ b/specification/servicenetworking/resource-manager/Microsoft.ServiceNetworking/stable/2023-11-01/examples/TrafficControllerDelete.json @@ -0,0 +1,20 @@ +{ + "title": "Delete Traffic Controller", + "operationId": "TrafficControllerInterface_Delete", + "parameters": { + "api-version": "2023-11-01", + "subscriptionId": "subid", + "resourceGroupName": "rg1", + "trafficControllerName": "tc1" + }, + "responses": { + "200": {}, + "202": { + "headers": { + "Retry-After": 3, + "location": "https://blobLocation.com" + } + }, + "204": {} + } +} diff --git a/specification/servicenetworking/resource-manager/Microsoft.ServiceNetworking/stable/2023-11-01/examples/TrafficControllerGet.json b/specification/servicenetworking/resource-manager/Microsoft.ServiceNetworking/stable/2023-11-01/examples/TrafficControllerGet.json new file mode 100644 index 000000000000..25ec6b5db8c0 --- /dev/null +++ b/specification/servicenetworking/resource-manager/Microsoft.ServiceNetworking/stable/2023-11-01/examples/TrafficControllerGet.json @@ -0,0 +1,39 @@ +{ + "operationId": "TrafficControllerInterface_Get", + "title": "Get Traffic Controller", + "parameters": { + "api-version": "2023-11-01", + "subscriptionId": "subid", + "resourceGroupName": "rg1", + "trafficControllerName": "tc1" + }, + "responses": { + "200": { + "body": { + "name": "tc1", + "id": "/subscriptions/subid/resourceGroups/rg1/providers/Microsoft.ServiceNetworking/trafficControllers/tc1", + "type": "Microsoft.ServiceNetworking/trafficControllers", + "location": "NorthCentralUS", + "tags": { + "key1": "value1" + }, + "properties": { + "configurationEndpoints": [ + "abc.trafficcontroller.azure.net" + ], + "frontends": [ + { + "id": "/subscriptions/subid/resourceGroups/rg1/providers/Microsoft.ServiceNetworking/trafficControllers/tc1/frontends/fe1" + } + ], + "associations": [ + { + "id": "/subscriptions/subid/resourceGroups/rg1/providers/Microsoft.ServiceNetworking/trafficControllers/tc1/association/as1" + } + ], + "provisioningState": "Succeeded" + } + } + } + } +} diff --git a/specification/servicenetworking/resource-manager/Microsoft.ServiceNetworking/stable/2023-11-01/examples/TrafficControllerPatch.json b/specification/servicenetworking/resource-manager/Microsoft.ServiceNetworking/stable/2023-11-01/examples/TrafficControllerPatch.json new file mode 100644 index 000000000000..2dba4c176ac4 --- /dev/null +++ b/specification/servicenetworking/resource-manager/Microsoft.ServiceNetworking/stable/2023-11-01/examples/TrafficControllerPatch.json @@ -0,0 +1,44 @@ +{ + "operationId": "TrafficControllerInterface_Update", + "title": "Patch Traffic Controller", + "parameters": { + "api-version": "2023-11-01", + "subscriptionId": "subid", + "resourceGroupName": "rg1", + "trafficControllerName": "tc1", + "properties": { + "tags": { + "key1": "value1" + } + } + }, + "responses": { + "200": { + "body": { + "name": "tc1", + "id": "/subscriptions/subid/resourceGroups/rg1/providers/Microsoft.ServiceNetworking/trafficControllers/tc1", + "type": "Microsoft.ServiceNetworking/trafficControllers", + "location": "NorthCentralUS", + "tags": { + "key1": "value1" + }, + "properties": { + "configurationEndpoints": [ + "abc.trafficcontroller.azure.net" + ], + "frontends": [ + { + "id": "/subscriptions/subid/resourceGroups/rg1/providers/Microsoft.ServiceNetworking/trafficControllers/tc1/frontends/fe1" + } + ], + "associations": [ + { + "id": "/subscriptions/subid/resourceGroups/rg1/providers/Microsoft.ServiceNetworking/trafficControllers/tc1/association/as1" + } + ], + "provisioningState": "Succeeded" + } + } + } + } +} diff --git a/specification/servicenetworking/resource-manager/Microsoft.ServiceNetworking/stable/2023-11-01/examples/TrafficControllerPut.json b/specification/servicenetworking/resource-manager/Microsoft.ServiceNetworking/stable/2023-11-01/examples/TrafficControllerPut.json new file mode 100644 index 000000000000..269c1516ca52 --- /dev/null +++ b/specification/servicenetworking/resource-manager/Microsoft.ServiceNetworking/stable/2023-11-01/examples/TrafficControllerPut.json @@ -0,0 +1,72 @@ +{ + "operationId": "TrafficControllerInterface_CreateOrUpdate", + "title": "Put Traffic Controller", + "parameters": { + "api-version": "2023-11-01", + "subscriptionId": "subid", + "resourceGroupName": "rg1", + "trafficControllerName": "tc1", + "resource": { + "location": "NorthCentralUS", + "tags": { + "key1": "value1" + } + } + }, + "responses": { + "200": { + "body": { + "name": "tc1", + "id": "/subscriptions/subid/resourceGroups/rg1/providers/Microsoft.ServiceNetworking/trafficControllers/tc1", + "type": "Microsoft.ServiceNetworking/trafficControllers", + "location": "NorthCentralUS", + "tags": { + "key1": "value1" + }, + "properties": { + "configurationEndpoints": [ + "abc.trafficcontroller.azure.net" + ], + "frontends": [ + { + "id": "/subscriptions/subid/resourceGroups/rg1/providers/Microsoft.ServiceNetworking/trafficControllers/tc1/frontends/fe1" + } + ], + "associations": [ + { + "id": "/subscriptions/subid/resourceGroups/rg1/providers/Microsoft.ServiceNetworking/trafficControllers/tc1/association/as1" + } + ], + "provisioningState": "Succeeded" + } + } + }, + "201": { + "body": { + "name": "tc1", + "id": "/subscriptions/subid/resourceGroups/rg1/providers/Microsoft.ServiceNetworking/trafficControllers/tc1", + "type": "Microsoft.ServiceNetworking/trafficControllers", + "location": "NorthCentralUS", + "tags": { + "key1": "value1" + }, + "properties": { + "configurationEndpoints": [ + "abc.trafficcontroller.azure.net" + ], + "frontends": [ + { + "id": "/subscriptions/subid/resourceGroups/rg1/providers/Microsoft.ServiceNetworking/trafficControllers/tc1/frontends/fe1" + } + ], + "associations": [ + { + "id": "/subscriptions/subid/resourceGroups/rg1/providers/Microsoft.ServiceNetworking/trafficControllers/tc1/association/as1" + } + ], + "provisioningState": "Succeeded" + } + } + } + } +} diff --git a/specification/servicenetworking/resource-manager/Microsoft.ServiceNetworking/stable/2023-11-01/examples/TrafficControllersGet.json b/specification/servicenetworking/resource-manager/Microsoft.ServiceNetworking/stable/2023-11-01/examples/TrafficControllersGet.json new file mode 100644 index 000000000000..5639436de0cd --- /dev/null +++ b/specification/servicenetworking/resource-manager/Microsoft.ServiceNetworking/stable/2023-11-01/examples/TrafficControllersGet.json @@ -0,0 +1,42 @@ +{ + "operationId": "TrafficControllerInterface_ListByResourceGroup", + "title": "Get Traffic Controllers", + "parameters": { + "api-version": "2023-11-01", + "subscriptionId": "subid", + "resourceGroupName": "rg1" + }, + "responses": { + "200": { + "body": { + "value": [ + { + "name": "tc1", + "id": "/subscriptions/subid/resourceGroups/rg1/providers/Microsoft.ServiceNetworking/trafficControllers/tc1", + "type": "Microsoft.ServiceNetworking/trafficControllers", + "location": "NorthCentralUS", + "tags": { + "key1": "value1" + }, + "properties": { + "configurationEndpoints": [ + "abc.trafficcontroller.azure.net" + ], + "frontends": [ + { + "id": "/subscriptions/subid/resourceGroups/rg1/providers/Microsoft.ServiceNetworking/trafficControllers/tc1/frontends/fe1" + } + ], + "associations": [ + { + "id": "/subscriptions/subid/resourceGroups/rg1/providers/Microsoft.ServiceNetworking/trafficControllers/tc1/association/as1" + } + ], + "provisioningState": "Succeeded" + } + } + ] + } + } + } +} diff --git a/specification/servicenetworking/resource-manager/Microsoft.ServiceNetworking/stable/2023-11-01/examples/TrafficControllersGetList.json b/specification/servicenetworking/resource-manager/Microsoft.ServiceNetworking/stable/2023-11-01/examples/TrafficControllersGetList.json new file mode 100644 index 000000000000..eba2c88502fd --- /dev/null +++ b/specification/servicenetworking/resource-manager/Microsoft.ServiceNetworking/stable/2023-11-01/examples/TrafficControllersGetList.json @@ -0,0 +1,41 @@ +{ + "operationId": "TrafficControllerInterface_ListBySubscription", + "title": "Get Traffic Controllers List", + "parameters": { + "api-version": "2023-11-01", + "subscriptionId": "subid" + }, + "responses": { + "200": { + "body": { + "value": [ + { + "name": "tc1", + "id": "/subscriptions/subid/resourceGroups/rg1/providers/Microsoft.ServiceNetworking/trafficControllers/tc1", + "type": "Microsoft.ServiceNetworking/trafficControllers", + "location": "NorthCentralUS", + "tags": { + "key1": "value1" + }, + "properties": { + "configurationEndpoints": [ + "abc.trafficcontroller.azure.net" + ], + "frontends": [ + { + "id": "/subscriptions/subid/resourceGroups/rg1/providers/Microsoft.ServiceNetworking/trafficControllers/tc1/frontends/fe1" + } + ], + "associations": [ + { + "id": "/subscriptions/subid/resourceGroups/rg1/providers/Microsoft.ServiceNetworking/trafficControllers/tc1/association/as1" + } + ], + "provisioningState": "Succeeded" + } + } + ] + } + } + } +} diff --git a/specification/servicenetworking/resource-manager/readme.md b/specification/servicenetworking/resource-manager/readme.md index 1ef67b2f3ffe..91c7575a1f18 100644 --- a/specification/servicenetworking/resource-manager/readme.md +++ b/specification/servicenetworking/resource-manager/readme.md @@ -24,10 +24,20 @@ For other options on installation see [Installing AutoRest](https://aka.ms/autor These are the global settings for the servicenetworking. - ```yaml openapi-type: arm -tag: package-2023-05-01-preview +tag: package-2023-11-01 +``` + +### Tag: package-2023-11-01 + +These settings apply only when `--tag=package-2023-11-01` is specified on the command line. + +```yaml $(tag) == 'package-2023-11-01' +input-file: + - Microsoft.ServiceNetworking/stable/2023-11-01/TrafficController.json +openapi-type: arm +tag: package-2023-11-01 ``` ### Tag: package-2023-05-01-preview