From 1823398c15fa748b05527cacbd7de034c8cd4906 Mon Sep 17 00:00:00 2001 From: Ping Zhu Date: Fri, 23 Jul 2021 12:00:23 -0700 Subject: [PATCH 1/7] copy latest version --- .../examples/FluidRelayServerOperations.json | 44 ++ .../FluidRelayServers_CreateOrUpdate.json | 36 + .../examples/FluidRelayServers_Delete.json | 12 + .../examples/FluidRelayServers_Get.json | 30 + .../examples/FluidRelayServers_GetKeys.json | 16 + ...FluidRelayServers_ListByResourceGroup.json | 34 + .../FluidRelayServers_ListBySubscription.json | 33 + .../FluidRelayServers_RegenerateKeys.json | 19 + .../examples/FluidRelayServers_Update.json | 38 + .../2021-06-15-preview/fluidrelay.json | 718 ++++++++++++++++++ 10 files changed, 980 insertions(+) create mode 100644 specification/fluidrelay/resource-manager/Microsoft.FluidRelay/preview/2021-06-15-preview/examples/FluidRelayServerOperations.json create mode 100644 specification/fluidrelay/resource-manager/Microsoft.FluidRelay/preview/2021-06-15-preview/examples/FluidRelayServers_CreateOrUpdate.json create mode 100644 specification/fluidrelay/resource-manager/Microsoft.FluidRelay/preview/2021-06-15-preview/examples/FluidRelayServers_Delete.json create mode 100644 specification/fluidrelay/resource-manager/Microsoft.FluidRelay/preview/2021-06-15-preview/examples/FluidRelayServers_Get.json create mode 100644 specification/fluidrelay/resource-manager/Microsoft.FluidRelay/preview/2021-06-15-preview/examples/FluidRelayServers_GetKeys.json create mode 100644 specification/fluidrelay/resource-manager/Microsoft.FluidRelay/preview/2021-06-15-preview/examples/FluidRelayServers_ListByResourceGroup.json create mode 100644 specification/fluidrelay/resource-manager/Microsoft.FluidRelay/preview/2021-06-15-preview/examples/FluidRelayServers_ListBySubscription.json create mode 100644 specification/fluidrelay/resource-manager/Microsoft.FluidRelay/preview/2021-06-15-preview/examples/FluidRelayServers_RegenerateKeys.json create mode 100644 specification/fluidrelay/resource-manager/Microsoft.FluidRelay/preview/2021-06-15-preview/examples/FluidRelayServers_Update.json create mode 100644 specification/fluidrelay/resource-manager/Microsoft.FluidRelay/preview/2021-06-15-preview/fluidrelay.json diff --git a/specification/fluidrelay/resource-manager/Microsoft.FluidRelay/preview/2021-06-15-preview/examples/FluidRelayServerOperations.json b/specification/fluidrelay/resource-manager/Microsoft.FluidRelay/preview/2021-06-15-preview/examples/FluidRelayServerOperations.json new file mode 100644 index 000000000000..641bd75a3f61 --- /dev/null +++ b/specification/fluidrelay/resource-manager/Microsoft.FluidRelay/preview/2021-06-15-preview/examples/FluidRelayServerOperations.json @@ -0,0 +1,44 @@ +{ + "parameters": { + "api-version": "2021-03-12-preview" + }, + "responses": { + "200": { + "body": { + "value": [ + { + "name": "Microsoft.FluidRelay/fluidRelayServers/Read", + "isDataAction": false, + "display": { + "provider": "Microsoft.FluidRelay", + "resource": "fluidRelayServers", + "operation": "Get/List fluid relay server resources", + "description": "Read fluid relay server" + } + }, + { + "name": "Microsoft.FluidRelay/fluidRelayServers/Write", + "isDataAction": false, + "display": { + "provider": "Microsoft.FluidRelay", + "resource": "fluidRelayServers", + "operation": "Create/Update fluid relay server resources", + "description": "Write fluid relay server" + } + }, + { + "name": "Microsoft.FluidRelay/fluidRelayServers/Delete", + "isDataAction": false, + "display": { + "provider": "Microsoft.FluidRelay", + "resource": "fluidRelayServers", + "operation": "Delete fluid relay server resources", + "description": "Delete fluid relay server" + } + } + ], + "nextLink": null + } + } + } +} diff --git a/specification/fluidrelay/resource-manager/Microsoft.FluidRelay/preview/2021-06-15-preview/examples/FluidRelayServers_CreateOrUpdate.json b/specification/fluidrelay/resource-manager/Microsoft.FluidRelay/preview/2021-06-15-preview/examples/FluidRelayServers_CreateOrUpdate.json new file mode 100644 index 000000000000..57593977cfb2 --- /dev/null +++ b/specification/fluidrelay/resource-manager/Microsoft.FluidRelay/preview/2021-06-15-preview/examples/FluidRelayServers_CreateOrUpdate.json @@ -0,0 +1,36 @@ +{ + "parameters": { + "subscriptionId": "xxxx-xxxx-xxxx-xxxx", + "resourceGroup": "myResourceGroup", + "name": "myFluidRelayServer", + "api-version": "2021-03-12", + "resource": { + "location": "west-us", + "tags": { + "Category": "sales" + } + } + }, + "responses": { + "200": { + "body": { + "id": "/subscriptions/xxxx-xxxx-xxxx-xxxx/resourceGroups/myResourceGroup/Microsoft.FluidRelay/fluidRelayServers/myFluidRelayServer", + "name": "myFluidRelayServer", + "type": "Microsoft.FluidRelay/fluidRelayServers", + "location": "west-us", + "properties": { + "frsTenantId": "yyyy-yyyy-yyyyy-yyyy", + "fluidRelayEndpoints": { + "ordererEndpoints": [ + "https://www.contoso.org/orderer" + ], + "storageEndpoints": [ + "https://www.contoso.org/storage" + ] + }, + "provisioningState": "Succeeded" + } + } + } + } +} diff --git a/specification/fluidrelay/resource-manager/Microsoft.FluidRelay/preview/2021-06-15-preview/examples/FluidRelayServers_Delete.json b/specification/fluidrelay/resource-manager/Microsoft.FluidRelay/preview/2021-06-15-preview/examples/FluidRelayServers_Delete.json new file mode 100644 index 000000000000..00a2a0bc50a1 --- /dev/null +++ b/specification/fluidrelay/resource-manager/Microsoft.FluidRelay/preview/2021-06-15-preview/examples/FluidRelayServers_Delete.json @@ -0,0 +1,12 @@ +{ + "parameters": { + "subscriptionId": "xxxx-xxxx-xxxx-xxxx", + "resourceGroup": "myResourceGroup", + "name": "myFluidRelayServer", + "api-version": "2021-03-12" + }, + "responses": { + "200": {}, + "204": {} + } +} diff --git a/specification/fluidrelay/resource-manager/Microsoft.FluidRelay/preview/2021-06-15-preview/examples/FluidRelayServers_Get.json b/specification/fluidrelay/resource-manager/Microsoft.FluidRelay/preview/2021-06-15-preview/examples/FluidRelayServers_Get.json new file mode 100644 index 000000000000..1b5e124323de --- /dev/null +++ b/specification/fluidrelay/resource-manager/Microsoft.FluidRelay/preview/2021-06-15-preview/examples/FluidRelayServers_Get.json @@ -0,0 +1,30 @@ +{ + "parameters": { + "subscriptionId": "xxxx-xxxx-xxxx-xxxx", + "resourceGroup": "myResourceGroup", + "name": "myFluidRelayServer", + "api-version": "2021-03-12" + }, + "responses": { + "200": { + "body": { + "id": "/subscriptions/xxxx-xxxx-xxxx-xxxx/resourceGroups/myResourceGroup/Microsoft.FluidRelay/fluidRelayServers/myFluidRelayServer", + "name": "myFluidRelayServer", + "type": "Microsoft.FluidRelay/fluidRelayServers", + "location": "west-us", + "properties": { + "frsTenantId": "yyyy-yyyy-yyyyy-yyyy", + "fluidRelayEndpoints": { + "ordererEndpoints": [ + "https://www.contoso.org/orderer" + ], + "storageEndpoints": [ + "https://www.contoso.org/storage" + ] + }, + "provisioningState": "Succeeded" + } + } + } + } +} diff --git a/specification/fluidrelay/resource-manager/Microsoft.FluidRelay/preview/2021-06-15-preview/examples/FluidRelayServers_GetKeys.json b/specification/fluidrelay/resource-manager/Microsoft.FluidRelay/preview/2021-06-15-preview/examples/FluidRelayServers_GetKeys.json new file mode 100644 index 000000000000..56afddca2d2f --- /dev/null +++ b/specification/fluidrelay/resource-manager/Microsoft.FluidRelay/preview/2021-06-15-preview/examples/FluidRelayServers_GetKeys.json @@ -0,0 +1,16 @@ +{ + "parameters": { + "subscriptionId": "xxxx-xxxx-xxxx-xxxx", + "resourceGroup": "myResourceGroup", + "name": "myFluidRelayServer", + "api-version": "2021-03-12" + }, + "responses": { + "200": { + "body": { + "key1": "xxx-xxxx-xxxxx-xxxx", + "key2": "yyy-yyyy-yyyyy-yyyy" + } + } + } +} diff --git a/specification/fluidrelay/resource-manager/Microsoft.FluidRelay/preview/2021-06-15-preview/examples/FluidRelayServers_ListByResourceGroup.json b/specification/fluidrelay/resource-manager/Microsoft.FluidRelay/preview/2021-06-15-preview/examples/FluidRelayServers_ListByResourceGroup.json new file mode 100644 index 000000000000..66b93693ed9f --- /dev/null +++ b/specification/fluidrelay/resource-manager/Microsoft.FluidRelay/preview/2021-06-15-preview/examples/FluidRelayServers_ListByResourceGroup.json @@ -0,0 +1,34 @@ +{ + "parameters": { + "subscriptionId": "xxxx-xxxx-xxxx-xxxx", + "resourceGroup": "myResourceGroup", + "api-version": "2021-03-12" + }, + "responses": { + "200": { + "body": { + "value": [ + { + "id": "/subscriptions/xxxx-xxxx-xxxx-xxxx/resourceGroups/myResourceGroup/Microsoft.FluidRelay/fluidRelayServers/myFluidRelayServer", + "name": "myFluidRelayServer", + "type": "Microsoft.FluidRelay/fluidRelayServers", + "location": "west-us", + "properties": { + "frsTenantId": "yyyy-yyyy-yyyyy-yyyy", + "fluidRelayEndpoints": { + "ordererEndpoints": [ + "https://www.contoso.org/orderer" + ], + "storageEndpoints": [ + "https://www.contoso.org/storage" + ] + }, + "provisioningState": "Succeeded" + } + } + ], + "nextLink": "" + } + } + } +} diff --git a/specification/fluidrelay/resource-manager/Microsoft.FluidRelay/preview/2021-06-15-preview/examples/FluidRelayServers_ListBySubscription.json b/specification/fluidrelay/resource-manager/Microsoft.FluidRelay/preview/2021-06-15-preview/examples/FluidRelayServers_ListBySubscription.json new file mode 100644 index 000000000000..c9c6f17cef00 --- /dev/null +++ b/specification/fluidrelay/resource-manager/Microsoft.FluidRelay/preview/2021-06-15-preview/examples/FluidRelayServers_ListBySubscription.json @@ -0,0 +1,33 @@ +{ + "parameters": { + "subscriptionId": "xxxx-xxxx-xxxx-xxxx", + "api-version": "2021-03-12" + }, + "responses": { + "200": { + "body": { + "value": [ + { + "id": "/subscriptions/xxxx-xxxx-xxxx-xxxx/resourceGroups/myResourceGroup/Microsoft.FluidRelay/fluidRelayServers/myFluidRelayServer", + "name": "myFluidRelayServer", + "type": "Microsoft.FluidRelay/fluidRelayServers", + "location": "west-us", + "properties": { + "frsTenantId": "yyyy-yyyy-yyyyy-yyyy", + "fluidRelayEndpoints": { + "ordererEndpoints": [ + "https://www.contoso.org/orderer" + ], + "storageEndpoints": [ + "https://www.contoso.org/storage" + ] + }, + "provisioningState": "Succeeded" + } + } + ], + "nextLink": "" + } + } + } +} diff --git a/specification/fluidrelay/resource-manager/Microsoft.FluidRelay/preview/2021-06-15-preview/examples/FluidRelayServers_RegenerateKeys.json b/specification/fluidrelay/resource-manager/Microsoft.FluidRelay/preview/2021-06-15-preview/examples/FluidRelayServers_RegenerateKeys.json new file mode 100644 index 000000000000..9ebefbce902d --- /dev/null +++ b/specification/fluidrelay/resource-manager/Microsoft.FluidRelay/preview/2021-06-15-preview/examples/FluidRelayServers_RegenerateKeys.json @@ -0,0 +1,19 @@ +{ + "parameters": { + "subscriptionId": "xxxx-xxxx-xxxx-xxxx", + "resourceGroup": "myResourceGroup", + "name": "myFluidRelayServer", + "api-version": "2021-03-12", + "parameters": { + "keyName": "key1" + } + }, + "responses": { + "200": { + "body": { + "key1": "xxx-xxxx-xxxxx-xxxx", + "key2": "yyy-yyyy-yyyyy-yyyy" + } + } + } +} diff --git a/specification/fluidrelay/resource-manager/Microsoft.FluidRelay/preview/2021-06-15-preview/examples/FluidRelayServers_Update.json b/specification/fluidrelay/resource-manager/Microsoft.FluidRelay/preview/2021-06-15-preview/examples/FluidRelayServers_Update.json new file mode 100644 index 000000000000..5da7acddedd5 --- /dev/null +++ b/specification/fluidrelay/resource-manager/Microsoft.FluidRelay/preview/2021-06-15-preview/examples/FluidRelayServers_Update.json @@ -0,0 +1,38 @@ +{ + "parameters": { + "subscriptionId": "xxxx-xxxx-xxxx-xxxx", + "resourceGroup": "myResourceGroup", + "name": "myFluidRelayServer", + "api-version": "2021-03-12", + "resource": { + "tags": { + "Category": "sales" + } + } + }, + "responses": { + "200": { + "body": { + "id": "/subscriptions/xxxx-xxxx-xxxx-xxxx/resourceGroups/myResourceGroup/Microsoft.FluidRelay/fluidRelayServers/myFluidRelayServer", + "name": "myFluidRelayServer", + "type": "Microsoft.FluidRelay/fluidRelayServers", + "location": "west-us", + "properties": { + "frsTenantId": "yyyy-yyyy-yyyyy-yyyy", + "fluidRelayEndpoints": { + "ordererEndpoints": [ + "https://www.contoso.org/orderer" + ], + "storageEndpoints": [ + "https://www.contoso.org/storage" + ] + }, + "provisioningState": "Succeeded" + }, + "tags": { + "Category": "sales" + } + } + } + } +} diff --git a/specification/fluidrelay/resource-manager/Microsoft.FluidRelay/preview/2021-06-15-preview/fluidrelay.json b/specification/fluidrelay/resource-manager/Microsoft.FluidRelay/preview/2021-06-15-preview/fluidrelay.json new file mode 100644 index 000000000000..fe9779896abc --- /dev/null +++ b/specification/fluidrelay/resource-manager/Microsoft.FluidRelay/preview/2021-06-15-preview/fluidrelay.json @@ -0,0 +1,718 @@ +{ + "swagger": "2.0", + "info": { + "title": "Azure Fluid Relay", + "version": "2021-03-12-preview" + }, + "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": { + "/providers/Microsoft.FluidRelay/operations": { + "get": { + "tags": [ + "FluidRelayOperations" + ], + "summary": "List all operations provided by Microsoft.FluidRelay.", + "operationId": "FluidRelayOperations_List", + "x-ms-examples": { + "List Fluid Relay server operations": { + "$ref": "./examples/FluidRelayServerOperations.json" + } + }, + "parameters": [ + { + "$ref": "../../../../../common-types/resource-management/v2/types.json#/parameters/ApiVersionParameter" + } + ], + "responses": { + "200": { + "description": "Operation completed synchronously.", + "schema": { + "$ref": "#/definitions/OperationListResult" + } + }, + "default": { + "schema": { + "$ref": "../../../../../common-types/resource-management/v2/types.json#/definitions/ErrorResponse" + }, + "description": "Error in operation." + } + }, + "x-ms-pageable": { + "nextLinkName": "nextLink" + } + } + }, + "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroup}/providers/Microsoft.FluidRelay/fluidRelayServers/{name}": { + "get": { + "operationId": "FluidRelayServers_Get", + "tags": [ + "FluidRelayServers" + ], + "summary": "Get a Fluid Relay server.", + "x-ms-examples": { + "Get Fluid Relay server details": { + "$ref": "./examples/FluidRelayServers_Get.json" + } + }, + "parameters": [ + { + "$ref": "#/parameters/SubscriptionId" + }, + { + "$ref": "#/parameters/ResourceGroup" + }, + { + "$ref": "#/parameters/ResourceName" + }, + { + "$ref": "../../../../../common-types/resource-management/v2/types.json#/parameters/ApiVersionParameter" + } + ], + "responses": { + "200": { + "schema": { + "$ref": "#/definitions/FluidRelayServer" + }, + "description": "Request completed synchronously." + }, + "default": { + "schema": { + "$ref": "../../../../../common-types/resource-management/v2/types.json#/definitions/ErrorResponse" + }, + "description": "Error in operation." + } + } + }, + "put": { + "operationId": "FluidRelayServers_CreateOrUpdate", + "tags": [ + "FluidRelayServers" + ], + "summary": "Create or Update a Fluid Relay server.", + "x-ms-examples": { + "Create a Fluid Relay server": { + "$ref": "./examples/FluidRelayServers_CreateOrUpdate.json" + } + }, + "parameters": [ + { + "$ref": "#/parameters/SubscriptionId" + }, + { + "$ref": "#/parameters/ResourceGroup" + }, + { + "$ref": "#/parameters/ResourceName" + }, + { + "$ref": "../../../../../common-types/resource-management/v2/types.json#/parameters/ApiVersionParameter" + }, + { + "name": "resource", + "in": "body", + "required": true, + "schema": { + "$ref": "#/definitions/FluidRelayServer" + }, + "description": "The details of the Fluid Relay server resource." + } + ], + "responses": { + "200": { + "schema": { + "$ref": "#/definitions/FluidRelayServer" + }, + "description": "Request completed synchronously.", + "headers": { + "x-ms-client-request-id": { + "type": "string" + }, + "x-ms-correlation-request-id": { + "type": "string" + } + } + }, + "default": { + "schema": { + "$ref": "../../../../../common-types/resource-management/v2/types.json#/definitions/ErrorResponse" + }, + "description": "Error in operation." + } + } + }, + "patch": { + "operationId": "FluidRelayServers_Update", + "tags": [ + "FluidRelayServers" + ], + "summary": "Update a Fluid Relay server.", + "x-ms-examples": { + "Create a Fluid Relay server": { + "$ref": "./examples/FluidRelayServers_Update.json" + } + }, + "parameters": [ + { + "$ref": "#/parameters/SubscriptionId" + }, + { + "$ref": "#/parameters/ResourceGroup" + }, + { + "$ref": "#/parameters/ResourceName" + }, + { + "$ref": "../../../../../common-types/resource-management/v2/types.json#/parameters/ApiVersionParameter" + }, + { + "name": "resource", + "in": "body", + "required": true, + "schema": { + "$ref": "#/definitions/FluidRelayServerUpdate" + }, + "description": "The updatable details of the Fluid Relay server resource." + } + ], + "responses": { + "200": { + "schema": { + "$ref": "#/definitions/FluidRelayServer" + }, + "description": "Request Completed Synchronously.", + "headers": { + "x-ms-client-request-id": { + "type": "string" + }, + "x-ms-correlation-request-id": { + "type": "string" + } + } + }, + "default": { + "schema": { + "$ref": "../../../../../common-types/resource-management/v2/types.json#/definitions/ErrorResponse" + }, + "description": "Error in operation." + } + } + }, + "delete": { + "operationId": "FluidRelayServers_Delete", + "tags": [ + "FluidRelayServers" + ], + "summary": "Delete a Fluid Relay server.", + "x-ms-examples": { + "Delete a Fluid Relay server": { + "$ref": "./examples/FluidRelayServers_Delete.json" + } + }, + "parameters": [ + { + "$ref": "#/parameters/SubscriptionId" + }, + { + "$ref": "#/parameters/ResourceGroup" + }, + { + "$ref": "#/parameters/ResourceName" + }, + { + "$ref": "../../../../../common-types/resource-management/v2/types.json#/parameters/ApiVersionParameter" + } + ], + "responses": { + "200": { + "description": "Request completed Synchronously.", + "headers": { + "x-ms-client-request-id": { + "type": "string" + }, + "x-ms-correlation-request-id": { + "type": "string" + } + } + }, + "204": { + "description": "Request completed Synchronously.", + "headers": { + "x-ms-client-request-id": { + "type": "string" + }, + "x-ms-correlation-request-id": { + "type": "string" + } + } + }, + "default": { + "schema": { + "$ref": "../../../../../common-types/resource-management/v2/types.json#/definitions/ErrorResponse" + }, + "description": "Error in operation." + } + } + } + }, + "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroup}/providers/Microsoft.FluidRelay/fluidRelayServers/{name}/regenerateKey": { + "post": { + "operationId": "FluidRelayServers_RegenerateKey", + "summary": "Regenerate the primary or secondary key for this server.", + "x-ms-examples": { + "Regenerate keys for a Fluid Relay server": { + "$ref": "./examples/FluidRelayServers_RegenerateKeys.json" + } + }, + "tags": [ + "FluidRelayServers" + ], + "parameters": [ + { + "$ref": "#/parameters/SubscriptionId" + }, + { + "$ref": "#/parameters/ResourceGroup" + }, + { + "$ref": "#/parameters/ResourceName" + }, + { + "$ref": "../../../../../common-types/resource-management/v2/types.json#/parameters/ApiVersionParameter" + }, + { + "name": "parameters", + "in": "body", + "required": true, + "schema": { + "$ref": "#/definitions/RegenerateKeyRequest" + }, + "description": "The details of which keys to generate." + } + ], + "responses": { + "200": { + "schema": { + "$ref": "#/definitions/FluidRelayServerKeys" + }, + "description": "Request Completed Synchronously.", + "headers": { + "x-ms-client-request-id": { + "type": "string" + }, + "x-ms-correlation-request-id": { + "type": "string" + } + } + }, + "default": { + "schema": { + "$ref": "../../../../../common-types/resource-management/v2/types.json#/definitions/ErrorResponse" + }, + "description": "Error in operation." + } + } + } + }, + "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroup}/providers/Microsoft.FluidRelay/fluidRelayServers/{name}/getKeys": { + "post": { + "operationId": "FluidRelayServers_GetKeys", + "summary": "Regenerate the primary or secondary key for this server.", + "x-ms-examples": { + "Get keys for a Fluid Relay server": { + "$ref": "./examples/FluidRelayServers_GetKeys.json" + } + }, + "tags": [ + "FluidRelayServers" + ], + "parameters": [ + { + "$ref": "#/parameters/SubscriptionId" + }, + { + "$ref": "#/parameters/ResourceGroup" + }, + { + "$ref": "#/parameters/ResourceName" + }, + { + "$ref": "../../../../../common-types/resource-management/v2/types.json#/parameters/ApiVersionParameter" + } + ], + "responses": { + "200": { + "schema": { + "$ref": "#/definitions/FluidRelayServerKeys" + }, + "description": "Request Completed Synchronously.", + "headers": { + "x-ms-client-request-id": { + "type": "string" + }, + "x-ms-correlation-request-id": { + "type": "string" + } + } + }, + "default": { + "schema": { + "$ref": "../../../../../common-types/resource-management/v2/types.json#/definitions/ErrorResponse" + }, + "description": "Error in operation." + } + } + } + }, + "/subscriptions/{subscriptionId}/providers/Microsoft.FluidRelay/fluidRelayServers": { + "get": { + "operationId": "FluidRelayServers_ListBySubscription", + "summary": "List all Fluid Relay servers in a subscription.", + "x-ms-examples": { + "List all Fluid Relay servers in a subscription": { + "$ref": "./examples/FluidRelayServers_ListBySubscription.json" + } + }, + "tags": [ + "FluidRelayServers" + ], + "parameters": [ + { + "$ref": "#/parameters/SubscriptionId" + }, + { + "$ref": "../../../../../common-types/resource-management/v2/types.json#/parameters/ApiVersionParameter" + } + ], + "responses": { + "200": { + "schema": { + "$ref": "#/definitions/FluidRelayServerList" + }, + "description": "Paged response" + }, + "default": { + "schema": { + "$ref": "../../../../../common-types/resource-management/v2/types.json#/definitions/ErrorResponse" + }, + "description": "Error in operation." + } + }, + "x-ms-pageable": { + "nextLinkName": "nextLink" + } + } + }, + "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroup}/providers/Microsoft.FluidRelay/fluidRelayServers": { + "get": { + "operationId": "FluidRelayServers_ListByResourceGroup", + "tags": [ + "FluidRelayServers" + ], + "summary": "List all Fluid Relay servers in a resource group.", + "x-ms-examples": { + "List all Fluid Relay servers in a resource group": { + "$ref": "./examples/FluidRelayServers_ListByResourceGroup.json" + } + }, + "parameters": [ + { + "$ref": "#/parameters/SubscriptionId" + }, + { + "$ref": "#/parameters/ResourceGroup" + }, + { + "$ref": "../../../../../common-types/resource-management/v2/types.json#/parameters/ApiVersionParameter" + } + ], + "responses": { + "200": { + "schema": { + "$ref": "#/definitions/FluidRelayServerList" + }, + "description": "Paged response" + }, + "default": { + "schema": { + "$ref": "../../../../../common-types/resource-management/v2/types.json#/definitions/ErrorResponse" + }, + "description": "Error in operation." + } + }, + "x-ms-pageable": { + "nextLinkName": "nextLink" + } + } + } + }, + "definitions": { + "OperationDisplay": { + "description": "The object that represents the operation.", + "type": "object", + "properties": { + "provider": { + "description": "Service provider: Microsoft.FluidRelay", + "type": "string" + }, + "resource": { + "description": "Type on which the operation is performed, e.g., 'servers'.", + "type": "string" + }, + "operation": { + "description": "Operation type, e.g., read, write, delete, etc.", + "type": "string" + }, + "description": { + "description": "Description of the operation, e.g., 'Write confluent'.", + "type": "string" + } + } + }, + "OperationResult": { + "description": "A FluidRelay REST API operation.", + "type": "object", + "properties": { + "name": { + "description": "Operation name: {provider}/{resource}/{operation}", + "type": "string" + }, + "display": { + "description": "The object that represents the operation.", + "$ref": "#/definitions/OperationDisplay" + }, + "isDataAction": { + "description": "Indicates whether the operation is a data action", + "type": "boolean" + } + } + }, + "OperationListResult": { + "description": "Result of GET request to list FluidRelay operations.", + "type": "object", + "properties": { + "value": { + "description": "List of FluidRelay operations supported by the Microsoft.FluidRelay provider.", + "type": "array", + "items": { + "$ref": "#/definitions/OperationResult" + } + }, + "nextLink": { + "description": "URL to get the next set of operation list results if there are any.", + "type": "string" + } + } + }, + "FluidRelayServerUpdate": { + "type": "object", + "properties": { + "tags": { + "type": "object", + "additionalProperties": { + "type": "string" + }, + "readOnly": false, + "x-ms-mutability": [ + "read", + "create", + "update" + ], + "description": "Resource tags." + } + }, + "description": "The updatable properties of a Fluid Relay server" + }, + "FluidRelayServerList": { + "type": "object", + "properties": { + "value": { + "type": "array", + "items": { + "$ref": "#/definitions/FluidRelayServer" + }, + "description": "A sequence of FluidRelay servers.", + "x-adl-name": "FluidRelayServer[]" + }, + "nextLink": { + "type": "string", + "description": "A link to the next page of results, if any." + } + }, + "description": "Paged response", + "required": [ + "value" + ], + "x-adl-name": "Page" + }, + "FluidRelayServer": { + "type": "object", + "properties": { + "properties": { + "$ref": "#/definitions/FluidRelayServerProperties", + "description": "The resource-specific properties for this resource.", + "readOnly": false, + "x-ms-client-flatten": true, + "x-ms-mutability": [ + "read", + "create" + ] + }, + "systemData": { + "$ref": "../../../../../common-types/resource-management/v2/types.json#/definitions/systemData", + "description": "System meta data for this resource, including creation and modification information.", + "readOnly": true + } + }, + "description": "A FluidRelay Server.", + "allOf": [ + { + "$ref": "../../../../../common-types/resource-management/v2/types.json#/definitions/TrackedResource" + } + ], + "x-ms-azure-resource": true + }, + "FluidRelayServerKeys": { + "type": "object", + "properties": { + "key1": { + "type": "string", + "format": "password", + "description": "The primary key for this server", + "readOnly": true + }, + "key2": { + "type": "string", + "format": "password", + "description": "The secondary key for this server", + "readOnly": true + } + }, + "description": "The set of available keys for this server." + }, + "RegenerateKeyRequest": { + "type": "object", + "properties": { + "keyName": { + "type": "string", + "enum": [ + "key1", + "key2" + ], + "x-ms-enum": { + "modelAsString": false, + "name": "KeyName" + }, + "x-adl-name": "key1 | key2", + "description": "The key to regenerate." + } + }, + "description": "Specifies which key should be generated.", + "required": [ + "keyName" + ] + }, + "FluidRelayServerProperties": { + "type": "object", + "properties": { + "frsTenantId": { + "type": "string", + "description": "The Fluid tenantId for this server", + "readOnly": true + }, + "fluidRelayEndpoints": { + "$ref": "#/definitions/FluidRelayEndpoints", + "description": "The Fluid Relay Service endpoints for this server.", + "readOnly": true + }, + "provisioningState": { + "enum": [ + "Succeeded", + "Failed", + "Canceled" + ], + "type": "string", + "description": "Provision states for FluidRelay RP", + "title": "ProvisioningState", + "x-ms-enum": { + "name": "ProvisioningState", + "modelAsString": true + } + } + }, + "description": "The properties of a Fluid Relay Service resource." + }, + "FluidRelayEndpoints": { + "type": "object", + "properties": { + "ordererEndpoints": { + "type": "array", + "items": { + "type": "string" + }, + "description": "The Fluid Relay Orderer endpoints.", + "readOnly": true + }, + "storageEndpoints": { + "type": "array", + "items": { + "type": "string" + }, + "description": "The Fluid Relay storage endpoints.", + "readOnly": true + } + }, + "description": "The Fluid Relay endpoints for this server" + } + }, + "parameters": { + "SubscriptionId": { + "name": "subscriptionId", + "in": "path", + "type": "string", + "required": true, + "description": "The subscription id (GUID) for this resource." + }, + "ResourceGroup": { + "name": "resourceGroup", + "in": "path", + "type": "string", + "required": true, + "description": "The resource group containing the resource.", + "x-ms-parameter-location": "method" + }, + "ResourceName": { + "name": "name", + "in": "path", + "type": "string", + "required": true, + "description": "The resource name.", + "x-ms-parameter-location": "method" + } + } +} From 7a6d3204f88e2a3c3d9a6e7b9b872935208f6445 Mon Sep 17 00:00:00 2001 From: Ping Zhu Date: Fri, 23 Jul 2021 12:20:50 -0700 Subject: [PATCH 2/7] change versions --- .../2021-06-15-preview/examples/FluidRelayServerOperations.json | 2 +- .../examples/FluidRelayServers_CreateOrUpdate.json | 2 +- .../2021-06-15-preview/examples/FluidRelayServers_Delete.json | 2 +- .../2021-06-15-preview/examples/FluidRelayServers_Get.json | 2 +- .../2021-06-15-preview/examples/FluidRelayServers_GetKeys.json | 2 +- .../examples/FluidRelayServers_ListByResourceGroup.json | 2 +- .../examples/FluidRelayServers_ListBySubscription.json | 2 +- .../examples/FluidRelayServers_RegenerateKeys.json | 2 +- .../2021-06-15-preview/examples/FluidRelayServers_Update.json | 2 +- .../preview/2021-06-15-preview/fluidrelay.json | 2 +- 10 files changed, 10 insertions(+), 10 deletions(-) diff --git a/specification/fluidrelay/resource-manager/Microsoft.FluidRelay/preview/2021-06-15-preview/examples/FluidRelayServerOperations.json b/specification/fluidrelay/resource-manager/Microsoft.FluidRelay/preview/2021-06-15-preview/examples/FluidRelayServerOperations.json index 641bd75a3f61..251313c16cb6 100644 --- a/specification/fluidrelay/resource-manager/Microsoft.FluidRelay/preview/2021-06-15-preview/examples/FluidRelayServerOperations.json +++ b/specification/fluidrelay/resource-manager/Microsoft.FluidRelay/preview/2021-06-15-preview/examples/FluidRelayServerOperations.json @@ -1,6 +1,6 @@ { "parameters": { - "api-version": "2021-03-12-preview" + "api-version": "2021-06-15-preview" }, "responses": { "200": { diff --git a/specification/fluidrelay/resource-manager/Microsoft.FluidRelay/preview/2021-06-15-preview/examples/FluidRelayServers_CreateOrUpdate.json b/specification/fluidrelay/resource-manager/Microsoft.FluidRelay/preview/2021-06-15-preview/examples/FluidRelayServers_CreateOrUpdate.json index 57593977cfb2..3a195f4aa17c 100644 --- a/specification/fluidrelay/resource-manager/Microsoft.FluidRelay/preview/2021-06-15-preview/examples/FluidRelayServers_CreateOrUpdate.json +++ b/specification/fluidrelay/resource-manager/Microsoft.FluidRelay/preview/2021-06-15-preview/examples/FluidRelayServers_CreateOrUpdate.json @@ -3,7 +3,7 @@ "subscriptionId": "xxxx-xxxx-xxxx-xxxx", "resourceGroup": "myResourceGroup", "name": "myFluidRelayServer", - "api-version": "2021-03-12", + "api-version": "2021-06-15", "resource": { "location": "west-us", "tags": { diff --git a/specification/fluidrelay/resource-manager/Microsoft.FluidRelay/preview/2021-06-15-preview/examples/FluidRelayServers_Delete.json b/specification/fluidrelay/resource-manager/Microsoft.FluidRelay/preview/2021-06-15-preview/examples/FluidRelayServers_Delete.json index 00a2a0bc50a1..1762d4372c30 100644 --- a/specification/fluidrelay/resource-manager/Microsoft.FluidRelay/preview/2021-06-15-preview/examples/FluidRelayServers_Delete.json +++ b/specification/fluidrelay/resource-manager/Microsoft.FluidRelay/preview/2021-06-15-preview/examples/FluidRelayServers_Delete.json @@ -3,7 +3,7 @@ "subscriptionId": "xxxx-xxxx-xxxx-xxxx", "resourceGroup": "myResourceGroup", "name": "myFluidRelayServer", - "api-version": "2021-03-12" + "api-version": "2021-06-15" }, "responses": { "200": {}, diff --git a/specification/fluidrelay/resource-manager/Microsoft.FluidRelay/preview/2021-06-15-preview/examples/FluidRelayServers_Get.json b/specification/fluidrelay/resource-manager/Microsoft.FluidRelay/preview/2021-06-15-preview/examples/FluidRelayServers_Get.json index 1b5e124323de..064effbcdfbe 100644 --- a/specification/fluidrelay/resource-manager/Microsoft.FluidRelay/preview/2021-06-15-preview/examples/FluidRelayServers_Get.json +++ b/specification/fluidrelay/resource-manager/Microsoft.FluidRelay/preview/2021-06-15-preview/examples/FluidRelayServers_Get.json @@ -3,7 +3,7 @@ "subscriptionId": "xxxx-xxxx-xxxx-xxxx", "resourceGroup": "myResourceGroup", "name": "myFluidRelayServer", - "api-version": "2021-03-12" + "api-version": "2021-06-15" }, "responses": { "200": { diff --git a/specification/fluidrelay/resource-manager/Microsoft.FluidRelay/preview/2021-06-15-preview/examples/FluidRelayServers_GetKeys.json b/specification/fluidrelay/resource-manager/Microsoft.FluidRelay/preview/2021-06-15-preview/examples/FluidRelayServers_GetKeys.json index 56afddca2d2f..4fba06f060f0 100644 --- a/specification/fluidrelay/resource-manager/Microsoft.FluidRelay/preview/2021-06-15-preview/examples/FluidRelayServers_GetKeys.json +++ b/specification/fluidrelay/resource-manager/Microsoft.FluidRelay/preview/2021-06-15-preview/examples/FluidRelayServers_GetKeys.json @@ -3,7 +3,7 @@ "subscriptionId": "xxxx-xxxx-xxxx-xxxx", "resourceGroup": "myResourceGroup", "name": "myFluidRelayServer", - "api-version": "2021-03-12" + "api-version": "2021-06-15" }, "responses": { "200": { diff --git a/specification/fluidrelay/resource-manager/Microsoft.FluidRelay/preview/2021-06-15-preview/examples/FluidRelayServers_ListByResourceGroup.json b/specification/fluidrelay/resource-manager/Microsoft.FluidRelay/preview/2021-06-15-preview/examples/FluidRelayServers_ListByResourceGroup.json index 66b93693ed9f..1475dfdad975 100644 --- a/specification/fluidrelay/resource-manager/Microsoft.FluidRelay/preview/2021-06-15-preview/examples/FluidRelayServers_ListByResourceGroup.json +++ b/specification/fluidrelay/resource-manager/Microsoft.FluidRelay/preview/2021-06-15-preview/examples/FluidRelayServers_ListByResourceGroup.json @@ -2,7 +2,7 @@ "parameters": { "subscriptionId": "xxxx-xxxx-xxxx-xxxx", "resourceGroup": "myResourceGroup", - "api-version": "2021-03-12" + "api-version": "2021-06-15" }, "responses": { "200": { diff --git a/specification/fluidrelay/resource-manager/Microsoft.FluidRelay/preview/2021-06-15-preview/examples/FluidRelayServers_ListBySubscription.json b/specification/fluidrelay/resource-manager/Microsoft.FluidRelay/preview/2021-06-15-preview/examples/FluidRelayServers_ListBySubscription.json index c9c6f17cef00..9de4f8549caa 100644 --- a/specification/fluidrelay/resource-manager/Microsoft.FluidRelay/preview/2021-06-15-preview/examples/FluidRelayServers_ListBySubscription.json +++ b/specification/fluidrelay/resource-manager/Microsoft.FluidRelay/preview/2021-06-15-preview/examples/FluidRelayServers_ListBySubscription.json @@ -1,7 +1,7 @@ { "parameters": { "subscriptionId": "xxxx-xxxx-xxxx-xxxx", - "api-version": "2021-03-12" + "api-version": "2021-06-15" }, "responses": { "200": { diff --git a/specification/fluidrelay/resource-manager/Microsoft.FluidRelay/preview/2021-06-15-preview/examples/FluidRelayServers_RegenerateKeys.json b/specification/fluidrelay/resource-manager/Microsoft.FluidRelay/preview/2021-06-15-preview/examples/FluidRelayServers_RegenerateKeys.json index 9ebefbce902d..4289e93b21f7 100644 --- a/specification/fluidrelay/resource-manager/Microsoft.FluidRelay/preview/2021-06-15-preview/examples/FluidRelayServers_RegenerateKeys.json +++ b/specification/fluidrelay/resource-manager/Microsoft.FluidRelay/preview/2021-06-15-preview/examples/FluidRelayServers_RegenerateKeys.json @@ -3,7 +3,7 @@ "subscriptionId": "xxxx-xxxx-xxxx-xxxx", "resourceGroup": "myResourceGroup", "name": "myFluidRelayServer", - "api-version": "2021-03-12", + "api-version": "2021-06-15", "parameters": { "keyName": "key1" } diff --git a/specification/fluidrelay/resource-manager/Microsoft.FluidRelay/preview/2021-06-15-preview/examples/FluidRelayServers_Update.json b/specification/fluidrelay/resource-manager/Microsoft.FluidRelay/preview/2021-06-15-preview/examples/FluidRelayServers_Update.json index 5da7acddedd5..d196b1cb5f1a 100644 --- a/specification/fluidrelay/resource-manager/Microsoft.FluidRelay/preview/2021-06-15-preview/examples/FluidRelayServers_Update.json +++ b/specification/fluidrelay/resource-manager/Microsoft.FluidRelay/preview/2021-06-15-preview/examples/FluidRelayServers_Update.json @@ -3,7 +3,7 @@ "subscriptionId": "xxxx-xxxx-xxxx-xxxx", "resourceGroup": "myResourceGroup", "name": "myFluidRelayServer", - "api-version": "2021-03-12", + "api-version": "2021-06-15", "resource": { "tags": { "Category": "sales" diff --git a/specification/fluidrelay/resource-manager/Microsoft.FluidRelay/preview/2021-06-15-preview/fluidrelay.json b/specification/fluidrelay/resource-manager/Microsoft.FluidRelay/preview/2021-06-15-preview/fluidrelay.json index fe9779896abc..900a26cc43b8 100644 --- a/specification/fluidrelay/resource-manager/Microsoft.FluidRelay/preview/2021-06-15-preview/fluidrelay.json +++ b/specification/fluidrelay/resource-manager/Microsoft.FluidRelay/preview/2021-06-15-preview/fluidrelay.json @@ -2,7 +2,7 @@ "swagger": "2.0", "info": { "title": "Azure Fluid Relay", - "version": "2021-03-12-preview" + "version": "2021-06-15-preview" }, "schemes": [ "https" From 83e2cdab37285fc212b3fb19bc88872313affcea Mon Sep 17 00:00:00 2001 From: Ping Zhu Date: Fri, 23 Jul 2021 12:27:55 -0700 Subject: [PATCH 3/7] identity changes related MSI --- .../FluidRelayServers_CreateOrUpdate.json | 8 +++++ .../2021-06-15-preview/fluidrelay.json | 32 +++++++++++++++++++ 2 files changed, 40 insertions(+) diff --git a/specification/fluidrelay/resource-manager/Microsoft.FluidRelay/preview/2021-06-15-preview/examples/FluidRelayServers_CreateOrUpdate.json b/specification/fluidrelay/resource-manager/Microsoft.FluidRelay/preview/2021-06-15-preview/examples/FluidRelayServers_CreateOrUpdate.json index 3a195f4aa17c..1987050bb71e 100644 --- a/specification/fluidrelay/resource-manager/Microsoft.FluidRelay/preview/2021-06-15-preview/examples/FluidRelayServers_CreateOrUpdate.json +++ b/specification/fluidrelay/resource-manager/Microsoft.FluidRelay/preview/2021-06-15-preview/examples/FluidRelayServers_CreateOrUpdate.json @@ -6,6 +6,9 @@ "api-version": "2021-06-15", "resource": { "location": "west-us", + "identity": { + "type": "SystemAssigned" + }, "tags": { "Category": "sales" } @@ -18,6 +21,11 @@ "name": "myFluidRelayServer", "type": "Microsoft.FluidRelay/fluidRelayServers", "location": "west-us", + "identity": { + "type": "SystemAssigned", + "principalId": "00000000-0000-0000-0000-000000000000", + "tenantId": "00000000-0000-0000-0000-000000000000" + }, "properties": { "frsTenantId": "yyyy-yyyy-yyyyy-yyyy", "fluidRelayEndpoints": { diff --git a/specification/fluidrelay/resource-manager/Microsoft.FluidRelay/preview/2021-06-15-preview/fluidrelay.json b/specification/fluidrelay/resource-manager/Microsoft.FluidRelay/preview/2021-06-15-preview/fluidrelay.json index 900a26cc43b8..27d4b48aff5f 100644 --- a/specification/fluidrelay/resource-manager/Microsoft.FluidRelay/preview/2021-06-15-preview/fluidrelay.json +++ b/specification/fluidrelay/resource-manager/Microsoft.FluidRelay/preview/2021-06-15-preview/fluidrelay.json @@ -587,6 +587,10 @@ "$ref": "../../../../../common-types/resource-management/v2/types.json#/definitions/systemData", "description": "System meta data for this resource, including creation and modification information.", "readOnly": true + }, + "identity": { + "$ref": "#/definitions/Identity", + "description": "The type of identity used for the resource." } }, "description": "A FluidRelay Server.", @@ -637,6 +641,34 @@ "keyName" ] }, + "Identity": { + "description": "Identity for the resource.", + "type": "object", + "properties": { + "principalId": { + "readOnly": true, + "type": "string", + "description": "The principal ID of resource identity." + }, + "tenantId": { + "readOnly": true, + "type": "string", + "description": "The tenant ID of resource." + }, + "type": { + "enum": [ + "SystemAssigned", + "None" + ], + "x-ms-enum": { + "name": "ResourceIdentityType", + "modelAsString": false + }, + "type": "string", + "description": "The identity type." + } + } + }, "FluidRelayServerProperties": { "type": "object", "properties": { From 2ab407d66e86828bc8e9d08ffabb67f3b46d7302 Mon Sep 17 00:00:00 2001 From: Ping Zhu Date: Fri, 23 Jul 2021 12:32:09 -0700 Subject: [PATCH 4/7] readme changes --- specification/fluidrelay/resource-manager/readme.md | 9 +++++++++ 1 file changed, 9 insertions(+) diff --git a/specification/fluidrelay/resource-manager/readme.md b/specification/fluidrelay/resource-manager/readme.md index 871227c4d43c..dedd4c3ddfd4 100644 --- a/specification/fluidrelay/resource-manager/readme.md +++ b/specification/fluidrelay/resource-manager/readme.md @@ -40,6 +40,15 @@ input-file: - Microsoft.FluidRelay/preview/2021-03-12-preview/fluidrelay.json ``` +### Tag: package-2021-06-15-preview + +These settings apply only when `--tag=package-2021-06-15-preview` is specified on the command line. + +```yaml $(tag) == 'package-2021-06-15-preview' +input-file: + - Microsoft.FluidRelay/preview/2021-06-15-preview/fluidrelay.json +``` + --- # Code Generation From 72b3ebd8e6f81cffd03ac988a29802ea64da8945 Mon Sep 17 00:00:00 2001 From: Ping Zhu Date: Fri, 23 Jul 2021 12:34:38 -0700 Subject: [PATCH 5/7] readme go changes --- .../fluidrelay/resource-manager/readme.go.md | 11 +++++++++++ 1 file changed, 11 insertions(+) diff --git a/specification/fluidrelay/resource-manager/readme.go.md b/specification/fluidrelay/resource-manager/readme.go.md index 0639a1ede602..6619e71cc2ee 100644 --- a/specification/fluidrelay/resource-manager/readme.go.md +++ b/specification/fluidrelay/resource-manager/readme.go.md @@ -13,6 +13,7 @@ go: ```yaml $(go) && $(multiapi) batch: - tag: package-2021-03-12-preview + - tag: package-2021-06-15-preview ``` ### Tag: package-2021-03-12-preview and go @@ -24,3 +25,13 @@ Please also specify `--go-sdks-folder=`. + +```yaml $(tag) == 'package-2021-06-15-preview' && $(go) +namespace: fluidrelay +output-folder: $(go-sdk-folder)/services/preview/$(namespace)/mgmt/2021-06-15-preview/$(namespace) +``` From de08072601dadd0ba7bdd7f71f46347ce386efcb Mon Sep 17 00:00:00 2001 From: Ping Zhu Date: Fri, 23 Jul 2021 12:36:18 -0700 Subject: [PATCH 6/7] sdk fix --- .../preview/2021-06-15-preview/fluidrelay.json | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/specification/fluidrelay/resource-manager/Microsoft.FluidRelay/preview/2021-06-15-preview/fluidrelay.json b/specification/fluidrelay/resource-manager/Microsoft.FluidRelay/preview/2021-06-15-preview/fluidrelay.json index 27d4b48aff5f..eb990cfd6b61 100644 --- a/specification/fluidrelay/resource-manager/Microsoft.FluidRelay/preview/2021-06-15-preview/fluidrelay.json +++ b/specification/fluidrelay/resource-manager/Microsoft.FluidRelay/preview/2021-06-15-preview/fluidrelay.json @@ -4,6 +4,7 @@ "title": "Azure Fluid Relay", "version": "2021-06-15-preview" }, + "host": "management.azure.com", "schemes": [ "https" ], @@ -598,8 +599,7 @@ { "$ref": "../../../../../common-types/resource-management/v2/types.json#/definitions/TrackedResource" } - ], - "x-ms-azure-resource": true + ] }, "FluidRelayServerKeys": { "type": "object", From 00931e36adf7fb4abdee30927959544cc75f6e51 Mon Sep 17 00:00:00 2001 From: Ping Zhu Date: Fri, 23 Jul 2021 12:38:00 -0700 Subject: [PATCH 7/7] changed modelAsString to true, supported identity in PATCH --- .../preview/2021-06-15-preview/fluidrelay.json | 6 +++++- 1 file changed, 5 insertions(+), 1 deletion(-) diff --git a/specification/fluidrelay/resource-manager/Microsoft.FluidRelay/preview/2021-06-15-preview/fluidrelay.json b/specification/fluidrelay/resource-manager/Microsoft.FluidRelay/preview/2021-06-15-preview/fluidrelay.json index eb990cfd6b61..989b0254c064 100644 --- a/specification/fluidrelay/resource-manager/Microsoft.FluidRelay/preview/2021-06-15-preview/fluidrelay.json +++ b/specification/fluidrelay/resource-manager/Microsoft.FluidRelay/preview/2021-06-15-preview/fluidrelay.json @@ -545,6 +545,10 @@ "update" ], "description": "Resource tags." + }, + "identity": { + "$ref": "#/definitions/Identity", + "description": "The type of identity used for the resource." } }, "description": "The updatable properties of a Fluid Relay server" @@ -662,7 +666,7 @@ ], "x-ms-enum": { "name": "ResourceIdentityType", - "modelAsString": false + "modelAsString": true }, "type": "string", "description": "The identity type."