Skip to content

Commit

Permalink
DoNotMerge preview Network april release (Azure#9282)
Browse files Browse the repository at this point in the history
* Adds base for updating Microsoft.Network from version stable/2020-03-01 to version 2020-04-01

* Updates readme

* Updates API version in new specs and examples

* Swagger Changes for New Backend Pool Address format (Azure#8993)

* SLB Changes

* addressed feedback

* Fixed RoundTripTimeMs property type: integer -> number (Azure#9023)

* Add support for DEL operation (Azure#9040)

* Rename Firewall Policy child resource RuleGroup to RuleCollectionGroup (Azure#9045)

* Rename firewall policy sub resources

s/RuleGroup/RuleCollectionGroup
s/Rule/RuleCollection
s/RuleCondition/Rule

This was based on customer feedback - the feature is currently in preview.

* rename files

* Update examples with new names for the subresource and children

* Fix model validation error

* Update examples

* Revert Azure#9045 + Add TI Whitelist (Azure#9271)

* TI whitelisting for firewall policy

* running prettier

* fixing description

* removing extra property from the response

* adding the new property in examples

* retrigger the pr check

* clean up

* Revert "Rename Firewall Policy child resource RuleGroup to RuleCollectionGroup (Azure#9045)"

This reverts commit b49caab.

* Fix ASN parameter of BGPPeerStatus model. (Azure#9178)

* Fix ASN for BGPPeerStatus model

* Fix json pretty errors

* Add premium tier to azure firewall (Azure#9313)

* Custom dns servers for Virtual Wan P2SVpnGateway (Azure#9268)

* Custom dns servers for Virtual Wan P2SVpnGateway

* Fix example

* Fix json pretty errors

* Add TLS Termination support for FirewallPolicy (Azure#9314)

* Add TLS Termination support for FirewallPolicy

* firewallPolicy: certificatesAuthority -> certificateAuthority

* Add HubRouteTables specs to virtualWan.json (Azure#9206)

* add HubRouteTables specs to virtualWan.json

* updated RoutingConfiguration as a connection property

* added examples for hubRouteTable

* updated examples for routingConfiguration

* fix1

* some more fixes

* fixes2

* prettier check done

* validate spec done

* fix3

* fixed model validation errors

* model validations again

* few more fxes:

* remove type from examples

* fix staging errors

* add required field where needed

* updated after review

* onemore fix

* added type

* added type

Co-authored-by: Mikhail <mitryakh@microsoft.com>
Co-authored-by: vivekagg-MSFT <36711748+ninzavivek@users.noreply.github.com>
Co-authored-by: irrogozh <irrogozh@microsoft.com>
Co-authored-by: gimotwanMSFT <36463144+gimotwanMSFT@users.noreply.github.com>
Co-authored-by: Sai Sujith Reddy Mankala <saisujithreddy@gmail.com>
Co-authored-by: Nilambari <nilamd@microsoft.com>
Co-authored-by: odedlaz <odedlaz@users.noreply.github.com>
Co-authored-by: Ritvika Reddy Nagula <ritvikareddy18@gmail.com>
  • Loading branch information
9 people authored and 00Kai0 committed Oct 12, 2020
1 parent 9a51f9b commit 6bbf7e1
Show file tree
Hide file tree
Showing 554 changed files with 78,827 additions and 2 deletions.

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,178 @@
{
"swagger": "2.0",
"info": {
"title": "NetworkManagementClient",
"description": "The Microsoft Azure Network management API provides a RESTful set of web services that interact with Microsoft Azure Networks service to manage your network resources. The API has entities that capture the relationship between an end user and the Microsoft Azure Networks service.",
"version": "2020-04-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}/providers/Microsoft.Network/locations/{location}/availableDelegations": {
"get": {
"operationId": "AvailableDelegations_List",
"description": "Gets all of the available subnet delegations for this subscription in this region.",
"parameters": [
{
"name": "location",
"in": "path",
"required": true,
"type": "string",
"description": "The location of the subnet."
},
{
"$ref": "./network.json#/parameters/ApiVersionParameter"
},
{
"$ref": "./network.json#/parameters/SubscriptionIdParameter"
}
],
"responses": {
"200": {
"description": "Request successful. Returns all of the possible delegations for a subnet in this subscription in the region.",
"schema": {
"$ref": "#/definitions/AvailableDelegationsResult"
}
},
"default": {
"description": "Error response describing why the operation failed.",
"schema": {
"$ref": "./network.json#/definitions/CloudError"
}
}
},
"x-ms-examples": {
"Get available delegations": {
"$ref": "./examples/AvailableDelegationsSubscriptionGet.json"
}
},
"x-ms-pageable": {
"nextLinkName": "nextLink"
}
}
},
"/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Network/locations/{location}/availableDelegations": {
"get": {
"operationId": "AvailableResourceGroupDelegations_List",
"description": "Gets all of the available subnet delegations for this resource group in this region.",
"parameters": [
{
"name": "location",
"in": "path",
"required": true,
"type": "string",
"description": "The location of the domain name."
},
{
"name": "resourceGroupName",
"in": "path",
"required": true,
"type": "string",
"description": "The name of the resource group."
},
{
"$ref": "./network.json#/parameters/SubscriptionIdParameter"
},
{
"$ref": "./network.json#/parameters/ApiVersionParameter"
}
],
"responses": {
"200": {
"description": "Request successful. Returns all of the possible delegations for a subnet in this subscription in the region.",
"schema": {
"$ref": "#/definitions/AvailableDelegationsResult"
}
},
"default": {
"description": "Error response describing why the operation failed.",
"schema": {
"$ref": "./network.json#/definitions/CloudError"
}
}
},
"x-ms-examples": {
"Get available delegations in the resource group": {
"$ref": "./examples/AvailableDelegationsResourceGroupGet.json"
}
},
"x-ms-pageable": {
"nextLinkName": "nextLink"
}
}
}
},
"definitions": {
"AvailableDelegationsResult": {
"properties": {
"value": {
"type": "array",
"items": {
"$ref": "#/definitions/AvailableDelegation"
},
"description": "An array of available delegations."
},
"nextLink": {
"readOnly": true,
"type": "string",
"description": "The URL to get the next set of results."
}
},
"description": "An array of available delegations."
},
"AvailableDelegation": {
"properties": {
"name": {
"type": "string",
"description": "The name of the AvailableDelegation resource."
},
"id": {
"type": "string",
"description": "A unique identifier of the AvailableDelegation resource."
},
"type": {
"type": "string",
"description": "Resource type."
},
"serviceName": {
"type": "string",
"description": "The name of the service and resource."
},
"actions": {
"type": "array",
"items": {
"type": "string"
},
"description": "The actions permitted to the service upon delegation."
}
},
"description": "The serviceName of an AvailableDelegation indicates a possible delegation for a subnet."
}
}
}
Original file line number Diff line number Diff line change
@@ -0,0 +1,171 @@
{
"swagger": "2.0",
"info": {
"title": "NetworkManagementClient",
"description": "The Microsoft Azure Network management API provides a RESTful set of web services that interact with Microsoft Azure Networks service to manage your network resources. The API has entities that capture the relationship between an end user and the Microsoft Azure Networks service.",
"version": "2020-04-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}/providers/Microsoft.Network/locations/{location}/availableServiceAliases": {
"get": {
"operationId": "AvailableServiceAliases_List",
"description": "Gets all available service aliases for this subscription in this region.",
"parameters": [
{
"name": "location",
"in": "path",
"required": true,
"type": "string",
"description": "The location."
},
{
"$ref": "./network.json#/parameters/SubscriptionIdParameter"
},
{
"$ref": "./network.json#/parameters/ApiVersionParameter"
}
],
"responses": {
"200": {
"description": "Request successful. Returns all available service aliases for the subscription in the region.",
"schema": {
"$ref": "#/definitions/AvailableServiceAliasesResult"
}
},
"default": {
"description": "Error response describing why the operation failed.",
"schema": {
"$ref": "./network.json#/definitions/CloudError"
}
}
},
"x-ms-examples": {
"Get available service aliases": {
"$ref": "./examples/AvailableServiceAliasesList.json"
}
},
"x-ms-pageable": {
"nextLinkName": "nextLink"
}
}
},
"/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Network/locations/{location}/availableServiceAliases": {
"get": {
"operationId": "AvailableServiceAliases_ListByResourceGroup",
"description": "Gets all available service aliases for this resource group in this region.",
"parameters": [
{
"name": "resourceGroupName",
"in": "path",
"required": true,
"type": "string",
"description": "The name of the resource group."
},
{
"name": "location",
"in": "path",
"required": true,
"type": "string",
"description": "The location."
},
{
"$ref": "./network.json#/parameters/SubscriptionIdParameter"
},
{
"$ref": "./network.json#/parameters/ApiVersionParameter"
}
],
"responses": {
"200": {
"description": "Request successful. Returns all available service aliases for the resource group in the region.",
"schema": {
"$ref": "#/definitions/AvailableServiceAliasesResult"
}
},
"default": {
"description": "Error response describing why the operation failed.",
"schema": {
"$ref": "./network.json#/definitions/CloudError"
}
}
},
"x-ms-examples": {
"Get available service aliases in the resource group": {
"$ref": "./examples/AvailableServiceAliasesListByResourceGroup.json"
}
},
"x-ms-pageable": {
"nextLinkName": "nextLink"
}
}
}
},
"definitions": {
"AvailableServiceAlias": {
"properties": {
"name": {
"type": "string",
"description": "The name of the service alias."
},
"id": {
"type": "string",
"description": "The ID of the service alias."
},
"type": {
"type": "string",
"description": "The type of the resource."
},
"resourceName": {
"type": "string",
"description": "The resource name of the service alias."
}
},
"description": "The available service alias."
},
"AvailableServiceAliasesResult": {
"properties": {
"value": {
"type": "array",
"items": {
"$ref": "#/definitions/AvailableServiceAlias"
},
"description": "An array of available service aliases."
},
"nextLink": {
"readOnly": true,
"type": "string",
"description": "The URL to get the next set of results."
}
},
"description": "An array of available service aliases."
}
}
}
Loading

0 comments on commit 6bbf7e1

Please sign in to comment.