From d6935b3668315d70e9ef4bc6280b953411220ca0 Mon Sep 17 00:00:00 2001 From: Ishani Gupta Date: Mon, 16 Mar 2020 11:10:56 -0700 Subject: [PATCH 01/12] Adding securityPartnerProvider resource --- .../SecurityPartnerProviderDelete.json | 13 + .../examples/SecurityPartnerProviderGet.json | 30 ++ ...ityPartnerProviderListByResourceGroup.json | 33 ++ ...rityPartnerProviderListBySubscription.json | 33 ++ .../examples/SecurityPartnerProviderPut.json | 61 +++ .../SecurityPartnerProviderUpdateTags.json | 32 ++ .../2020-03-01/securityPartnerProvider.json | 424 ++++++++++++++++++ .../stable/2020-03-01/virtualWan.json | 4 + 8 files changed, 630 insertions(+) create mode 100644 specification/network/resource-manager/Microsoft.Network/stable/2020-03-01/examples/SecurityPartnerProviderDelete.json create mode 100644 specification/network/resource-manager/Microsoft.Network/stable/2020-03-01/examples/SecurityPartnerProviderGet.json create mode 100644 specification/network/resource-manager/Microsoft.Network/stable/2020-03-01/examples/SecurityPartnerProviderListByResourceGroup.json create mode 100644 specification/network/resource-manager/Microsoft.Network/stable/2020-03-01/examples/SecurityPartnerProviderListBySubscription.json create mode 100644 specification/network/resource-manager/Microsoft.Network/stable/2020-03-01/examples/SecurityPartnerProviderPut.json create mode 100644 specification/network/resource-manager/Microsoft.Network/stable/2020-03-01/examples/SecurityPartnerProviderUpdateTags.json create mode 100644 specification/network/resource-manager/Microsoft.Network/stable/2020-03-01/securityPartnerProvider.json diff --git a/specification/network/resource-manager/Microsoft.Network/stable/2020-03-01/examples/SecurityPartnerProviderDelete.json b/specification/network/resource-manager/Microsoft.Network/stable/2020-03-01/examples/SecurityPartnerProviderDelete.json new file mode 100644 index 000000000000..3e922a79f7e5 --- /dev/null +++ b/specification/network/resource-manager/Microsoft.Network/stable/2020-03-01/examples/SecurityPartnerProviderDelete.json @@ -0,0 +1,13 @@ +{ + "parameters": { + "api-version": "2019-11-01", + "subscriptionId": "subid", + "resourceGroupName": "rg1", + "securityPartnerProviderName": "securityPartnerProvider" + }, + "responses": { + "200": {}, + "202": {}, + "204": {} + } +} diff --git a/specification/network/resource-manager/Microsoft.Network/stable/2020-03-01/examples/SecurityPartnerProviderGet.json b/specification/network/resource-manager/Microsoft.Network/stable/2020-03-01/examples/SecurityPartnerProviderGet.json new file mode 100644 index 000000000000..7f4c15257e16 --- /dev/null +++ b/specification/network/resource-manager/Microsoft.Network/stable/2020-03-01/examples/SecurityPartnerProviderGet.json @@ -0,0 +1,30 @@ +{ + "parameters": { + "api-version": "2019-11-01", + "subscriptionId": "subid", + "resourceGroupName": "rg1", + "securityPartnerProviderName": "securityPartnerProvider" + }, + "responses": { + "200": { + "body": { + "name": "securityPartnerProvider", + "id": "/subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/securityPartnerProviders/securityPartnerProvider", + "type": "Microsoft.Network/securityPartnerProviders", + "etag": "w/\\00000000-0000-0000-0000-000000000000\\", + "location": "West US", + "tags": { + "key1": "value1" + }, + "properties": { + "provisioningState": "Succeeded", + "securityProviderName": "ZScaler", + "connectionStatus": "Unknown", + "virtualHub": { + "id": "/subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/virtualHubs/hub1" + } + } + } + } + } +} diff --git a/specification/network/resource-manager/Microsoft.Network/stable/2020-03-01/examples/SecurityPartnerProviderListByResourceGroup.json b/specification/network/resource-manager/Microsoft.Network/stable/2020-03-01/examples/SecurityPartnerProviderListByResourceGroup.json new file mode 100644 index 000000000000..615a611ae762 --- /dev/null +++ b/specification/network/resource-manager/Microsoft.Network/stable/2020-03-01/examples/SecurityPartnerProviderListByResourceGroup.json @@ -0,0 +1,33 @@ +{ + "parameters": { + "api-version": "2019-11-01", + "subscriptionId": "subid", + "resourceGroupName": "rg1" + }, + "responses": { + "200": { + "body": { + "value": [ + { + "name": "securityPartnerProvider", + "id": "/subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/securityPartnerProviders/securityPartnerProvider", + "type": "Microsoft.Network/securityPartnerProviders", + "etag": "w/\\00000000-0000-0000-0000-000000000000\\", + "location": "West US", + "tags": { + "key1": "value1" + }, + "properties": { + "provisioningState": "Succeeded", + "securityProviderName": "ZScaler", + "connectionStatus": "Unknown", + "virtualHub": { + "id": "/subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/virtualHubs/hub1" + } + } + } + ] + } + } + } +} diff --git a/specification/network/resource-manager/Microsoft.Network/stable/2020-03-01/examples/SecurityPartnerProviderListBySubscription.json b/specification/network/resource-manager/Microsoft.Network/stable/2020-03-01/examples/SecurityPartnerProviderListBySubscription.json new file mode 100644 index 000000000000..d2fb37d7bd8c --- /dev/null +++ b/specification/network/resource-manager/Microsoft.Network/stable/2020-03-01/examples/SecurityPartnerProviderListBySubscription.json @@ -0,0 +1,33 @@ +{ + "parameters": { + "api-version": "2019-11-01", + "subscriptionId": "subid" + }, + "responses": { + "200": { + "body": { + "value": [ + { + "name": "securityPartnerProvider", + "id": "/subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/securityPartnerProviders/securityPartnerProvider", + "type": "Microsoft.Network/securityPartnerProviders", + "etag": "w/\\00000000-0000-0000-0000-000000000000\\", + "location": "West US", + "zones": [], + "tags": { + "key1": "value1" + }, + "properties": { + "provisioningState": "Succeeded", + "securityProviderName": "ZScaler", + "connectionStatus": "Unknown", + "virtualHub": { + "id": "/subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/virtualHubs/hub1" + } + } + } + ] + } + } + } +} diff --git a/specification/network/resource-manager/Microsoft.Network/stable/2020-03-01/examples/SecurityPartnerProviderPut.json b/specification/network/resource-manager/Microsoft.Network/stable/2020-03-01/examples/SecurityPartnerProviderPut.json new file mode 100644 index 000000000000..58aabdc9e962 --- /dev/null +++ b/specification/network/resource-manager/Microsoft.Network/stable/2020-03-01/examples/SecurityPartnerProviderPut.json @@ -0,0 +1,61 @@ +{ + "parameters": { + "api-version": "2019-11-01", + "subscriptionId": "subid", + "resourceGroupName": "rg1", + "securityPartnerProviderName": "securityPartnerProvider", + "parameters": { + "tags": { + "key1": "value1" + }, + "location": "West US", + "properties": { + "securityProviderName": "ZScaler", + "virtualHub": { + "id": "/subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/virtualHubs/hub1" + } + } + } + }, + "responses": { + "200": { + "body": { + "name": "securityPartnerProvider", + "id": "/subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/securityPartnerProviders/securityPartnerProvider", + "type": "Microsoft.Network/securityPartnerProviders", + "etag": "w/\\00000000-0000-0000-0000-000000000000\\", + "location": "West US", + "zones": [], + "tags": { + "key1": "value1" + }, + "properties": { + "provisioningState": "Succeeded", + "securityProviderName": "ZScaler", + "virtualHub": { + "id": "/subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/virtualHubs/hub1" + } + } + } + }, + "201": { + "body": { + "name": "securityPartnerProvider", + "id": "/subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/securityPartnerProviders/securityPartnerProvider", + "type": "Microsoft.Network/securityPartnerProviders", + "etag": "w/\\00000000-0000-0000-0000-000000000000\\", + "location": "West US", + "tags": { + "key1": "value1" + }, + "properties": { + "provisioningState": "Succeeded", + "securityProviderName": "ZScaler", + "virtualHub": { + "id": "/subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/virtualHubs/hub1" + } + } + } + } + } +} diff --git a/specification/network/resource-manager/Microsoft.Network/stable/2020-03-01/examples/SecurityPartnerProviderUpdateTags.json b/specification/network/resource-manager/Microsoft.Network/stable/2020-03-01/examples/SecurityPartnerProviderUpdateTags.json new file mode 100644 index 000000000000..7483c3080b1d --- /dev/null +++ b/specification/network/resource-manager/Microsoft.Network/stable/2020-03-01/examples/SecurityPartnerProviderUpdateTags.json @@ -0,0 +1,32 @@ +{ + "parameters": { + "api-version": "2019-11-01", + "subscriptionId": "subid", + "resourceGroupName": "rg1", + "securityPartnerProviderName": "securityPartnerProvider", + "parameters": { + "tags": { + "tag1": "value1", + "tag2": "value2" + } + } + }, + "responses": { + "200": { + "body": { + "name": "fw1", + "id": "/subscriptions/subid/resourceGroups/azfwtest/providers/Microsoft.Network/securityPartnerProviders/securityPartnerProvider", + "type": "Microsoft.Network/securityPartnerProviders", + "location": "brazilsouth", + "tags": { + "tag1": "value1", + "tag2": "value2" + }, + "properties": { + "provisioningState": "Succeeded", + "securityProviderName": "ZScaler" + } + } + } + } +} diff --git a/specification/network/resource-manager/Microsoft.Network/stable/2020-03-01/securityPartnerProvider.json b/specification/network/resource-manager/Microsoft.Network/stable/2020-03-01/securityPartnerProvider.json new file mode 100644 index 000000000000..f652503f7318 --- /dev/null +++ b/specification/network/resource-manager/Microsoft.Network/stable/2020-03-01/securityPartnerProvider.json @@ -0,0 +1,424 @@ +{ + "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-03-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.Network/securityPartnerProviders/{securityPartnerProviderName}": { + "delete": { + "tags": [ + "securityPartnerProviders" + ], + "operationId": "securityPartnerProviders_Delete", + "description": "Deletes the specified Security Partner Provider.", + "parameters": [ + { + "name": "resourceGroupName", + "in": "path", + "required": true, + "type": "string", + "description": "The name of the resource group." + }, + { + "name": "securityPartnerProviderName", + "in": "path", + "required": true, + "type": "string", + "description": "The name of the Security Partner Provider." + }, + { + "$ref": "./network.json#/parameters/ApiVersionParameter" + }, + { + "$ref": "./network.json#/parameters/SubscriptionIdParameter" + } + ], + "responses": { + "202": { + "description": "Accepted and the operation will complete asynchronously." + }, + "204": { + "description": "Request successful. Resource with the specified name does not exist." + }, + "200": { + "description": "Delete successful." + }, + "default": { + "description": "Error response describing why the operation failed.", + "schema": { + "$ref": "./network.json#/definitions/CloudError" + } + } + }, + "x-ms-examples": { + "Delete Security Partner Provider": { + "$ref": "./examples/SecurityPartnerProviderDelete.json" + } + }, + "x-ms-long-running-operation": true, + "x-ms-long-running-operation-options": { + "final-state-via": "location" + } + }, + "get": { + "tags": [ + "securityPartnerProviders" + ], + "operationId": "securityPartnerProviders_Get", + "description": "Gets the specified Security Partner Provider.", + "parameters": [ + { + "name": "resourceGroupName", + "in": "path", + "required": true, + "type": "string", + "description": "The name of the resource group." + }, + { + "name": "securityPartnerProviderName", + "in": "path", + "required": true, + "type": "string", + "description": "The name of the Security Partner Provider." + }, + { + "$ref": "./network.json#/parameters/ApiVersionParameter" + }, + { + "$ref": "./network.json#/parameters/SubscriptionIdParameter" + } + ], + "responses": { + "200": { + "description": "Request successful. The operation returns a SecurityPartnerProvider resource.", + "schema": { + "$ref": "#/definitions/SecurityPartnerProvider" + } + }, + "default": { + "description": "Error response describing why the operation failed.", + "schema": { + "$ref": "./network.json#/definitions/CloudError" + } + } + }, + "x-ms-examples": { + "Get Security Partner Provider": { + "$ref": "./examples/SecurityPartnerProviderGet.json" + } + } + }, + "put": { + "tags": [ + "securityPartnerProviders" + ], + "operationId": "securityPartnerProviders_CreateOrUpdate", + "description": "Creates or updates the specified Security Partner Provider.", + "parameters": [ + { + "name": "resourceGroupName", + "in": "path", + "required": true, + "type": "string", + "description": "The name of the resource group." + }, + { + "name": "securityPartnerProviderName", + "in": "path", + "required": true, + "type": "string", + "description": "The name of the Security Partner Provider." + }, + { + "name": "parameters", + "in": "body", + "required": true, + "schema": { + "$ref": "#/definitions/SecurityPartnerProvider" + }, + "description": "Parameters supplied to the create or update Security Partner Provider operation." + }, + { + "$ref": "./network.json#/parameters/ApiVersionParameter" + }, + { + "$ref": "./network.json#/parameters/SubscriptionIdParameter" + } + ], + "responses": { + "201": { + "description": "Create successful. The operation returns the resulting SecurityPartnerProvider resource.", + "schema": { + "$ref": "#/definitions/SecurityPartnerProvider" + } + }, + "200": { + "description": "Update successful. The operation returns the resulting SecurityPartnerProvider resource.", + "schema": { + "$ref": "#/definitions/SecurityPartnerProvider" + } + }, + "default": { + "description": "Error response describing why the operation failed.", + "schema": { + "$ref": "./network.json#/definitions/CloudError" + } + } + }, + "x-ms-examples": { + "Create Security Partner Provider": { + "$ref": "./examples/SecurityPartnerProviderPut.json" + } + }, + "x-ms-long-running-operation": true, + "x-ms-long-running-operation-options": { + "final-state-via": "azure-async-operation" + } + }, + "patch": { + "tags": [ + "securityPartnerProviders" + ], + "operationId": "securityPartnerProviders_UpdateTags", + "description": "Updates tags of a Security Partner Provider resource.", + "parameters": [ + { + "name": "resourceGroupName", + "in": "path", + "required": true, + "type": "string", + "description": "The name of the resource group." + }, + { + "name": "securityPartnerProviderName", + "in": "path", + "required": true, + "type": "string", + "description": "The name of the Security Partner Provider." + }, + { + "name": "parameters", + "in": "body", + "required": true, + "schema": { + "$ref": "./network.json#/definitions/TagsObject" + }, + "description": "Parameters supplied to update Security Partner Provider tags." + }, + { + "$ref": "./network.json#/parameters/ApiVersionParameter" + }, + { + "$ref": "./network.json#/parameters/SubscriptionIdParameter" + } + ], + "responses": { + "200": { + "description": "Update successful. The operation returns the resulting SecurityPartnerProvider resource.", + "schema": { + "$ref": "#/definitions/SecurityPartnerProvider" + } + }, + "default": { + "description": "Error response describing why the operation failed.", + "schema": { + "$ref": "./network.json#/definitions/CloudError" + } + } + }, + "x-ms-examples": { + "Update Security Partner Provider Tags": { + "$ref": "./examples/SecurityPartnerProviderUpdateTags.json" + } + } + } + }, + "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Network/securityPartnerProviders": { + "get": { + "tags": [ + "securityPartnerProviders" + ], + "operationId": "securityPartnerProviders_List", + "description": "Lists all Security Partner Providers in a resource group.", + "parameters": [ + { + "name": "resourceGroupName", + "in": "path", + "required": true, + "type": "string", + "description": "The name of the resource group." + }, + { + "$ref": "./network.json#/parameters/ApiVersionParameter" + }, + { + "$ref": "./network.json#/parameters/SubscriptionIdParameter" + } + ], + "responses": { + "200": { + "description": "Success. The operation returns a list of SecurityPartnerProvider resources.", + "schema": { + "$ref": "#/definitions/SecurityPartnerProviderListResult" + } + }, + "default": { + "description": "Error response describing why the operation failed.", + "schema": { + "$ref": "./network.json#/definitions/CloudError" + } + } + }, + "x-ms-examples": { + "List all Security Partner Providers for a given resource group": { + "$ref": "./examples/SecurityPartnerProviderListByResourceGroup.json" + } + }, + "x-ms-pageable": { + "nextLinkName": "nextLink" + } + } + }, + "/subscriptions/{subscriptionId}/providers/Microsoft.Network/securityPartnerProviders": { + "get": { + "tags": [ + "securityPartnerProviders" + ], + "operationId": "securityPartnerProviders_ListAll", + "description": "Gets all the Security Partner Providers in a subscription.", + "parameters": [ + { + "$ref": "./network.json#/parameters/ApiVersionParameter" + }, + { + "$ref": "./network.json#/parameters/SubscriptionIdParameter" + } + ], + "responses": { + "200": { + "description": "Success. The operation returns a list of SecurityPartnerProvider resources.", + "schema": { + "$ref": "#/definitions/SecurityPartnerProviderListResult" + } + }, + "default": { + "description": "Error response describing why the operation failed.", + "schema": { + "$ref": "./network.json#/definitions/CloudError" + } + } + }, + "x-ms-examples": { + "List all Security Partner Providers for a given subscription": { + "$ref": "./examples/SecurityPartnerProviderListBySubscription.json" + } + }, + "x-ms-pageable": { + "nextLinkName": "nextLink" + } + } + } + }, + "definitions": { + "SecurityPartnerProviderPropertiesFormat": { + "properties": { + "provisioningState": { + "readOnly": true, + "$ref": "./network.json#/definitions/ProvisioningState", + "description": "The provisioning state of the Security Partner Provider resource." + }, + "securityProviderName": { + "description": "The security provider name", + "$ref": "#/definitions/securityPartnerProvidersecurityProviderName" + }, + "connectionStatus": { + "readOnly": true, + "description": "The connection status with the Security Partner Provider.", + "$ref": "#/definitions/SecurityPartnerProviderConnectionStatus" + }, + "virtualHub": { + "$ref": "./network.json#/definitions/SubResource", + "description": "The virtualHub to which the Security Partner Provider belongs." + } + }, + "description": "Properties of the Security Partner Provider." + }, + "SecurityPartnerProvider": { + "properties": { + "properties": { + "x-ms-client-flatten": true, + "$ref": "#/definitions/SecurityPartnerProviderPropertiesFormat", + "description": "Properties of the Security Partner Provider." + }, + "etag": { + "type": "string", + "readOnly": true, + "description": "A unique read-only string that changes whenever the resource is updated." + } + }, + "allOf": [ + { + "$ref": "./network.json#/definitions/Resource" + } + ], + "description": "Security Partner Provider resource." + }, + "securityPartnerProvidersecurityProviderName": { + "type": "string", + "description": "The Security Providers.", + "enum": [ + "ZScaler", + "IBoss" + ], + "x-ms-enum": { + "name": "SecurityProviderName", + "modelAsString": true + } + }, + "SecurityPartnerProviderConnectionStatus": { + "type": "string", + "description": "The current state of the connection with Security Partner Provider.", + "readOnly": true, + "enum": [ + "Unknown", + "PartiallyConnected", + "Connected", + "NotConnected" + ], + "x-ms-enum": { + "name": "ConnectionStatus", + "modelAsString": true + } + } + } +} diff --git a/specification/network/resource-manager/Microsoft.Network/stable/2020-03-01/virtualWan.json b/specification/network/resource-manager/Microsoft.Network/stable/2020-03-01/virtualWan.json index dccdc42d196c..20bc09f46bbb 100644 --- a/specification/network/resource-manager/Microsoft.Network/stable/2020-03-01/virtualWan.json +++ b/specification/network/resource-manager/Microsoft.Network/stable/2020-03-01/virtualWan.json @@ -3438,6 +3438,10 @@ "$ref": "./network.json#/definitions/SubResource", "description": "The azureFirewall associated with this VirtualHub." }, + "securityPartnerProvider": { + "$ref": "./network.json#/definitions/SubResource", + "description": "The securityPartnerProvider associated with this VirtualHub." + }, "virtualNetworkConnections": { "type": "array", "description": "List of all vnet connections with this VirtualHub.", From b5b8b1fde30270b25fe184c65717aefa15693780 Mon Sep 17 00:00:00 2001 From: Ishani Gupta Date: Mon, 16 Mar 2020 11:13:47 -0700 Subject: [PATCH 02/12] Adding securityPartnerProvider resource : 2 --- .../2020-03-01/examples/SecurityPartnerProviderDelete.json | 2 +- .../stable/2020-03-01/examples/SecurityPartnerProviderGet.json | 2 +- .../examples/SecurityPartnerProviderListByResourceGroup.json | 2 +- .../examples/SecurityPartnerProviderListBySubscription.json | 2 +- .../stable/2020-03-01/examples/SecurityPartnerProviderPut.json | 2 +- .../2020-03-01/examples/SecurityPartnerProviderUpdateTags.json | 2 +- 6 files changed, 6 insertions(+), 6 deletions(-) diff --git a/specification/network/resource-manager/Microsoft.Network/stable/2020-03-01/examples/SecurityPartnerProviderDelete.json b/specification/network/resource-manager/Microsoft.Network/stable/2020-03-01/examples/SecurityPartnerProviderDelete.json index 3e922a79f7e5..83aaae089306 100644 --- a/specification/network/resource-manager/Microsoft.Network/stable/2020-03-01/examples/SecurityPartnerProviderDelete.json +++ b/specification/network/resource-manager/Microsoft.Network/stable/2020-03-01/examples/SecurityPartnerProviderDelete.json @@ -1,6 +1,6 @@ { "parameters": { - "api-version": "2019-11-01", + "api-version": "2020-03-01", "subscriptionId": "subid", "resourceGroupName": "rg1", "securityPartnerProviderName": "securityPartnerProvider" diff --git a/specification/network/resource-manager/Microsoft.Network/stable/2020-03-01/examples/SecurityPartnerProviderGet.json b/specification/network/resource-manager/Microsoft.Network/stable/2020-03-01/examples/SecurityPartnerProviderGet.json index 7f4c15257e16..90da5df98ca2 100644 --- a/specification/network/resource-manager/Microsoft.Network/stable/2020-03-01/examples/SecurityPartnerProviderGet.json +++ b/specification/network/resource-manager/Microsoft.Network/stable/2020-03-01/examples/SecurityPartnerProviderGet.json @@ -1,6 +1,6 @@ { "parameters": { - "api-version": "2019-11-01", + "api-version": "2020-03-01", "subscriptionId": "subid", "resourceGroupName": "rg1", "securityPartnerProviderName": "securityPartnerProvider" diff --git a/specification/network/resource-manager/Microsoft.Network/stable/2020-03-01/examples/SecurityPartnerProviderListByResourceGroup.json b/specification/network/resource-manager/Microsoft.Network/stable/2020-03-01/examples/SecurityPartnerProviderListByResourceGroup.json index 615a611ae762..719331a51cd1 100644 --- a/specification/network/resource-manager/Microsoft.Network/stable/2020-03-01/examples/SecurityPartnerProviderListByResourceGroup.json +++ b/specification/network/resource-manager/Microsoft.Network/stable/2020-03-01/examples/SecurityPartnerProviderListByResourceGroup.json @@ -1,6 +1,6 @@ { "parameters": { - "api-version": "2019-11-01", + "api-version": "2020-03-01", "subscriptionId": "subid", "resourceGroupName": "rg1" }, diff --git a/specification/network/resource-manager/Microsoft.Network/stable/2020-03-01/examples/SecurityPartnerProviderListBySubscription.json b/specification/network/resource-manager/Microsoft.Network/stable/2020-03-01/examples/SecurityPartnerProviderListBySubscription.json index d2fb37d7bd8c..336c86bdf7c8 100644 --- a/specification/network/resource-manager/Microsoft.Network/stable/2020-03-01/examples/SecurityPartnerProviderListBySubscription.json +++ b/specification/network/resource-manager/Microsoft.Network/stable/2020-03-01/examples/SecurityPartnerProviderListBySubscription.json @@ -1,6 +1,6 @@ { "parameters": { - "api-version": "2019-11-01", + "api-version": "2020-03-01", "subscriptionId": "subid" }, "responses": { diff --git a/specification/network/resource-manager/Microsoft.Network/stable/2020-03-01/examples/SecurityPartnerProviderPut.json b/specification/network/resource-manager/Microsoft.Network/stable/2020-03-01/examples/SecurityPartnerProviderPut.json index 58aabdc9e962..93930c013075 100644 --- a/specification/network/resource-manager/Microsoft.Network/stable/2020-03-01/examples/SecurityPartnerProviderPut.json +++ b/specification/network/resource-manager/Microsoft.Network/stable/2020-03-01/examples/SecurityPartnerProviderPut.json @@ -1,6 +1,6 @@ { "parameters": { - "api-version": "2019-11-01", + "api-version": "2020-03-01", "subscriptionId": "subid", "resourceGroupName": "rg1", "securityPartnerProviderName": "securityPartnerProvider", diff --git a/specification/network/resource-manager/Microsoft.Network/stable/2020-03-01/examples/SecurityPartnerProviderUpdateTags.json b/specification/network/resource-manager/Microsoft.Network/stable/2020-03-01/examples/SecurityPartnerProviderUpdateTags.json index 7483c3080b1d..e88e0d7cd4f5 100644 --- a/specification/network/resource-manager/Microsoft.Network/stable/2020-03-01/examples/SecurityPartnerProviderUpdateTags.json +++ b/specification/network/resource-manager/Microsoft.Network/stable/2020-03-01/examples/SecurityPartnerProviderUpdateTags.json @@ -1,6 +1,6 @@ { "parameters": { - "api-version": "2019-11-01", + "api-version": "2020-03-01", "subscriptionId": "subid", "resourceGroupName": "rg1", "securityPartnerProviderName": "securityPartnerProvider", From 741145ce3f94f2f73c55e3f0febb57ea5255072e Mon Sep 17 00:00:00 2001 From: Ishani Gupta Date: Tue, 17 Mar 2020 16:24:21 -0700 Subject: [PATCH 03/12] Added Definition for SecurityPartnerProviderListResult --- .../2020-03-01/securityPartnerProvider.json | 20 +++++++++++++++++-- 1 file changed, 18 insertions(+), 2 deletions(-) diff --git a/specification/network/resource-manager/Microsoft.Network/stable/2020-03-01/securityPartnerProvider.json b/specification/network/resource-manager/Microsoft.Network/stable/2020-03-01/securityPartnerProvider.json index f652503f7318..5741e6e1082b 100644 --- a/specification/network/resource-manager/Microsoft.Network/stable/2020-03-01/securityPartnerProvider.json +++ b/specification/network/resource-manager/Microsoft.Network/stable/2020-03-01/securityPartnerProvider.json @@ -359,7 +359,7 @@ }, "securityProviderName": { "description": "The security provider name", - "$ref": "#/definitions/securityPartnerProvidersecurityProviderName" + "$ref": "#/definitions/SecurityPartnerProvidersecurityProviderName" }, "connectionStatus": { "readOnly": true, @@ -393,7 +393,23 @@ ], "description": "Security Partner Provider resource." }, - "securityPartnerProvidersecurityProviderName": { + "SecurityPartnerProviderListResult": { + "properties": { + "value": { + "type": "array", + "items": { + "$ref": "#/definitions/SecurityPartnerProvider" + }, + "description": "List of Security Partner Providers in a resource group." + }, + "nextLink": { + "type": "string", + "description": "URL to get the next set of results." + } + }, + "description": "Response for ListSecurityPartnerProviders API service call." + }, + "SecurityPartnerProvidersecurityProviderName": { "type": "string", "description": "The Security Providers.", "enum": [ From f93db1472a5a1e9bff0338434f4daa2053f2ec0d Mon Sep 17 00:00:00 2001 From: Ishani Gupta Date: Wed, 18 Mar 2020 01:36:48 -0700 Subject: [PATCH 04/12] Updated Readme.md with securityPartnerProvider --- specification/network/resource-manager/readme.md | 1 + 1 file changed, 1 insertion(+) diff --git a/specification/network/resource-manager/readme.md b/specification/network/resource-manager/readme.md index 740e0ff12c15..039074e554bb 100644 --- a/specification/network/resource-manager/readme.md +++ b/specification/network/resource-manager/readme.md @@ -70,6 +70,7 @@ input-file: - Microsoft.Network/stable/2020-03-01/publicIpPrefix.json - Microsoft.Network/stable/2020-03-01/routeFilter.json - Microsoft.Network/stable/2020-03-01/routeTable.json + - Microsoft.Network/stable/2020-03-01/securityPartnerProvider.json - Microsoft.Network/stable/2020-03-01/serviceCommunity.json - Microsoft.Network/stable/2020-03-01/serviceEndpointPolicy.json - Microsoft.Network/stable/2020-03-01/serviceTags.json From 249022a6009896d79f398de71ee871ecaccd8312 Mon Sep 17 00:00:00 2001 From: Ishani Gupta Date: Wed, 18 Mar 2020 18:17:11 -0700 Subject: [PATCH 05/12] fixing zone.. --- .../examples/SecurityPartnerProviderListBySubscription.json | 1 - .../stable/2020-03-01/examples/SecurityPartnerProviderPut.json | 1 - 2 files changed, 2 deletions(-) diff --git a/specification/network/resource-manager/Microsoft.Network/stable/2020-03-01/examples/SecurityPartnerProviderListBySubscription.json b/specification/network/resource-manager/Microsoft.Network/stable/2020-03-01/examples/SecurityPartnerProviderListBySubscription.json index 336c86bdf7c8..90bf73e3d441 100644 --- a/specification/network/resource-manager/Microsoft.Network/stable/2020-03-01/examples/SecurityPartnerProviderListBySubscription.json +++ b/specification/network/resource-manager/Microsoft.Network/stable/2020-03-01/examples/SecurityPartnerProviderListBySubscription.json @@ -13,7 +13,6 @@ "type": "Microsoft.Network/securityPartnerProviders", "etag": "w/\\00000000-0000-0000-0000-000000000000\\", "location": "West US", - "zones": [], "tags": { "key1": "value1" }, diff --git a/specification/network/resource-manager/Microsoft.Network/stable/2020-03-01/examples/SecurityPartnerProviderPut.json b/specification/network/resource-manager/Microsoft.Network/stable/2020-03-01/examples/SecurityPartnerProviderPut.json index 93930c013075..52a13b32f2ff 100644 --- a/specification/network/resource-manager/Microsoft.Network/stable/2020-03-01/examples/SecurityPartnerProviderPut.json +++ b/specification/network/resource-manager/Microsoft.Network/stable/2020-03-01/examples/SecurityPartnerProviderPut.json @@ -25,7 +25,6 @@ "type": "Microsoft.Network/securityPartnerProviders", "etag": "w/\\00000000-0000-0000-0000-000000000000\\", "location": "West US", - "zones": [], "tags": { "key1": "value1" }, From fea2b1868a754e37d97f4336206bd8fbf8b45941 Mon Sep 17 00:00:00 2001 From: Ishani Gupta Date: Wed, 18 Mar 2020 18:28:58 -0700 Subject: [PATCH 06/12] Fixing using Prettier --- .../2020-03-01/examples/SecurityPartnerProviderGet.json | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/specification/network/resource-manager/Microsoft.Network/stable/2020-03-01/examples/SecurityPartnerProviderGet.json b/specification/network/resource-manager/Microsoft.Network/stable/2020-03-01/examples/SecurityPartnerProviderGet.json index 90da5df98ca2..bae4b1ed2164 100644 --- a/specification/network/resource-manager/Microsoft.Network/stable/2020-03-01/examples/SecurityPartnerProviderGet.json +++ b/specification/network/resource-manager/Microsoft.Network/stable/2020-03-01/examples/SecurityPartnerProviderGet.json @@ -21,8 +21,8 @@ "securityProviderName": "ZScaler", "connectionStatus": "Unknown", "virtualHub": { - "id": "/subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/virtualHubs/hub1" - } + "id": "/subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/virtualHubs/hub1" + } } } } From 00ed6432d1dca4f17cd03317203cd1ef924670eb Mon Sep 17 00:00:00 2001 From: Ishani Gupta Date: Wed, 18 Mar 2020 19:02:43 -0700 Subject: [PATCH 07/12] desc fix --- .../stable/2020-03-01/securityPartnerProvider.json | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) diff --git a/specification/network/resource-manager/Microsoft.Network/stable/2020-03-01/securityPartnerProvider.json b/specification/network/resource-manager/Microsoft.Network/stable/2020-03-01/securityPartnerProvider.json index 5741e6e1082b..3035a765074d 100644 --- a/specification/network/resource-manager/Microsoft.Network/stable/2020-03-01/securityPartnerProvider.json +++ b/specification/network/resource-manager/Microsoft.Network/stable/2020-03-01/securityPartnerProvider.json @@ -358,7 +358,7 @@ "description": "The provisioning state of the Security Partner Provider resource." }, "securityProviderName": { - "description": "The security provider name", + "description": "The security provider name.", "$ref": "#/definitions/SecurityPartnerProvidersecurityProviderName" }, "connectionStatus": { @@ -414,7 +414,8 @@ "description": "The Security Providers.", "enum": [ "ZScaler", - "IBoss" + "IBoss", + "Checkpoint" ], "x-ms-enum": { "name": "SecurityProviderName", From 688b606534777a667ae11a363aea5f621f8c8b82 Mon Sep 17 00:00:00 2001 From: Ishani Gupta Date: Wed, 18 Mar 2020 23:43:27 -0700 Subject: [PATCH 08/12] Fixing enum conflict --- .../stable/2020-03-01/securityPartnerProvider.json | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/specification/network/resource-manager/Microsoft.Network/stable/2020-03-01/securityPartnerProvider.json b/specification/network/resource-manager/Microsoft.Network/stable/2020-03-01/securityPartnerProvider.json index 3035a765074d..37b43c97ec24 100644 --- a/specification/network/resource-manager/Microsoft.Network/stable/2020-03-01/securityPartnerProvider.json +++ b/specification/network/resource-manager/Microsoft.Network/stable/2020-03-01/securityPartnerProvider.json @@ -433,7 +433,7 @@ "NotConnected" ], "x-ms-enum": { - "name": "ConnectionStatus", + "name": "SecurityPartnerProviderConnectionStatus", "modelAsString": true } } From a54070715444de2d73a4d2a2f41b192c4e5d75f7 Mon Sep 17 00:00:00 2001 From: Ishani Gupta Date: Wed, 18 Mar 2020 23:47:20 -0700 Subject: [PATCH 09/12] RequiredPropertiesMissingInResourceModel Fix --- specification/network/resource-manager/readme.md | 3 +++ 1 file changed, 3 insertions(+) diff --git a/specification/network/resource-manager/readme.md b/specification/network/resource-manager/readme.md index 039074e554bb..13fc2851c33f 100644 --- a/specification/network/resource-manager/readme.md +++ b/specification/network/resource-manager/readme.md @@ -1321,6 +1321,9 @@ directive: - suppress: RequiredPropertiesMissingInResourceModel from: routeTable.json reason: name, id and type properties are inherited from the upper level + - suppress: RequiredPropertiesMissingInResourceModel + from: securityPartnerProvider.json + reason: name, id and type properties are inherited from the upper level - suppress: RequiredPropertiesMissingInResourceModel from: serviceCommunity.json reason: name, id and type properties are inherited from the upper level From aacdae26909c7d1935da4956fba31352145be7de Mon Sep 17 00:00:00 2001 From: Ishani Gupta Date: Thu, 19 Mar 2020 13:17:40 -0700 Subject: [PATCH 10/12] capitalizing alphabets --- .../stable/2020-03-01/securityPartnerProvider.json | 12 ++++++------ 1 file changed, 6 insertions(+), 6 deletions(-) diff --git a/specification/network/resource-manager/Microsoft.Network/stable/2020-03-01/securityPartnerProvider.json b/specification/network/resource-manager/Microsoft.Network/stable/2020-03-01/securityPartnerProvider.json index 37b43c97ec24..848bb3c7d15d 100644 --- a/specification/network/resource-manager/Microsoft.Network/stable/2020-03-01/securityPartnerProvider.json +++ b/specification/network/resource-manager/Microsoft.Network/stable/2020-03-01/securityPartnerProvider.json @@ -39,7 +39,7 @@ "tags": [ "securityPartnerProviders" ], - "operationId": "securityPartnerProviders_Delete", + "operationId": "SecurityPartnerProviders_Delete", "description": "Deletes the specified Security Partner Provider.", "parameters": [ { @@ -94,7 +94,7 @@ "tags": [ "securityPartnerProviders" ], - "operationId": "securityPartnerProviders_Get", + "operationId": "SecurityPartnerProviders_Get", "description": "Gets the specified Security Partner Provider.", "parameters": [ { @@ -142,7 +142,7 @@ "tags": [ "securityPartnerProviders" ], - "operationId": "securityPartnerProviders_CreateOrUpdate", + "operationId": "SecurityPartnerProviders_CreateOrUpdate", "description": "Creates or updates the specified Security Partner Provider.", "parameters": [ { @@ -209,7 +209,7 @@ "tags": [ "securityPartnerProviders" ], - "operationId": "securityPartnerProviders_UpdateTags", + "operationId": "SecurityPartnerProviders_UpdateTags", "description": "Updates tags of a Security Partner Provider resource.", "parameters": [ { @@ -268,7 +268,7 @@ "tags": [ "securityPartnerProviders" ], - "operationId": "securityPartnerProviders_List", + "operationId": "SecurityPartnerProviders_List", "description": "Lists all Security Partner Providers in a resource group.", "parameters": [ { @@ -314,7 +314,7 @@ "tags": [ "securityPartnerProviders" ], - "operationId": "securityPartnerProviders_ListAll", + "operationId": "SecurityPartnerProviders_ListAll", "description": "Gets all the Security Partner Providers in a subscription.", "parameters": [ { From 9a603eefa9a6a91014780389ab590d318b8d4ffc Mon Sep 17 00:00:00 2001 From: Ishani Gupta Date: Thu, 19 Mar 2020 13:19:10 -0700 Subject: [PATCH 11/12] renaming list/listall --- .../stable/2020-03-01/securityPartnerProvider.json | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/specification/network/resource-manager/Microsoft.Network/stable/2020-03-01/securityPartnerProvider.json b/specification/network/resource-manager/Microsoft.Network/stable/2020-03-01/securityPartnerProvider.json index 848bb3c7d15d..fc5d81a5f329 100644 --- a/specification/network/resource-manager/Microsoft.Network/stable/2020-03-01/securityPartnerProvider.json +++ b/specification/network/resource-manager/Microsoft.Network/stable/2020-03-01/securityPartnerProvider.json @@ -268,7 +268,7 @@ "tags": [ "securityPartnerProviders" ], - "operationId": "SecurityPartnerProviders_List", + "operationId": "SecurityPartnerProviders_ListByResourceGroup", "description": "Lists all Security Partner Providers in a resource group.", "parameters": [ { @@ -314,7 +314,7 @@ "tags": [ "securityPartnerProviders" ], - "operationId": "SecurityPartnerProviders_ListAll", + "operationId": "SecurityPartnerProviders_List", "description": "Gets all the Security Partner Providers in a subscription.", "parameters": [ { From a5e15d03a05fbb80fc691e6ce2e488863352fefa Mon Sep 17 00:00:00 2001 From: Ishani Gupta Date: Fri, 20 Mar 2020 09:56:23 -0700 Subject: [PATCH 12/12] Updated Tags to Caps --- .../stable/2020-03-01/securityPartnerProvider.json | 12 ++++++------ 1 file changed, 6 insertions(+), 6 deletions(-) diff --git a/specification/network/resource-manager/Microsoft.Network/stable/2020-03-01/securityPartnerProvider.json b/specification/network/resource-manager/Microsoft.Network/stable/2020-03-01/securityPartnerProvider.json index fc5d81a5f329..b502ae0724c0 100644 --- a/specification/network/resource-manager/Microsoft.Network/stable/2020-03-01/securityPartnerProvider.json +++ b/specification/network/resource-manager/Microsoft.Network/stable/2020-03-01/securityPartnerProvider.json @@ -37,7 +37,7 @@ "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Network/securityPartnerProviders/{securityPartnerProviderName}": { "delete": { "tags": [ - "securityPartnerProviders" + "SecurityPartnerProviders" ], "operationId": "SecurityPartnerProviders_Delete", "description": "Deletes the specified Security Partner Provider.", @@ -92,7 +92,7 @@ }, "get": { "tags": [ - "securityPartnerProviders" + "SecurityPartnerProviders" ], "operationId": "SecurityPartnerProviders_Get", "description": "Gets the specified Security Partner Provider.", @@ -140,7 +140,7 @@ }, "put": { "tags": [ - "securityPartnerProviders" + "SecurityPartnerProviders" ], "operationId": "SecurityPartnerProviders_CreateOrUpdate", "description": "Creates or updates the specified Security Partner Provider.", @@ -207,7 +207,7 @@ }, "patch": { "tags": [ - "securityPartnerProviders" + "SecurityPartnerProviders" ], "operationId": "SecurityPartnerProviders_UpdateTags", "description": "Updates tags of a Security Partner Provider resource.", @@ -266,7 +266,7 @@ "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Network/securityPartnerProviders": { "get": { "tags": [ - "securityPartnerProviders" + "SecurityPartnerProviders" ], "operationId": "SecurityPartnerProviders_ListByResourceGroup", "description": "Lists all Security Partner Providers in a resource group.", @@ -312,7 +312,7 @@ "/subscriptions/{subscriptionId}/providers/Microsoft.Network/securityPartnerProviders": { "get": { "tags": [ - "securityPartnerProviders" + "SecurityPartnerProviders" ], "operationId": "SecurityPartnerProviders_List", "description": "Gets all the Security Partner Providers in a subscription.",