From 23db52ec522108059485374b0e84a396a14b9e82 Mon Sep 17 00:00:00 2001 From: GoradeAarti Date: Sun, 11 Sep 2022 20:54:01 -0700 Subject: [PATCH 01/69] adding new resource type 'CloudHsm' with new API version --- .../preview/2022-03-31-preview/cloudhsm.json | 1567 +++++++++++++++++ ...ConnectionProxy_Create_MaximumSet_Gen.json | 106 ++ ...ConnectionProxy_Delete_MaximumSet_Gen.json | 72 + ...intConnectionProxy_Get_MaximumSet_Gen.json | 66 + ...nnectionProxy_Validate_MaximumSet_Gen.json | 100 ++ ...pointConnection_Create_MaximumSet_Gen.json | 37 + ...pointConnection_Delete_MaximumSet_Gen.json | 28 + ...EndpointConnection_Get_MaximumSet_Gen.json | 32 + ...nection_ListByResource_MaximumSet_Gen.json | 49 + ...ivateLinkResources_Get_MaximumSet_Gen.json | 29 + ...sources_ListByResource_MaximumSet_Gen.json | 33 + ...loudHsm_CreateOrUpdate_MaximumSet_Gen.json | 81 + .../CloudHsm_Delete_MaximumSet_Gen.json | 17 + .../examples/CloudHsm_Get_MaximumSet_Gen.json | 36 + ...sm_ListByResourceGroup_MaximumSet_Gen.json | 67 + ...Hsm_ListBySubscription_MaximumSet_Gen.json | 67 + .../CloudHsm_Update_MaximumSet_Gen.json | 74 + .../Operations_List_MaximumSet_Gen.json | 174 ++ .../Operations_List_MinimumSet_Gen.json | 10 + .../resource-manager/readme.md | 6 + 20 files changed, 2651 insertions(+) create mode 100644 specification/hardwaresecuritymodules/resource-manager/Microsoft.HardwareSecurityModules/preview/2022-03-31-preview/cloudhsm.json create mode 100644 specification/hardwaresecuritymodules/resource-manager/Microsoft.HardwareSecurityModules/preview/2022-03-31-preview/examples/CloudHsmPrivateEndpointConnectionProxy_Create_MaximumSet_Gen.json create mode 100644 specification/hardwaresecuritymodules/resource-manager/Microsoft.HardwareSecurityModules/preview/2022-03-31-preview/examples/CloudHsmPrivateEndpointConnectionProxy_Delete_MaximumSet_Gen.json create mode 100644 specification/hardwaresecuritymodules/resource-manager/Microsoft.HardwareSecurityModules/preview/2022-03-31-preview/examples/CloudHsmPrivateEndpointConnectionProxy_Get_MaximumSet_Gen.json create mode 100644 specification/hardwaresecuritymodules/resource-manager/Microsoft.HardwareSecurityModules/preview/2022-03-31-preview/examples/CloudHsmPrivateEndpointConnectionProxy_Validate_MaximumSet_Gen.json create mode 100644 specification/hardwaresecuritymodules/resource-manager/Microsoft.HardwareSecurityModules/preview/2022-03-31-preview/examples/CloudHsmPrivateEndpointConnection_Create_MaximumSet_Gen.json create mode 100644 specification/hardwaresecuritymodules/resource-manager/Microsoft.HardwareSecurityModules/preview/2022-03-31-preview/examples/CloudHsmPrivateEndpointConnection_Delete_MaximumSet_Gen.json create mode 100644 specification/hardwaresecuritymodules/resource-manager/Microsoft.HardwareSecurityModules/preview/2022-03-31-preview/examples/CloudHsmPrivateEndpointConnection_Get_MaximumSet_Gen.json create mode 100644 specification/hardwaresecuritymodules/resource-manager/Microsoft.HardwareSecurityModules/preview/2022-03-31-preview/examples/CloudHsmPrivateEndpointConnection_ListByResource_MaximumSet_Gen.json create mode 100644 specification/hardwaresecuritymodules/resource-manager/Microsoft.HardwareSecurityModules/preview/2022-03-31-preview/examples/CloudHsmPrivateLinkResources_Get_MaximumSet_Gen.json create mode 100644 specification/hardwaresecuritymodules/resource-manager/Microsoft.HardwareSecurityModules/preview/2022-03-31-preview/examples/CloudHsmPrivateLinkResources_ListByResource_MaximumSet_Gen.json create mode 100644 specification/hardwaresecuritymodules/resource-manager/Microsoft.HardwareSecurityModules/preview/2022-03-31-preview/examples/CloudHsm_CreateOrUpdate_MaximumSet_Gen.json create mode 100644 specification/hardwaresecuritymodules/resource-manager/Microsoft.HardwareSecurityModules/preview/2022-03-31-preview/examples/CloudHsm_Delete_MaximumSet_Gen.json create mode 100644 specification/hardwaresecuritymodules/resource-manager/Microsoft.HardwareSecurityModules/preview/2022-03-31-preview/examples/CloudHsm_Get_MaximumSet_Gen.json create mode 100644 specification/hardwaresecuritymodules/resource-manager/Microsoft.HardwareSecurityModules/preview/2022-03-31-preview/examples/CloudHsm_ListByResourceGroup_MaximumSet_Gen.json create mode 100644 specification/hardwaresecuritymodules/resource-manager/Microsoft.HardwareSecurityModules/preview/2022-03-31-preview/examples/CloudHsm_ListBySubscription_MaximumSet_Gen.json create mode 100644 specification/hardwaresecuritymodules/resource-manager/Microsoft.HardwareSecurityModules/preview/2022-03-31-preview/examples/CloudHsm_Update_MaximumSet_Gen.json create mode 100644 specification/hardwaresecuritymodules/resource-manager/Microsoft.HardwareSecurityModules/preview/2022-03-31-preview/examples/Operations_List_MaximumSet_Gen.json create mode 100644 specification/hardwaresecuritymodules/resource-manager/Microsoft.HardwareSecurityModules/preview/2022-03-31-preview/examples/Operations_List_MinimumSet_Gen.json diff --git a/specification/hardwaresecuritymodules/resource-manager/Microsoft.HardwareSecurityModules/preview/2022-03-31-preview/cloudhsm.json b/specification/hardwaresecuritymodules/resource-manager/Microsoft.HardwareSecurityModules/preview/2022-03-31-preview/cloudhsm.json new file mode 100644 index 000000000000..65db32034074 --- /dev/null +++ b/specification/hardwaresecuritymodules/resource-manager/Microsoft.HardwareSecurityModules/preview/2022-03-31-preview/cloudhsm.json @@ -0,0 +1,1567 @@ +{ + "swagger": "2.0", + "info": { + "title": "Azure Cloud HSM Resource Provider", + "description": "The Azure management API provides a RESTful set of web services that interact with Azure Cloud HSM RP.", + "version": "2022-03-31-preview" + }, + "host": "management.azure.com", + "schemes": [ + "https" + ], + "produces": [ + "application/json" + ], + "consumes": [ + "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": { + "/resourceprovider/api/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.HardwareSecurityModules/cloudHSMs/{cloudHsmName}": { + "put": { + "tags": [ + "cloudHSMs" + ], + "operationId": "CloudHsm_CreateOrUpdate", + "description": "Create or Update a Cloud HSM in the specified subscription.", + "x-ms-long-running-operation": true, + "parameters": [{ + "$ref": "#/parameters/SubscriptionId" + }, { + "$ref": "#/parameters/ResourceGroupName" + }, { + "$ref": "#/parameters/CloudHsmName" + }, { + "$ref": "#/parameters/ApiVersion" + }, { + "in": "body", + "name": "body", + "required": true, + "x-ms-client-flatten": true, + "schema": { + "$ref": "#/definitions/CloudHsmResource" + }, + "description": "Parameters to create Cloud HSM" + } + ], + "responses": { + "200": { + "description": "Created Cloud HSM", + "schema": { + "$ref": "#/definitions/CloudHsmResource" + } + }, + "201": { + "description": "Created Cloud HSM", + "schema": { + "$ref": "#/definitions/CloudHsmResource" + } + }, + "default": { + "description": "The error response describing why the operation failed.", + "schema": { + "$ref": "#/definitions/CloudHsmError" + } + } + }, + "x-ms-examples": { + "CloudHsm_CreateOrUpdate_MaximumSet_Gen": { + "$ref": "./examples/CloudHsm_CreateOrUpdate_MaximumSet_Gen.json" + } + } + }, + "patch": { + "tags": [ + "cloudHSMs" + ], + "operationId": "CloudHsm_Update", + "x-ms-long-running-operation": true, + "description": "Update a Cloud HSM in the specified subscription.", + "parameters": [{ + "$ref": "#/parameters/SubscriptionId" + }, { + "$ref": "#/parameters/ResourceGroupName" + }, { + "$ref": "#/parameters/CloudHsmName" + }, { + "$ref": "#/parameters/ApiVersion" + }, { + "in": "body", + "name": "body", + "required": true, + "x-ms-client-flatten": true, + "schema": { + "$ref": "#/definitions/CloudHsmPatchParameters" + }, + "description": "CloudHsmResource Parameters to patch" + } + ], + "responses": { + "200": { + "description": "Patched Cloud HSM", + "schema": { + "$ref": "#/definitions/CloudHsmResource" + } + }, + "202": { + "description": "Accepted and the operation will complete asynchronously.", + "headers": { + "Location": { + "description": "The URI to poll for completion status.", + "type": "string" + } + }, + "schema": { + "$ref": "#/definitions/CloudHsmResource" + } + }, + "default": { + "description": "The error response describing why the operation failed.", + "schema": { + "$ref": "#/definitions/CloudHsmError" + } + } + }, + "x-ms-examples": { + "CloudHsm_Update_MaximumSet_Gen": { + "$ref": "./examples/CloudHsm_Update_MaximumSet_Gen.json" + } + } + }, + "get": { + "tags": [ + "cloudHSMs" + ], + "operationId": "CloudHsm_Get", + "description": "Gets the specified Cloud HSM.", + "x-ms-long-running-operation": true, + "parameters": [{ + "$ref": "#/parameters/SubscriptionId" + }, { + "$ref": "#/parameters/ResourceGroupName" + }, { + "$ref": "#/parameters/CloudHsmName" + }, { + "$ref": "#/parameters/ApiVersion" + } + ], + "responses": { + "200": { + "description": "Retrieved Cloud HSM", + "schema": { + "$ref": "#/definitions/CloudHsmResource" + } + }, + "default": { + "description": "The error response describing why the operation failed.", + "schema": { + "$ref": "#/definitions/CloudHsmError" + } + } + }, + "x-ms-examples": { + "CloudHsm_Get_MaximumSet_Gen": { + "$ref": "./examples/CloudHsm_Get_MaximumSet_Gen.json" + } + } + }, + "delete": { + "tags": [ + "cloudHSMs" + ], + "operationId": "CloudHsm_Delete", + "description": "Deletes the specified Cloud HSM.", + "x-ms-long-running-operation": true, + "parameters": [{ + "$ref": "#/parameters/SubscriptionId" + }, { + "$ref": "#/parameters/ResourceGroupName" + }, { + "$ref": "#/parameters/CloudHsmName" + }, { + "$ref": "#/parameters/ApiVersion" + } + ], + "responses": { + "200": { + "description": "OK Response." + }, + "202": { + "description": "Accepted" + }, + "204": { + "description": "No Content" + }, + "default": { + "description": "The error response describing why the operation failed.", + "schema": { + "$ref": "#/definitions/CloudHsmError" + } + } + }, + "x-ms-examples": { + "CloudHsm_Delete_MaximumSet_Gen": { + "$ref": "./examples/CloudHsm_Delete_MaximumSet_Gen.json" + } + } + } + }, + "/resourceprovider/api/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.HardwareSecurityModules/cloudHSMs": { + "get": { + "tags": [ + "cloudHSMs" + ], + "operationId": "CloudHsm_ListByResourceGroup", + "description": "The List operation gets information about the Cloud HSMs associated with the subscription and within the specified resource group.", + "x-ms-long-running-operation": true, + "parameters": [{ + "$ref": "#/parameters/SubscriptionId" + }, { + "$ref": "#/parameters/ResourceGroupName" + }, { + "in": "query", + "name": "$skiptoken", + "type": "string", + "description": "continuationToken value" + }, { + "$ref": "#/parameters/ApiVersion" + } + ], + "responses": { + "200": { + "description": "Get information about all Cloud HSMs in the specified resource group.", + "schema": { + "$ref": "#/definitions/CloudHsmListResult" + } + }, + "default": { + "description": "The error response describing why the operation failed.", + "schema": { + "$ref": "#/definitions/CloudHsmError" + } + } + }, + "x-ms-pageable": { + "nextLinkName": "nextLink" + }, + "x-ms-examples": { + "CloudHsm_ListByResourceGroup_MaximumSet_Gen": { + "$ref": "./examples/CloudHsm_ListByResourceGroup_MaximumSet_Gen.json" + } + } + } + }, + "/resourceprovider/api/subscriptions/{subscriptionId}/providers/Microsoft.HardwareSecurityModules/cloudHSMs": { + "get": { + "tags": [ + "cloudHSMs" + ], + "operationId": "CloudHsm_ListBySubscription", + "description": "The List operation gets information about the Cloud HSMs associated with the subscription.", + "x-ms-long-running-operation": true, + "parameters": [{ + "$ref": "#/parameters/SubscriptionId" + }, { + "in": "query", + "name": "$skiptoken", + "type": "string", + "description": "continuationToken value" + }, { + "$ref": "#/parameters/ApiVersion" + } + ], + "responses": { + "200": { + "description": "Get information about all Cloud HSMs in the specified subscription.", + "schema": { + "$ref": "#/definitions/CloudHsmListResult" + } + }, + "default": { + "description": "The error response describing why the operation failed.", + "schema": { + "$ref": "#/definitions/CloudHsmError" + } + } + }, + "x-ms-pageable": { + "nextLinkName": "nextLink" + }, + "x-ms-examples": { + "CloudHsm_ListBySubscription_MaximumSet_Gen": { + "$ref": "./examples/CloudHsm_ListBySubscription_MaximumSet_Gen.json" + } + } + } + }, + "/resourceprovider/api/providers/Microsoft.HardwareSecurityModules/operations": { + "get": { + "tags": [ + "CloudHsmOperations" + ], + "operationId": "Operations_List", + "description": "Get a list of Cloud HSM operations.", + "parameters": [{ + "$ref": "#/parameters/ApiVersion" + } + ], + "responses": { + "200": { + "description": "OK", + "schema": { + "$ref": "#/definitions/CloudHsmOperationListResult" + } + }, + "default": { + "description": "The error response describing why the operation failed.", + "schema": { + "$ref": "#/definitions/CloudHsmError" + } + } + }, + "x-ms-pageable": { + "nextLinkName": "nextLink" + }, + "x-ms-examples": { + "Operations_List_MaximumSet_Gen": { + "$ref": "./examples/Operations_List_MaximumSet_Gen.json" + }, + "Operations_List_MinimumSet_Gen": { + "$ref": "./examples/Operations_List_MinimumSet_Gen.json" + } + } + } + }, + "/resourceprovider/api/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.HardwareSecurityModules/cloudHSMs/{cloudHsmName}/privateLinkResources": { + "get": { + "tags": [ + "CloudHsmPrivateLinkResources" + ], + "operationId": "CloudHsmPrivateLinkResources_ListByResource", + "description": "Gets the private link resources supported for the cloud hsm pool.", + "x-ms-long-running-operation": true, + "parameters": [{ + "$ref": "#/parameters/SubscriptionId" + }, { + "$ref": "#/parameters/ResourceGroupName" + }, { + "$ref": "#/parameters/CloudHsmName" + }, { + "$ref": "#/parameters/ApiVersion" + } + ], + "responses": { + "200": { + "description": "Successfully retrieved private link resources.", + "schema": { + "$ref": "#/definitions/CloudHsmPrivateLinkResourceListResult" + } + }, + "default": { + "description": "The error response describing why the operation failed.", + "schema": { + "$ref": "#/definitions/CloudHsmError" + } + } + }, + "x-ms-pageable": { + "nextLinkName": "nextLink" + }, + "x-ms-examples": { + "CloudHsmPrivateLinkResources_ListByResource_MaximumSet_Gen": { + "$ref": "./examples/CloudHsmPrivateLinkResources_ListByResource_MaximumSet_Gen.json" + } + } + } + }, + "/resourceprovider/api/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.HardwareSecurityModules/cloudHSMs/{cloudHsmName}/privateLinkResources/{privateLinkResourceName}": { + "get": { + "tags": [ + "CloudHsmPrivateLinkResources" + ], + "operationId": "CloudHsmPrivateLinkResources_Get", + "description": "Gets the private link resource supported for the cloud hsm pool.", + "x-ms-long-running-operation": true, + "parameters": [{ + "$ref": "#/parameters/SubscriptionId" + }, { + "$ref": "#/parameters/ResourceGroupName" + }, { + "$ref": "#/parameters/CloudHsmName" + }, { + "$ref": "#/parameters/ApiVersion" + }, { + "in": "path", + "name": "privateLinkResourceName", + "required": true, + "type": "string", + "description": "private Link Resource name" + } + ], + "responses": { + "200": { + "description": "Successfully retrieved private link resources.", + "schema": { + "$ref": "#/definitions/PrivateLinkResource" + } + }, + "default": { + "description": "The error response describing why the operation failed.", + "schema": { + "$ref": "#/definitions/CloudHsmError" + } + } + }, + "x-ms-examples": { + "CloudHsmPrivateLinkResources_Get_MaximumSet_Gen": { + "$ref": "./examples/CloudHsmPrivateLinkResources_Get_MaximumSet_Gen.json" + } + } + } + }, + "/resourceprovider/api/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.HardwareSecurityModules/cloudHSMs/{cloudHsmName}/privateEndpointConnectionProxies/{peConnectionProxyName}/validate": { + "post": { + "tags": [ + "CloudHsmPrivateEndpointConnectionProxies" + ], + "operationId": "CloudHsmPrivateEndpointConnectionProxy_Validate", + "description": "Validates the private endpoint connection porxy of the cloud hsm pool.", + "parameters": [{ + "$ref": "#/parameters/SubscriptionId" + }, { + "$ref": "#/parameters/ResourceGroupName" + }, { + "$ref": "#/parameters/CloudHsmName" + }, { + "$ref": "#/parameters/ApiVersion" + }, { + "in": "path", + "name": "peConnectionProxyName", + "required": true, + "type": "string", + "description": "privateEndpointConnection proxy name" + }, { + "in": "body", + "name": "body", + "x-ms-client-flatten": true, + "schema": { + "$ref": "#/definitions/PrivateEndpointConnectionProxy" + }, + "description": "Parameters to validate the PrivateEndpointConnectionProxy" + } + ], + "responses": { + "200": { + "description": "Successfully retrieved private endpoint connection proxy resource.", + "schema": { + "$ref": "#/definitions/PrivateEndpointConnectionProxy" + } + }, + "default": { + "description": "The error response describing why the operation failed.", + "schema": { + "$ref": "#/definitions/CloudHsmError" + } + } + }, + "x-ms-examples": { + "CloudHsmPrivateEndpointConnectionProxy_Validate_MaximumSet_Gen": { + "$ref": "./examples/CloudHsmPrivateEndpointConnectionProxy_Validate_MaximumSet_Gen.json" + } + } + } + }, + "/resourceprovider/api/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.HardwareSecurityModules/cloudHSMs/{cloudHsmName}/privateEndpointConnectionProxies/{peConnectionProxyName}": { + "get": { + "tags": [ + "CloudHsmPrivateEndpointConnectionProxy" + ], + "operationId": "CloudHsmPrivateEndpointConnectionProxy_Get", + "description": "Gets the private endpoint connection porxy of the cloud hsm pool.", + "x-ms-long-running-operation": true, + "parameters": [{ + "$ref": "#/parameters/SubscriptionId" + }, { + "$ref": "#/parameters/ResourceGroupName" + }, { + "$ref": "#/parameters/CloudHsmName" + }, { + "$ref": "#/parameters/ApiVersion" + }, { + "in": "path", + "name": "peConnectionProxyName", + "required": true, + "type": "string", + "description": "privateEndpointConnection proxy name" + }, { + "in": "query", + "name": "chsm-operation", + "type": "string", + "description": "cloud hsm operation name" + } + ], + "responses": { + "200": { + "description": "Successfully retrieved private endpoint connection proxy resource.", + "schema": { + "$ref": "#/definitions/PrivateEndpointConnectionProxy" + } + }, + "default": { + "description": "The error response describing why the operation failed.", + "schema": { + "$ref": "#/definitions/CloudHsmError" + } + } + }, + "x-ms-examples": { + "CloudHsmPrivateEndpointConnectionProxy_Get_MaximumSet_Gen": { + "$ref": "./examples/CloudHsmPrivateEndpointConnectionProxy_Get_MaximumSet_Gen.json" + } + } + }, + "put": { + "tags": [ + "CloudHsmPrivateEndpointConnectionProxies" + ], + "operationId": "CloudHsmPrivateEndpointConnectionProxy_Create", + "description": "Create the private endpoint connection proxy for the cloud hsm pool.", + "x-ms-long-running-operation": true, + "parameters": [{ + "$ref": "#/parameters/SubscriptionId" + }, { + "$ref": "#/parameters/ResourceGroupName" + }, { + "$ref": "#/parameters/CloudHsmName" + }, { + "$ref": "#/parameters/ApiVersion" + }, { + "in": "path", + "name": "peConnectionProxyName", + "required": true, + "type": "string", + "description": "privateEndpointConnection proxy name" + }, { + "in": "body", + "name": "body", + "x-ms-client-flatten": true, + "schema": { + "$ref": "#/definitions/PrivateEndpointConnectionProxy" + }, + "description": "Parameters to create the PrivateEndpointConnectionProxy" + } + ], + "responses": { + "200": { + "description": "Successfully retrieved private endpoint connection proxy resource.", + "schema": { + "$ref": "#/definitions/PrivateEndpointConnectionProxy" + } + }, + "default": { + "description": "The error response describing why the operation failed.", + "schema": { + "$ref": "#/definitions/CloudHsmError" + } + } + }, + "x-ms-examples": { + "CloudHsmPrivateEndpointConnectionProxy_Create_MaximumSet_Gen": { + "$ref": "./examples/CloudHsmPrivateEndpointConnectionProxy_Create_MaximumSet_Gen.json" + } + } + }, + "delete": { + "tags": [ + "CloudHsmPrivateEndpointConnectionProxies" + ], + "operationId": "CloudHsmPrivateEndpointConnectionProxy_Delete", + "description": "Deletes the private endpoint connection porxy for the cloud hsm pool.", + "x-ms-long-running-operation": true, + "parameters": [{ + "$ref": "#/parameters/SubscriptionId" + }, { + "$ref": "#/parameters/ResourceGroupName" + }, { + "$ref": "#/parameters/CloudHsmName" + }, { + "$ref": "#/parameters/ApiVersion" + }, { + "in": "path", + "name": "peConnectionProxyName", + "required": true, + "type": "string", + "description": "privateEndpointConnection proxy name" + } + ], + "responses": { + "200": { + "description": "Successfully retrieved private endpoint connection proxy resource.", + "schema": { + "$ref": "#/definitions/PrivateEndpointConnectionProxy" + } + }, + "202": { + "description": "The private endpoint connection proxy is being deleted.", + "headers": { + "Retry-After": { + "description": "The recommended number of seconds to wait before calling the URI specified in the location header.", + "type": "integer", + "format": "int32" + }, + "Location": { + "description": "The URI to poll for completion status.", + "type": "string" + } + } + }, + "204": { + "description": "The private endpoint connection proxy does not exist." + }, + "default": { + "description": "The error response describing why the operation failed.", + "schema": { + "$ref": "#/definitions/CloudHsmError" + } + } + }, + "x-ms-examples": { + "CloudHsmPrivateEndpointConnectionProxy_Delete_MaximumSet_Gen": { + "$ref": "./examples/CloudHsmPrivateEndpointConnectionProxy_Delete_MaximumSet_Gen.json" + } + } + } + }, + "/resourceprovider/api/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.HardwareSecurityModules/cloudHSMs/{cloudHsmName}/privateEndpointConnections/{peConnectionName}": { + "put": { + "tags": [ + "CloudHsmPrivateEndpointConnections" + ], + "operationId": "CloudHsmPrivateEndpointConnection_Create", + "description": "Creates the private endpoint connection for the cloud hsm pool.", + "parameters": [{ + "$ref": "#/parameters/SubscriptionId" + }, { + "$ref": "#/parameters/ResourceGroupName" + }, { + "$ref": "#/parameters/CloudHsmName" + }, { + "$ref": "#/parameters/ApiVersion" + }, { + "in": "path", + "name": "peConnectionName", + "required": true, + "type": "string", + "description": "PrivateEndpointConnection name" + }, { + "in": "body", + "name": "properties", + "x-ms-client-flatten": true, + "schema": { + "$ref": "#/definitions/PrivateEndpointConnection" + }, + "description": "Parameters to validate the PrivateEndpointConnection" + } + ], + "responses": { + "200": { + "description": "The state of private endpoint connection was updated successfully.", + "headers": { + "Retry-After": { + "description": "(specified only if operation does not finish synchronously) The recommended number of seconds to wait before calling the URI specified in Azure-AsyncOperation.", + "type": "integer", + "format": "int32" + }, + "Azure-AsyncOperation": { + "description": "(specified only if operation does not finish synchronously) The URI to poll for completion status. The response of this URI may be synchronous or asynchronous.", + "type": "string" + } + }, + "schema": { + "$ref": "#/definitions/PrivateEndpointConnection" + } + }, + "default": { + "description": "The error response describing why the operation failed.", + "schema": { + "$ref": "#/definitions/CloudHsmError" + } + } + }, + "x-ms-examples": { + "CloudHsmPrivateEndpointConnection_Create_MaximumSet_Gen": { + "$ref": "./examples/CloudHsmPrivateEndpointConnection_Create_MaximumSet_Gen.json" + } + } + }, + "delete": { + "tags": [ + "CloudHsmPrivateEndpointConnections" + ], + "operationId": "CloudHsmPrivateEndpointConnection_Delete", + "description": "Deletes the private endpoint connection for the cloud hsm pool.", + "x-ms-long-running-operation": true, + "parameters": [{ + "$ref": "#/parameters/SubscriptionId" + }, { + "$ref": "#/parameters/ResourceGroupName" + }, { + "$ref": "#/parameters/CloudHsmName" + }, { + "$ref": "#/parameters/ApiVersion" + }, { + "in": "path", + "name": "peConnectionName", + "required": true, + "type": "string", + "description": "PrivateEndpointConnection name" + } + ], + "responses": { + "200": { + "description": "The private endpoint connection was successfully deleted.", + "schema": { + "$ref": "#/definitions/PrivateEndpointConnection" + } + }, + "202": { + "description": "The private endpoint connection is being deleted.", + "headers": { + "Retry-After": { + "description": "The recommended number of seconds to wait before calling the URI specified in the location header.", + "type": "integer", + "format": "int32" + }, + "Location": { + "description": "The URI to poll for completion status.", + "type": "string" + } + } + }, + "204": { + "description": "The private endpoint connection does not exist." + }, + "default": { + "description": "The error response describing why the operation failed.", + "schema": { + "$ref": "#/definitions/CloudHsmError" + } + } + }, + "x-ms-examples": { + "CloudHsmPrivateEndpointConnection_Delete_MaximumSet_Gen": { + "$ref": "./examples/CloudHsmPrivateEndpointConnection_Delete_MaximumSet_Gen.json" + } + } + }, + "get": { + "tags": [ + "CloudHsmPrivateEndpointConnections" + ], + "operationId": "CloudHsmPrivateEndpointConnection_Get", + "description": "Gets the private endpoint connection for the cloud hsm pool.", + "parameters": [{ + "$ref": "#/parameters/SubscriptionId" + }, { + "$ref": "#/parameters/ResourceGroupName" + }, { + "$ref": "#/parameters/CloudHsmName" + }, { + "$ref": "#/parameters/ApiVersion" + }, { + "in": "path", + "name": "peConnectionName", + "required": true, + "type": "string", + "description": "PrivateEndpointConnection name" + }, { + "in": "query", + "name": "chsm-operation", + "type": "string", + "description": "cloud hsm operation name" + } + ], + "responses": { + "200": { + "description": "Private endpoint connection successfully returned.", + "schema": { + "$ref": "#/definitions/PrivateEndpointConnection" + } + }, + "204": { + "description": "The private endpoint connection does not exist." + }, + "default": { + "description": "The error response describing why the operation failed.", + "schema": { + "$ref": "#/definitions/CloudHsmError" + } + } + }, + "x-ms-examples": { + "CloudHsmPrivateEndpointConnection_Get_MaximumSet_Gen": { + "$ref": "./examples/CloudHsmPrivateEndpointConnection_Get_MaximumSet_Gen.json" + } + } + } + }, + "/resourceprovider/api/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.HardwareSecurityModules/cloudHSMs/{cloudHsmName}/privateEndpointConnections": { + "get": { + "tags": [ + "CloudHsmPrivateEndpointConnections" + ], + "operationId": "CloudHsmPrivateEndpointConnection_ListByResource", + "description": "The List operation gets information about the private endpoint connections associated with the Cloud HSM", + "x-ms-long-running-operation": true, + "parameters": [{ + "$ref": "#/parameters/SubscriptionId" + }, { + "$ref": "#/parameters/ResourceGroupName" + }, { + "$ref": "#/parameters/CloudHsmName" + }, { + "$ref": "#/parameters/ApiVersion" + } + ], + "responses": { + "200": { + "description": "List of all Cloud HSM's private endpoint connections associated with the Cloud HSM.", + "schema": { + "$ref": "#/definitions/CloudHsmPrivateEndpointConnectionsListResult" + } + }, + "default": { + "description": "The error response describing why the operation failed.", + "schema": { + "$ref": "#/definitions/CloudHsmError" + } + } + }, + "x-ms-pageable": { + "nextLinkName": "nextLink" + }, + "x-ms-examples": { + "CloudHsmPrivateEndpointConnection_ListByResource_MaximumSet_Gen": { + "$ref": "./examples/CloudHsmPrivateEndpointConnection_ListByResource_MaximumSet_Gen.json" + } + } + } + } + }, + "definitions": { + "CloudHsmPartitionProperties": { + "type": "object", + "description": "The Cloud HSM Partition Properties", + "properties": { + "partitionId": { + "format": "int32", + "type": "integer", + "description": "The Cloud HSM PartitionId" + }, + "partitionState": { + "type": "string", + "description": "The Cloud HSM Partition State" + } + } + }, + "CloudHsmResource": { + "required": [ + "location" + ], + "properties": { + "name": { + "type": "string", + "readOnly": true, + "description": "The Cloud HSM resource name" + }, + "location": { + "type": "string", + "description": "The supported Azure location where the dedicated HSM should be created.", + "x-ms-mutability": [ + "create", + "read" + ] + }, + "id": { + "type": "string", + "readOnly": true, + "description": "The Cloud HSM Resource id" + }, + "sku": { + "$ref": "#/definitions/Sku" + }, + "tags": { + "type": "object", + "description": "The Cloud HSM Resource tags", + "additionalProperties": { + "type": "string", + "description": "The Cloud HSM Resource tags's additional properties" + } + }, + "type": { + "type": "string", + "readOnly": true, + "description": "The Cloud HSM Resource type" + }, + "properties": { + "x-ms-client-flatten": true, + "$ref": "#/definitions/CloudHsmResourceProperties" + } + }, + "description": "Cloud HSM resource", + "type": "object", + "x-ms-azure-resource": true + }, + "CloudHsmResourceProperties": { + "properties": { + "provisioningState": { + "type": "string", + "description": "The Cloud HSM Resource provisioningState" + }, + "autoGeneratedDomainNameLabelScope": { + "type": "string", + "description": "The Cloud HSM Resource auto-generated Domain Name Label Scope" + }, + "securityDomain": { + "$ref": "#/definitions/SecurityDomainProperties" + }, + "hsmPartitions": { + "type": "array", + "description": "An array of Cloud HSM Resource's HSM partitions", + "x-ms-identifiers": [], + "items": { + "$ref": "#/definitions/CloudHsmPartitionProperties" + } + }, + "fabricPoolState": { + "type": "string", + "description": "State of Cloud HSM Resource's Fabric Pool" + } + }, + "description": "Properties of a Cloud HSM resource.", + "type": "object" + }, + "CloudHsmPatchParameters": { + "properties": { + "tags": { + "type": "object", + "additionalProperties": { + "type": "string" + }, + "description": "Resource tags" + } + }, + "description": "Patchable properties of the dedicated HSM", + "type": "object" + }, + "ConnectionDetails": { + "type": "object", + "description": "Connection details for RemotePrivateEndpoint", + "properties": { + "id": { + "type": "string", + "description": "identifier" + }, + "privateIpAddress": { + "type": "string", + "description": "private Ip Address" + }, + "linkIdentifier": { + "type": "string", + "description": "link Identifier value" + }, + "groupId": { + "type": "string", + "description": "group Id" + }, + "memberName": { + "type": "string", + "description": "member name" + } + } + }, + "ExplicitDnsSetting": { + "type": "object", + "description": "DNS settings for GroupConnectivity", + "properties": { + "fqdn": { + "type": "string", + "description": "Fully qualified domain name" + }, + "aRecord": { + "type": "string", + "description": "aRecord value" + }, + "dnsZoneName": { + "type": "string", + "description": "dnsZoneName value" + } + } + }, + "GroupConnectivityInformation": { + "type": "object", + "description": "GroupConnectivity information for PrivateLinkServiceProxy", + "properties": { + "groupId": { + "type": "string", + "description": "GroupConnectivity's group id" + }, + "memberName": { + "type": "string", + "description": "GroupConnectivity's member name" + }, + "customerVisibleFqdns": { + "type": "array", + "description": "GroupConnectivity's customer visible Fully qualified domain name", + "items": { + "type": "string" + } + }, + "explicitDnsSettings": { + "type": "array", + "description": "GroupConnectivity's explicit Dns Settings", + "x-ms-identifiers": [], + "items": { + "$ref": "#/definitions/ExplicitDnsSetting" + } + }, + "internalFqdn": { + "type": "string", + "description": "GroupConnectivity's internal Fully qualified domain name" + } + } + }, + "PrivateEndpointConnection": { + "type": "object", + "description": "private endpoint connection details", + "x-ms-azure-resource": true, + "properties": { + "id": { + "type": "string", + "description": "identifier", + "readOnly": true + }, + "name": { + "type": "string", + "description": "Private Endpoint Connection name", + "readOnly": true + }, + "type": { + "type": "string", + "description": "Private Endpoint Connection type", + "readOnly": true + }, + "location": { + "type": "string", + "description": "The supported Azure location where the dedicated HSM should be created.", + "x-ms-mutability": [ + "create", + "read" + ] + }, + "etag": { + "type": "string", + "description": "ETAG value for Private Endpoint Connection entry" + }, + "properties": { + "x-ms-client-flatten": true, + "$ref": "#/definitions/PrivateEndpointConnectionProperties" + } + } + }, + "PrivateEndpointConnectionProperties": { + "type": "object", + "description": "private endpoint connection properties information", + "properties": { + "provisioningState": { + "type": "string", + "description": "provisioning state for Private Endpoint Connection properties" + }, + "privateEndpoint": { + "$ref": "#/definitions/PrivateEndpoint" + }, + "privateLinkServiceConnectionState": { + "$ref": "#/definitions/PrivateLinkServiceConnectionState" + } + } + }, + "PrivateEndpointConnectionProxy": { + "type": "object", + "description": "private endpoint connection proxy information", + "x-ms-azure-resource": true, + "properties": { + "id": { + "type": "string", + "description": "identifier", + "readOnly": true + }, + "name": { + "type": "string", + "description": "Private Endpoint Connection proxy name", + "readOnly": true + }, + "type": { + "type": "string", + "description": "Private Endpoint Connection proxy type", + "readOnly": true + }, + "location": { + "type": "string", + "description": "The supported Azure location where the dedicated HSM should be created.", + "x-ms-mutability": [ + "create", + "read" + ] + }, + "etag": { + "type": "string", + "description": "ETAG value for Private Endpoint Connection proxy entry" + }, + "properties": { + "x-ms-client-flatten": true, + "$ref": "#/definitions/RemotePrivateEndpoint" + } + } + }, + "PrivateLinkServiceConnection": { + "type": "object", + "description": "private link service connection information", + "properties": { + "name": { + "type": "string", + "description": "Private link service connection name" + }, + "groupIds": { + "type": "array", + "description": "List of Private link service connection group Id", + "items": { + "type": "string", + "description": "item for group id for Private link service connection" + } + }, + "requestMessage": { + "type": "string", + "description": "Request message for Private link service connection" + } + } + }, + "PrivateLinkServiceProxy": { + "type": "object", + "description": "private link service proxy information", + "properties": { + "id": { + "type": "string", + "description": "identifier for private link service proxy" + }, + "remotePrivateLinkServiceConnectionState": { + "$ref": "#/definitions/RemotePrivateLinkServiceConnectionState" + }, + "remotePrivateEndpointConnection": { + "$ref": "#/definitions/RemotePrivateEndpointConnection" + }, + "groupConnectivityInformation": { + "type": "array", + "description": "list of group connectivity information for private link service proxy", + "x-ms-identifiers": [], + "items": { + "$ref": "#/definitions/GroupConnectivityInformation" + } + } + } + }, + "RemotePrivateEndpoint": { + "type": "object", + "description": "Remote private endpoint information", + "properties": { + "id": { + "type": "string", + "description": "identifier for remote private endpoint" + }, + "manualPrivateLinkServiceConnections": { + "type": "array", + "description": "list of manual private link service connections", + "x-ms-identifiers": [], + "items": { + "$ref": "#/definitions/PrivateLinkServiceConnection" + } + }, + "privateLinkServiceConnections": { + "type": "array", + "description": "list of private link service connections", + "x-ms-identifiers": [], + "items": { + "$ref": "#/definitions/PrivateLinkServiceConnection" + } + }, + "privateLinkServiceProxies": { + "type": "array", + "description": "list of private link service proxies", + "items": { + "$ref": "#/definitions/PrivateLinkServiceProxy" + } + }, + "connectionDetails": { + "type": "array", + "description": "list of connection details for remote private endpoint", + "items": { + "$ref": "#/definitions/ConnectionDetails" + } + } + } + }, + "RemotePrivateEndpointConnection": { + "type": "object", + "description": "Remote private endpoint connection information", + "properties": { + "id": { + "type": "string", + "description": "identifier for remote private endpoint connection" + } + } + }, + "RemotePrivateLinkServiceConnectionState": { + "type": "object", + "description": "Remote private link service connection state information", + "properties": { + "status": { + "type": "string", + "description": "status of Remote private link service connection state" + }, + "description": { + "type": "string", + "description": "description of Remote private link service connection state" + }, + "actionsRequired": { + "type": "string", + "description": "details of action if any required for Remote private link service connection state" + } + } + }, + "SecurityDomainProperties": { + "type": "object", + "description": "Security domain properties information", + "properties": { + "fipsState": { + "format": "int32", + "type": "integer", + "description": "FIPS state information for security domain" + }, + "activationStatus": { + "type": "string", + "description": "status of security domain activation" + } + } + }, + "Sku": { + "type": "object", + "description": "Cloud Hsm SKU information", + "properties": { + "family": { + "type": "string", + "description": "Sku family" + }, + "name": { + "type": "string", + "description": "Sku name" + }, + "capacity": { + "format": "int32", + "type": "integer", + "description": "Sku capacity" + } + } + }, + "CloudHsmError": { + "properties": { + "error": { + "$ref": "#/definitions/Error" + } + }, + "description": "The Cloud HSM error details", + "type": "object" + }, + "Error": { + "properties": { + "code": { + "type": "string", + "readOnly": true, + "description": "The error code." + }, + "message": { + "type": "string", + "readOnly": true, + "description": "The error message." + }, + "innererror": { + "$ref": "#/definitions/Error" + } + }, + "type": "object", + "description": "Error details" + }, + "CloudHsmListResult": { + "properties": { + "value": { + "type": "array", + "items": { + "$ref": "#/definitions/CloudHsmResource" + }, + "description": "The list of Cloud HSMs." + }, + "nextLink": { + "type": "string", + "description": "The URL to get the next set of Cloud HSMs." + } + }, + "description": "List of Cloud HSMs", + "type": "object" + }, + "CloudHsmOperation": { + "description": "REST API operation", + "type": "object", + "properties": { + "name": { + "description": "The name of the Cloud HSM Resource Provider Operation.", + "type": "string" + }, + "isDataAction": { + "description": "Gets or sets a value indicating whether it is a data plane action", + "type": "boolean", + "readOnly": true + }, + "display": { + "properties": { + "provider": { + "description": "The Resource Provider of the operation", + "type": "string" + }, + "resource": { + "description": "Resource on which the operation is performed.", + "type": "string" + }, + "operation": { + "description": "Operation type: Read, write, delete, etc.", + "type": "string" + }, + "description": { + "description": "The object that represents the operation.", + "type": "string" + } + }, + "description": "The display string.", + "type": "object" + } + } + }, + "CloudHsmOperationListResult": { + "type": "object", + "description": "Result of the request to list Cloud HSM Provider operations. It contains a list of operations.", + "properties": { + "value": { + "type": "array", + "items": { + "$ref": "#/definitions/CloudHsmOperation" + }, + "x-ms-identifiers": [], + "description": "List of Cloud HSM Resource Provider operations." + }, + "nextLink": { + "type": "string", + "description": "The URL to get the next set of operations." + } + } + }, + "CloudHsmPrivateLinkResourceListResult": { + "properties": { + "value": { + "type": "array", + "description": "Array of private link resources", + "items": { + "$ref": "#/definitions/PrivateLinkResource" + } + }, + "nextLink": { + "type": "string", + "description": "The URL to get the next set of operations." + } + }, + "description": "A list of private link resources", + "type": "object" + }, + "PrivateLinkResource": { + "properties": { + "id": { + "type": "string", + "description": "identifier", + "readOnly": true + }, + "name": { + "type": "string", + "description": "Private Endpoint Connection proxy name", + "readOnly": true + }, + "type": { + "type": "string", + "description": "Private Endpoint Connection proxy type", + "readOnly": true + }, + "properties": { + "x-ms-client-flatten": true, + "$ref": "#/definitions/PrivateLinkResourceProperties" + } + }, + "description": "A private link resource", + "type": "object" + }, + "PrivateLinkResourceProperties": { + "properties": { + "groupId": { + "description": "Group identifier of private link resource.", + "type": "string", + "readOnly": true + }, + "requiredMembers": { + "description": "Required member names of private link resource.", + "type": "array", + "items": { + "type": "string" + }, + "readOnly": true + }, + "requiredZoneNames": { + "type": "array", + "items": { + "type": "string" + }, + "description": "Required DNS zone names of the the private link resource." + } + }, + "description": "Properties of a private link resource.", + "type": "object" + }, + "CloudHsmPrivateEndpointConnectionsListResult": { + "properties": { + "value": { + "type": "array", + "items": { + "$ref": "#/definitions/PrivateEndpointConnection" + }, + "description": "The private endpoint connection associated with a cloud HSM Pools." + }, + "nextLink": { + "type": "string", + "description": "The URL to get the next set of cloud HSM Pools." + } + }, + "description": "List of private endpoint connections associated with a cloud HSM Pools", + "type": "object" + }, + "PrivateEndpoint": { + "properties": { + "id": { + "readOnly": true, + "type": "string", + "description": "Full identifier of the private endpoint resource." + } + }, + "description": "Private endpoint object.", + "type": "object" + }, + "PrivateLinkServiceConnectionState": { + "properties": { + "status": { + "$ref": "#/definitions/PrivateEndpointServiceConnectionStatus", + "description": "Indicates whether the connection has been approved, rejected or removed by the key vault owner." + }, + "description": { + "type": "string", + "description": "The reason for approval or rejection." + }, + "actionsRequired": { + "type": "string", + "description": "A message indicating if changes on the service provider require any updates on the consumer.", + "enum": [ + "None" + ], + "x-ms-enum": { + "name": "ActionsRequired", + "modelAsString": true + } + } + }, + "description": "An object that represents the approval state of the private link connection.", + "type": "object" + }, + "PrivateEndpointServiceConnectionStatus": { + "type": "string", + "description": "The private endpoint connection status.", + "enum": [ + "Pending", + "Approved", + "Rejected", + "Disconnected" + ], + "x-ms-enum": { + "name": "PrivateEndpointServiceConnectionStatus", + "modelAsString": true + } + } + }, + "parameters": { + "SubscriptionId": { + "name": "subscriptionId", + "in": "path", + "required": true, + "type": "string", + "format": "uuid", + "description": "The ID of the target subscription.", + "minLength": 1 + }, + "ApiVersion": { + "name": "api-version", + "in": "query", + "required": true, + "type": "string", + "description": "The API version to use for this operation.", + "minLength": 1 + }, + "ResourceGroupName": { + "name": "resourceGroupName", + "in": "path", + "required": true, + "type": "string", + "description": "The name of the resource group within the user's subscription. The name is case insensitive.", + "pattern": "^[-\\w\\._\\(\\)]+$", + "minLength": 1, + "maxLength": 90, + "x-ms-parameter-location": "method" + }, + "CloudHsmName": { + "name": "cloudHsmName", + "in": "path", + "required": true, + "type": "string", + "description": "The name of the Cloud HSM within the specified resource group. Cloud HSM names must be between 3 and 24 characters in length.", + "pattern": "^[a-zA-Z0-9-]{3,24}$", + "maxLength": 24, + "minLength": 3, + "x-ms-parameter-location": "method" + } + } +} diff --git a/specification/hardwaresecuritymodules/resource-manager/Microsoft.HardwareSecurityModules/preview/2022-03-31-preview/examples/CloudHsmPrivateEndpointConnectionProxy_Create_MaximumSet_Gen.json b/specification/hardwaresecuritymodules/resource-manager/Microsoft.HardwareSecurityModules/preview/2022-03-31-preview/examples/CloudHsmPrivateEndpointConnectionProxy_Create_MaximumSet_Gen.json new file mode 100644 index 000000000000..396900af6f17 --- /dev/null +++ b/specification/hardwaresecuritymodules/resource-manager/Microsoft.HardwareSecurityModules/preview/2022-03-31-preview/examples/CloudHsmPrivateEndpointConnectionProxy_Create_MaximumSet_Gen.json @@ -0,0 +1,106 @@ +{ + "parameters": { + "subscriptionId": "00000000-0000-0000-0000-000000000000", + "resourceGroupName": "rgcloudhsm", + "cloudHsmName": "chsm1", + "api-version": "2022-03-31-preview", + "peConnectionProxyName": "sample-pe", + "body": { + "properties": { + "id": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/rgcloudhsm/providers/Microsoft.Network/privateEndpoints/sample-pe", + "privateLinkServiceConnections": [{ + "name": "sample-pls", + "groupIds": [ + "{groupIdFromServiceGetAPI}" + ], + "requestMessage": "Please approve my connection, thanks." + } + ], + "privateLinkServiceProxies": [{ + "id": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/rgcloudhsm/providers/Microsoft.Network/privateEndpoints/sample-pe/privateLinkServiceProxies/sample-pls-proxy.00000000-0000-0000-0000-000000000000", + "groupConnectivityInformation": [{ + "groupId": "cassandra", + "memberName": "cassandra_r1", + "explicitDnsSettings": [{ + "fqdn": "FQDN1", + "aRecord": "vault", + "dnsZoneName": "privatelink.cosmos.azure.net" + } + ], + "customerVisibleFqdns": [ + "contoso_r1.cassandra.cosmos.azure.com" + ], + "internalFqdn": "contoso_r1.cassandra.cosmos.azure.com" + } + ] + } + ], + "connectionDetails": [{ + "id": "{id1}", + "privateIpAddress": "10.0.0.4", + "linkIdentifier": "53236", + "groupId": "cassandra", + "memberName": "cassandra_r1" + } + ] + } + } + }, + "responses": { + "200": { + "body": { + "id": "/subscriptions/00000000-0000-0000-0000-000000000000/rgcloudhsm/providers/Microsoft.HardwareSecurityModules/cloudHSMs/chsm1/privateEndpointConnectionProxies/sample-pe.00000000-0000-0000-0000-000000000000", + "name": "sample-pe.00000000-0000-0000-0000-000000000000", + "type": "Microsoft.HardwareSecurityModules/cloudHSMs/privateEndpointConnectionProxies", + "location": "eastus2", + "etag": "", + "properties": { + "id": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/rgcloudhsm/providers/Microsoft.Network/privateEndpoints/sample-pe", + "privateLinkServiceConnections": [{ + "name": "sample-pls", + "groupIds": [ + "{groupIdFromServiceGetAPI}" + ], + "requestMessage": "Please approve my connection, thanks." + } + ], + "privateLinkServiceProxies": [{ + "id": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/rgcloudhsm/providers/Microsoft.Network/privateEndpoints/sample-pe/privateLinkServiceProxies/sample-pls-proxy.00000000-0000-0000-0000-000000000000", + "remotePrivateLinkServiceConnectionState": { + "status": "Approved", + "description": "Auto-approved", + "actionsRequired": "None" + }, + "remotePrivateEndpointConnection": { + "id": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/rgcloudhsm/providers/Microsoft.HardwareSecurityModules/cloudHSMs/chsm1/privateEndpointConnections/sample-pec" + }, + "groupConnectivityInformation": [{ + "groupId": "cassandra", + "memberName": "cassandra_r1", + "customerVisibleFqdns": [ + "contoso_r1.cassandra.cosmos.azure.com" + ], + "explicitDnsSettings": [{ + "fqdn": "FQDN1", + "aRecord": "vault", + "dnsZoneName": "privatelink.cosmos.azure.net" + } + ], + "internalFqdn": "contoso_r1.cassandra.cosmos.azure.com" + } + ] + } + ], + "connectionDetails": [{ + "id": "{id1}", + "privateIpAddress": "10.0.0.4", + "linkIdentifier": "53236", + "groupId": "cassandra", + "memberName": "cassandra_r1" + } + ] + } + } + } + } +} diff --git a/specification/hardwaresecuritymodules/resource-manager/Microsoft.HardwareSecurityModules/preview/2022-03-31-preview/examples/CloudHsmPrivateEndpointConnectionProxy_Delete_MaximumSet_Gen.json b/specification/hardwaresecuritymodules/resource-manager/Microsoft.HardwareSecurityModules/preview/2022-03-31-preview/examples/CloudHsmPrivateEndpointConnectionProxy_Delete_MaximumSet_Gen.json new file mode 100644 index 000000000000..39e54830ee42 --- /dev/null +++ b/specification/hardwaresecuritymodules/resource-manager/Microsoft.HardwareSecurityModules/preview/2022-03-31-preview/examples/CloudHsmPrivateEndpointConnectionProxy_Delete_MaximumSet_Gen.json @@ -0,0 +1,72 @@ +{ + "parameters": { + "subscriptionId": "00000000-0000-0000-0000-000000000000", + "resourceGroupName": "rgcloudhsm", + "cloudHsmName": "chsm1", + "api-version": "2022-03-31-preview", + "peConnectionProxyName": "sample-pe" + }, + "responses": { + "200": { + "body": { + "id": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/rgcloudhsm/providers/Microsoft.Network/privateEndpoints/sample-pe", + "name": "sample-pe", + "type": "Microsoft.HardwareSecurityModules/cloudHSMs/privateEndpointConnectionProxies", + "location": "eastus2", + "etag": "", + "properties": { + "id": "/subscriptions/00000000-0000-0000-0000-000000000000/rgcloudhsm/providers/Microsoft.HardwareSecurityModules/cloudHSMs/chsm1/privateEndpointConnectionProxies/sample-pe.00000000-0000-0000-0000-000000000000", + "privateLinkServiceConnections": [{ + "name": "sample-pls", + "groupIds": [ + "{groupIdFromServiceGetAPI}" + ], + "requestMessage": "Please approve my connection, thanks." + } + ], + "privateLinkServiceProxies": [{ + "id": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/rgcloudhsm/providers/Microsoft.Network/privateEndpoints/sample-pe/privateLinkServiceProxies/sample-pls-proxy.00000000-0000-0000-0000-000000000000", + "remotePrivateLinkServiceConnectionState": { + "status": "Approved", + "description": "Auto-approved", + "actionsRequired": "None" + }, + "remotePrivateEndpointConnection": { + "id": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/rgcloudhsm/providers/Microsoft.HardwareSecurityModules/cloudHSMs/chsm1/privateEndpointConnections/sample-pec" + }, + "groupConnectivityInformation": [{ + "groupId": "cassandra", + "memberName": "cassandra_r1", + "customerVisibleFqdns": [ + "contoso_r1.cassandra.cosmos.azure.com" + ], + "explicitDnsSettings": [{ + "fqdn": "FQDN1", + "aRecord": "vault", + "dnsZoneName": "privatelink.cosmos.azure.net" + } + ], + "internalFqdn": "contoso_r1.cassandra.cosmos.azure.com" + } + ] + } + ], + "connectionDetails": [{ + "id": "{id1}", + "privateIpAddress": "10.0.0.4", + "linkIdentifier": "53236", + "groupId": "cassandra", + "memberName": "cassandra_r1" + } + ] + } + } + }, + "202": { + "headers": { + "location": "https://contoso.com/operationstatus" + } + }, + "204": {} + } +} diff --git a/specification/hardwaresecuritymodules/resource-manager/Microsoft.HardwareSecurityModules/preview/2022-03-31-preview/examples/CloudHsmPrivateEndpointConnectionProxy_Get_MaximumSet_Gen.json b/specification/hardwaresecuritymodules/resource-manager/Microsoft.HardwareSecurityModules/preview/2022-03-31-preview/examples/CloudHsmPrivateEndpointConnectionProxy_Get_MaximumSet_Gen.json new file mode 100644 index 000000000000..3734edeb4066 --- /dev/null +++ b/specification/hardwaresecuritymodules/resource-manager/Microsoft.HardwareSecurityModules/preview/2022-03-31-preview/examples/CloudHsmPrivateEndpointConnectionProxy_Get_MaximumSet_Gen.json @@ -0,0 +1,66 @@ +{ + "parameters": { + "subscriptionId": "00000000-0000-0000-0000-000000000000", + "resourceGroupName": "rgcloudhsm", + "cloudHsmName": "chsm1", + "api-version": "2022-03-31-preview", + "peConnectionProxyName": "sample-pe" + }, + "responses": { + "200": { + "body": { + "id": "/subscriptions/00000000-0000-0000-0000-000000000000/rgcloudhsm/providers/Microsoft.HardwareSecurityModules/cloudHSMs/chsm1/privateEndpointConnectionProxies/sample-pe.00000000-0000-0000-0000-000000000000", + "name": "sample-pe.00000000-0000-0000-0000-000000000000", + "type": "Microsoft.HardwareSecurityModules/cloudHSMs/privateEndpointConnectionProxies", + "location": "eastus2", + "etag": "", + "properties": { + "id": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/rgcloudhsm/providers/Microsoft.Network/privateEndpoints/sample-pe", + "privateLinkServiceConnections": [{ + "name": "sample-pls", + "groupIds": [ + "{groupIdFromServiceGetAPI}" + ], + "requestMessage": "Please approve my connection, thanks." + } + ], + "privateLinkServiceProxies": [{ + "id": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/rgcloudhsm/providers/Microsoft.Network/privateEndpoints/sample-pe/privateLinkServiceProxies/sample-pls-proxy.00000000-0000-0000-0000-000000000000", + "remotePrivateLinkServiceConnectionState": { + "status": "Approved", + "description": "Auto-approved", + "actionsRequired": "None" + }, + "remotePrivateEndpointConnection": { + "id": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/rgcloudhsm/providers/Microsoft.HardwareSecurityModules/cloudHSMs/chsm1/privateEndpointConnections/sample-pec" + }, + "groupConnectivityInformation": [{ + "groupId": "cassandra", + "memberName": "cassandra_r1", + "customerVisibleFqdns": [ + "contoso_r1.cassandra.cosmos.azure.com" + ], + "explicitDnsSettings": [{ + "fqdn": "FQDN1", + "aRecord": "vault", + "dnsZoneName": "privatelink.cosmos.azure.net" + } + ], + "internalFqdn": "contoso_r1.cassandra.cosmos.azure.com" + } + ] + } + ], + "connectionDetails": [{ + "id": "{id1}", + "privateIpAddress": "10.0.0.4", + "linkIdentifier": "53236", + "groupId": "cassandra", + "memberName": "cassandra_r1" + } + ] + } + } + } + } +} diff --git a/specification/hardwaresecuritymodules/resource-manager/Microsoft.HardwareSecurityModules/preview/2022-03-31-preview/examples/CloudHsmPrivateEndpointConnectionProxy_Validate_MaximumSet_Gen.json b/specification/hardwaresecuritymodules/resource-manager/Microsoft.HardwareSecurityModules/preview/2022-03-31-preview/examples/CloudHsmPrivateEndpointConnectionProxy_Validate_MaximumSet_Gen.json new file mode 100644 index 000000000000..8b95994b6e6a --- /dev/null +++ b/specification/hardwaresecuritymodules/resource-manager/Microsoft.HardwareSecurityModules/preview/2022-03-31-preview/examples/CloudHsmPrivateEndpointConnectionProxy_Validate_MaximumSet_Gen.json @@ -0,0 +1,100 @@ +{ + "parameters": { + "subscriptionId": "00000000-0000-0000-0000-000000000000", + "resourceGroupName": "rgcloudhsm", + "cloudHsmName": "chsm1", + "api-version": "2022-03-31-preview", + "peConnectionProxyName": "sample-pe", + "body": { + "location": "", + "etag": "", + "properties": { + "id": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/rgcloudhsm/providers/Microsoft.Network/privateEndpoints/sample-pe", + "privateLinkServiceConnections": [{ + "name": "sample-pls", + "groupIds": [ + "{groupIdFromServiceGetAPI}" + ], + "requestMessage": "Please approve my connection, thanks." + } + ], + "privateLinkServiceProxies": [{ + "id": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/rgcloudhsm/providers/Microsoft.Network/privateEndpoints/sample-pe/privateLinkServiceProxies/sample-pls-proxy.00000000-0000-0000-0000-000000000000", + "groupConnectivityInformation": [{ + "groupId": "cassandra", + "memberName": "cassandra_r1", + "explicitDnsSettings": [{ + "fqdn": "FQDN1", + "aRecord": "vault", + "dnsZoneName": "privatelink.cosmos.azure.net" + } + ], + "customerVisibleFqdns": [ + "contoso_r1.cassandra.cosmos.azure.com" + ], + "internalFqdn": "contoso_r1.cassandra.cosmos.azure.com" + } + ] + } + ], + "connectionDetails": [{ + "id": "{id1}", + "privateIpAddress": "10.0.0.4", + "linkIdentifier": "53236", + "groupId": "cassandra", + "memberName": "cassandra_r1" + } + ] + } + } + }, + "responses": { + "200": { + "body": { + "id": "/subscriptions/00000000-0000-0000-0000-000000000000/rgcloudhsm/providers/Microsoft.HardwareSecurityModules/cloudHSMs/chsm1/privateEndpointConnectionProxies/sample-pe.00000000-0000-0000-0000-000000000000", + "name": "sample-pe.00000000-0000-0000-0000-000000000000", + "type": "Microsoft.HardwareSecurityModules/cloudHSMs/privateEndpointConnectionProxies", + "location": "eastus2", + "etag": "", + "properties": { + "id": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/rgcloudhsm/providers/Microsoft.Network/privateEndpoints/sample-pe", + "privateLinkServiceConnections": [{ + "name": "sample-pls", + "groupIds": [ + "{groupIdFromServiceGetAPI}" + ], + "requestMessage": "Please approve my connection, thanks." + } + ], + "privateLinkServiceProxies": [{ + "id": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/rgcloudhsm/providers/Microsoft.Network/privateEndpoints/sample-pe/privateLinkServiceProxies/sample-pls-proxy.00000000-0000-0000-0000-000000000000", + "groupConnectivityInformation": [{ + "groupId": "cassandra", + "memberName": "cassandra_r1", + "explicitDnsSettings": [{ + "fqdn": "FQDN1", + "aRecord": "vault", + "dnsZoneName": "privatelink.cosmos.azure.net" + } + ], + "customerVisibleFqdns": [ + "contoso_r1.cassandra.cosmos.azure.com" + ], + "internalFqdn": "contoso_r1.cassandra.cosmos.azure.com" + } + ] + } + ], + "connectionDetails": [{ + "id": "{id1}", + "privateIpAddress": "10.0.0.4", + "linkIdentifier": "53236", + "groupId": "cassandra", + "memberName": "cassandra_r1" + } + ] + } + } + } + } +} diff --git a/specification/hardwaresecuritymodules/resource-manager/Microsoft.HardwareSecurityModules/preview/2022-03-31-preview/examples/CloudHsmPrivateEndpointConnection_Create_MaximumSet_Gen.json b/specification/hardwaresecuritymodules/resource-manager/Microsoft.HardwareSecurityModules/preview/2022-03-31-preview/examples/CloudHsmPrivateEndpointConnection_Create_MaximumSet_Gen.json new file mode 100644 index 000000000000..1ed94ff054b2 --- /dev/null +++ b/specification/hardwaresecuritymodules/resource-manager/Microsoft.HardwareSecurityModules/preview/2022-03-31-preview/examples/CloudHsmPrivateEndpointConnection_Create_MaximumSet_Gen.json @@ -0,0 +1,37 @@ +{ + "parameters": { + "subscriptionId": "00000000-0000-0000-0000-000000000000", + "resourceGroupName": "rgcloudhsm", + "cloudHsmName": "chsm1", + "api-version": "2022-03-31-preview", + "peConnectionName": "sample-pec", + "properties": { + "properties": { + "privateLinkServiceConnectionState": { + "status": "Approved", + "description": "My name is Joe and I'm approving this." + } + } + } + }, + "responses": { + "200": { + "body": { + "id": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/rgcloudhsm/providers/Microsoft.HardwareSecurityModules/cloudHSMs/chsm1/privateEndpointConnections/sample-pec", + "name": "sample-pec", + "type": "Microsoft.HardwareSecurityModules/cloudHSMs/privateEndpointConnections", + "properties": { + "provisioningState": "Succeeded", + "privateEndpoint": { + "id": "/subscriptions/00000000-0000-0000-1234-000000000000/resourceGroups/rgcloudhsm/providers/Microsoft.Network/privateEndpoints/sample-pec" + }, + "privateLinkServiceConnectionState": { + "status": "Approved", + "description": "My name is Joe and I'm approving this.", + "actionsRequired": "None" + } + } + } + } + } +} \ No newline at end of file diff --git a/specification/hardwaresecuritymodules/resource-manager/Microsoft.HardwareSecurityModules/preview/2022-03-31-preview/examples/CloudHsmPrivateEndpointConnection_Delete_MaximumSet_Gen.json b/specification/hardwaresecuritymodules/resource-manager/Microsoft.HardwareSecurityModules/preview/2022-03-31-preview/examples/CloudHsmPrivateEndpointConnection_Delete_MaximumSet_Gen.json new file mode 100644 index 000000000000..4473ac125d12 --- /dev/null +++ b/specification/hardwaresecuritymodules/resource-manager/Microsoft.HardwareSecurityModules/preview/2022-03-31-preview/examples/CloudHsmPrivateEndpointConnection_Delete_MaximumSet_Gen.json @@ -0,0 +1,28 @@ +{ + "parameters": { + "subscriptionId": "00000000-0000-0000-0000-000000000000", + "resourceGroupName": "rgcloudhsm", + "cloudHsmName": "chsm1", + "api-version": "2022-03-31-preview", + "peConnectionName": "sample-pec" + }, + "responses": { + "200": { + "body": { + "id": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/rgcloudhsm/providers/Microsoft.HardwareSecurityModules/cloudHSMs/chsm1/privateEndpointConnections/sample-pec", + "name": "sample-pec", + "type": "Microsoft.HardwareSecurityModules/cloudHSMs/privateEndpointConnections", + "properties": { + "provisioningState": "Disconnected" + } + } + }, + "202": { + "headers": { + "Retry-After": "60", + "location": "https://some.endpoint.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/rgcloudhsm/providers/Microsoft.HardwareSecurityModules/cloudHSMs/chsm1/privateEndpointConnections/sample-pec?operationid=25334578" + } + }, + "204": {} + } +} diff --git a/specification/hardwaresecuritymodules/resource-manager/Microsoft.HardwareSecurityModules/preview/2022-03-31-preview/examples/CloudHsmPrivateEndpointConnection_Get_MaximumSet_Gen.json b/specification/hardwaresecuritymodules/resource-manager/Microsoft.HardwareSecurityModules/preview/2022-03-31-preview/examples/CloudHsmPrivateEndpointConnection_Get_MaximumSet_Gen.json new file mode 100644 index 000000000000..0b647e53d17c --- /dev/null +++ b/specification/hardwaresecuritymodules/resource-manager/Microsoft.HardwareSecurityModules/preview/2022-03-31-preview/examples/CloudHsmPrivateEndpointConnection_Get_MaximumSet_Gen.json @@ -0,0 +1,32 @@ +{ + "parameters": { + "subscriptionId": "00000000-0000-0000-0000-000000000000", + "resourceGroupName": "rgcloudhsm", + "cloudHsmName": "chsm1", + "api-version": "2022-03-31-preview", + "peConnectionName": "sample-pec" + }, + "responses": { + "200": { + "body": { + "id": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/rgcloudhsm/providers/Microsoft.HardwareSecurityModules/cloudHSMs/chsm1/privateEndpointConnections/sample-pec", + "name": "sample-pec", + "type": "Microsoft.HardwareSecurityModules/cloudHSMs/privateEndpointConnections", + "properties": { + "provisioningState": "Succeeded", + "privateEndpoint": { + "id": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/sample-group/providers/Microsoft.Network/privateEndpoints/sample-pec" + }, + "privateLinkServiceConnectionState": { + "status": "Approved", + "description": "This was automatically approved by user1234@contoso.com", + "actionsRequired": "None" + } + } + } + }, + "204": { + "headers": {} + } + } +} \ No newline at end of file diff --git a/specification/hardwaresecuritymodules/resource-manager/Microsoft.HardwareSecurityModules/preview/2022-03-31-preview/examples/CloudHsmPrivateEndpointConnection_ListByResource_MaximumSet_Gen.json b/specification/hardwaresecuritymodules/resource-manager/Microsoft.HardwareSecurityModules/preview/2022-03-31-preview/examples/CloudHsmPrivateEndpointConnection_ListByResource_MaximumSet_Gen.json new file mode 100644 index 000000000000..4f4c2a568527 --- /dev/null +++ b/specification/hardwaresecuritymodules/resource-manager/Microsoft.HardwareSecurityModules/preview/2022-03-31-preview/examples/CloudHsmPrivateEndpointConnection_ListByResource_MaximumSet_Gen.json @@ -0,0 +1,49 @@ +{ + "parameters": { + "subscriptionId": "00000000-0000-0000-0000-000000000000", + "resourceGroupName": "rgcloudhsm", + "cloudHsmName": "chsm1", + "api-version": "2022-03-31-preview" + }, + "responses": { + "200": { + "body": { + "value": [{ + "id": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/rgcloudhsm/providers/Microsoft.HardwareSecurityModules/cloudHSMs/chsm1/privateEndpointConnections/sample-pec1", + "name": "chsm1", + "type": "Microsoft.HardwareSecurityModules/cloudHSMs/privateEndpointConnections", + "etag": "", + "properties": { + "provisioningState": "Succeeded", + "privateEndpoint": { + "id": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/rgcloudhsm/providers/Microsoft.Network/privateEndpoints/sample-pec1" + }, + "privateLinkServiceConnectionState": { + "status": "Approved", + "description": "This was automatically approved by user1234@contoso.com", + "actionsRequired": "None" + } + } + }, { + "id": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/rgcloudhsm/providers/Microsoft.HardwareSecurityModules/cloudHSMs/chsm1/privateEndpointConnections/sample-pec2", + "name": "chsm2", + "type": "Microsoft.HardwareSecurityModules/cloudHSMs/privateEndpointConnections", + "etag": "", + "properties": { + "provisioningState": "Succeeded", + "privateEndpoint": { + "id": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/rgcloudhsm/providers/Microsoft.Network/privateEndpoints/sample-pec2" + }, + "privateLinkServiceConnectionState": { + "status": "Approved", + "description": "This was automatically approved by user1234@contoso.com", + "actionsRequired": "None" + } + } + } + ], + "nextLink": "null" + } + } + } +} diff --git a/specification/hardwaresecuritymodules/resource-manager/Microsoft.HardwareSecurityModules/preview/2022-03-31-preview/examples/CloudHsmPrivateLinkResources_Get_MaximumSet_Gen.json b/specification/hardwaresecuritymodules/resource-manager/Microsoft.HardwareSecurityModules/preview/2022-03-31-preview/examples/CloudHsmPrivateLinkResources_Get_MaximumSet_Gen.json new file mode 100644 index 000000000000..05edde7811a7 --- /dev/null +++ b/specification/hardwaresecuritymodules/resource-manager/Microsoft.HardwareSecurityModules/preview/2022-03-31-preview/examples/CloudHsmPrivateLinkResources_Get_MaximumSet_Gen.json @@ -0,0 +1,29 @@ +{ + "parameters": { + "subscriptionId": "00000000-0000-0000-0000-000000000000", + "resourceGroupName": "rgcloudhsm", + "cloudHsmName": "chsm1", + "api-version": "2022-03-31-preview", + "privateLinkResourceName": "sample-pls" + }, + "responses": { + "200": { + "body": { + "id": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/rgcloudhsm/providers/Microsoft.HardwareSecurityModules/cloudHSMs/chsm1/privateLinkResources/sample-pls", + "name": "sample-pls", + "type": "Microsoft.HardwareSecurityModules/cloudHSMs/privateLinkResources", + "properties": { + "groupId": "cloudHsm", + "requiredMembers": [ + "hsm1", + "hsm2", + "hsm3" + ], + "requiredZoneNames": [ + "privatelink.cloudhsm.azure-int.net" + ] + } + } + } + } +} \ No newline at end of file diff --git a/specification/hardwaresecuritymodules/resource-manager/Microsoft.HardwareSecurityModules/preview/2022-03-31-preview/examples/CloudHsmPrivateLinkResources_ListByResource_MaximumSet_Gen.json b/specification/hardwaresecuritymodules/resource-manager/Microsoft.HardwareSecurityModules/preview/2022-03-31-preview/examples/CloudHsmPrivateLinkResources_ListByResource_MaximumSet_Gen.json new file mode 100644 index 000000000000..f2383d1e1d27 --- /dev/null +++ b/specification/hardwaresecuritymodules/resource-manager/Microsoft.HardwareSecurityModules/preview/2022-03-31-preview/examples/CloudHsmPrivateLinkResources_ListByResource_MaximumSet_Gen.json @@ -0,0 +1,33 @@ +{ + "parameters": { + "subscriptionId": "00000000-0000-0000-0000-000000000000", + "resourceGroupName": "rgcloudhsm", + "cloudHsmName": "chsm1", + "api-version": "2022-03-31-preview" + }, + "responses": { + "200": { + "body": { + "value": [ + { + "id": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/rgcloudhsm/providers/Microsoft.HardwareSecurityModules/cloudHSMs/chsm1/privateLinkResources/sample-pls", + "name": "sample-pls", + "type": "Microsoft.HardwareSecurityModules/cloudHSMs/privateLinkResources", + "properties": { + "groupId": "cloudHsm", + "requiredMembers": [ + "hsm1", + "hsm2", + "hsm3" + ], + "requiredZoneNames": [ + "privatelink.cloudhsm.azure-int.net" + ] + } + } + ], + "nextLink": "https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/rgcloudhsm/providers/Microsoft.HardwareSecurityModules/cloudHSMs?api-version=2022-03-31&$skiptoken=dmF1bHQtcGVza3ktanVyeS03MzA3Ng==" + } + } + } +} \ No newline at end of file diff --git a/specification/hardwaresecuritymodules/resource-manager/Microsoft.HardwareSecurityModules/preview/2022-03-31-preview/examples/CloudHsm_CreateOrUpdate_MaximumSet_Gen.json b/specification/hardwaresecuritymodules/resource-manager/Microsoft.HardwareSecurityModules/preview/2022-03-31-preview/examples/CloudHsm_CreateOrUpdate_MaximumSet_Gen.json new file mode 100644 index 000000000000..27d3736bc544 --- /dev/null +++ b/specification/hardwaresecuritymodules/resource-manager/Microsoft.HardwareSecurityModules/preview/2022-03-31-preview/examples/CloudHsm_CreateOrUpdate_MaximumSet_Gen.json @@ -0,0 +1,81 @@ +{ + "parameters": { + "subscriptionId": "00000000-0000-0000-0000-000000000000", + "resourceGroupName": "rgcloudhsm", + "cloudHsmName": "chsm1", + "api-version": "2022-03-31-preview", + "body": { + "location": "eastus2", + "sku": { + "family": "B", + "name": "Standard_B1" + }, + "tags": { + "Dept": "hsm", + "Environment": "dogfood" + }, + "properties": { + "securityDomain": { + "fipsState": 2 + } + } + } + }, + "responses": { + "200": { + "body": { + "name": "chsm1", + "location": "eastus2", + "id": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/rgcloudhsm/providers/Microsoft.HardwareSecurityModules/cloudHSMs/chsm1", + "sku": { + "family": "B", + "name": "Standard_B1" + }, + "tags": { + "Dept": "hsm", + "Environment": "dogfood" + }, + "type": "Microsoft.HardwareSecurityModules/cloudHSMs", + "properties": { + "provisioningState": "Succeeded", + "autoGeneratedDomainNameLabelScope": "TenantReuse", + "securityDomain": { + "fipsState": 2, + "activationStatus": "null" + }, + "hsmPartitions": null, + "fabricPoolState": "Started" + } + } + }, + "201": { + "headers": { + "location": "eastus2" + }, + "body": { + "name": "chsm1", + "location": "eastus2", + "id": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/rgcloudhsm/providers/Microsoft.HardwareSecurityModules/cloudHSMs/chsm1", + "sku": { + "family": "B", + "name": "Standard_B1" + }, + "tags": { + "Dept": "hsm", + "Environment": "dogfood" + }, + "type": "Microsoft.HardwareSecurityModules/cloudHSMs", + "properties": { + "provisioningState": "Succeeded", + "autoGeneratedDomainNameLabelScope": "TenantReuse", + "securityDomain": { + "fipsState": 2, + "activationStatus": "null" + }, + "hsmPartitions": null, + "fabricPoolState": "Started" + } + } + } + } +} diff --git a/specification/hardwaresecuritymodules/resource-manager/Microsoft.HardwareSecurityModules/preview/2022-03-31-preview/examples/CloudHsm_Delete_MaximumSet_Gen.json b/specification/hardwaresecuritymodules/resource-manager/Microsoft.HardwareSecurityModules/preview/2022-03-31-preview/examples/CloudHsm_Delete_MaximumSet_Gen.json new file mode 100644 index 000000000000..1c2dfefcedf9 --- /dev/null +++ b/specification/hardwaresecuritymodules/resource-manager/Microsoft.HardwareSecurityModules/preview/2022-03-31-preview/examples/CloudHsm_Delete_MaximumSet_Gen.json @@ -0,0 +1,17 @@ +{ + "parameters": { + "subscriptionId": "00000000-0000-0000-0000-000000000000", + "resourceGroupName": "rgcloudhsm", + "cloudHsmName": "chsm1", + "api-version": "2022-03-31-preview" + }, + "responses": { + "200": {}, + "202": { + "headers": { + "location": "https://some.endpoint.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/rgcloudhsm/providers/Microsoft.HardwareSecurityModules/cloudHSMs/chsm1?api-version=2022-03-31&operation=abJjb2RkIjoiAGVsZXRlTWFuYWdlZEhzbUFzeW5jYm9" + } + }, + "204": {} + } +} \ No newline at end of file diff --git a/specification/hardwaresecuritymodules/resource-manager/Microsoft.HardwareSecurityModules/preview/2022-03-31-preview/examples/CloudHsm_Get_MaximumSet_Gen.json b/specification/hardwaresecuritymodules/resource-manager/Microsoft.HardwareSecurityModules/preview/2022-03-31-preview/examples/CloudHsm_Get_MaximumSet_Gen.json new file mode 100644 index 000000000000..47baa2275fa6 --- /dev/null +++ b/specification/hardwaresecuritymodules/resource-manager/Microsoft.HardwareSecurityModules/preview/2022-03-31-preview/examples/CloudHsm_Get_MaximumSet_Gen.json @@ -0,0 +1,36 @@ +{ + "parameters": { + "subscriptionId": "00000000-0000-0000-0000-000000000000", + "resourceGroupName": "rgcloudhsm", + "cloudHsmName": "chsm1", + "api-version": "2022-03-31-preview" + }, + "responses": { + "200": { + "body": { + "name": "chsm1", + "location": "eastus2", + "id": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/rgcloudhsm/providers/Microsoft.HardwareSecurityModules/cloudHSMs/chsm1", + "sku": { + "family": "B", + "name": "Standard_B1" + }, + "tags": { + "Dept": "hsm", + "Environment": "dogfood" + }, + "type": "Microsoft.HardwareSecurityModules/cloudHSMs", + "properties": { + "provisioningState": "Succeeded", + "autoGeneratedDomainNameLabelScope": "TenantReuse", + "securityDomain": { + "fipsState": 2, + "activationStatus": "null" + }, + "hsmPartitions": null, + "fabricPoolState": "Started" + } + } + } + } +} diff --git a/specification/hardwaresecuritymodules/resource-manager/Microsoft.HardwareSecurityModules/preview/2022-03-31-preview/examples/CloudHsm_ListByResourceGroup_MaximumSet_Gen.json b/specification/hardwaresecuritymodules/resource-manager/Microsoft.HardwareSecurityModules/preview/2022-03-31-preview/examples/CloudHsm_ListByResourceGroup_MaximumSet_Gen.json new file mode 100644 index 000000000000..0419bb603bef --- /dev/null +++ b/specification/hardwaresecuritymodules/resource-manager/Microsoft.HardwareSecurityModules/preview/2022-03-31-preview/examples/CloudHsm_ListByResourceGroup_MaximumSet_Gen.json @@ -0,0 +1,67 @@ +{ + "parameters": { + "subscriptionId": "00000000-0000-0000-0000-000000000000", + "resourceGroupName": "rgcloudhsm", + "api-version": "2022-03-31-preview" + }, + "responses": { + "200": { + "body": { + "value": [{ + "name": "chsm1", + "location": "eastus2", + "id": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/rgcloudhsm/providers/Microsoft.HardwareSecurityModules/cloudHSMs/chsm1", + "sku": { + "family": "tfbd", + "name": "pxmphmkdgnffyqs", + "capacity": 25 + }, + "sku": { + "family": "B", + "name": "Standard_B1" + }, + "tags": { + "Dept": "hsm", + "Environment": "dogfood" + }, + "type": "Microsoft.HardwareSecurityModules/cloudHSMs", + "properties": { + "provisioningState": "Succeeded", + "autoGeneratedDomainNameLabelScope": "TenantReuse", + "securityDomain": { + "fipsState": 2, + "activationStatus": "null" + }, + "hsmPartitions": null, + "fabricPoolState": "Started" + } + }, { + "name": "chsm2", + "location": "eastus2", + "id": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/rgcloudhsm/providers/Microsoft.HardwareSecurityModules/cloudHSMs/chsm2", + "sku": { + "family": "B", + "name": "Standard_B1" + }, + "tags": { + "Dept": "hsm", + "Environment": "dogfood" + }, + "type": "Microsoft.HardwareSecurityModules/cloudHSMs", + "properties": { + "provisioningState": "Succeeded", + "autoGeneratedDomainNameLabelScope": "TenantReuse", + "securityDomain": { + "fipsState": 2, + "activationStatus": "null" + }, + "hsmPartitions": null, + "fabricPoolState": "Started" + } + } + ], + "nextLink": "https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/rgcloudhsm/providers/Microsoft.HardwareSecurityModules/cloudHSMs?api-version=2022-03-31&$skiptoken=dmF1bHQtcGVza3ktanVyeS03MzA3Ng==" + } + } + } +} diff --git a/specification/hardwaresecuritymodules/resource-manager/Microsoft.HardwareSecurityModules/preview/2022-03-31-preview/examples/CloudHsm_ListBySubscription_MaximumSet_Gen.json b/specification/hardwaresecuritymodules/resource-manager/Microsoft.HardwareSecurityModules/preview/2022-03-31-preview/examples/CloudHsm_ListBySubscription_MaximumSet_Gen.json new file mode 100644 index 000000000000..70c3a7784e6b --- /dev/null +++ b/specification/hardwaresecuritymodules/resource-manager/Microsoft.HardwareSecurityModules/preview/2022-03-31-preview/examples/CloudHsm_ListBySubscription_MaximumSet_Gen.json @@ -0,0 +1,67 @@ +{ + "parameters": { + "subscriptionId": "00000000-0000-0000-0000-000000000000", + "$skiptoken": "arqhga", + "api-version": "2022-03-31-preview" + }, + "responses": { + "200": { + "body": { + "value": [{ + "name": "chsm1", + "location": "eastus2", + "id": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/rgcloudhsm/providers/Microsoft.HardwareSecurityModules/cloudHSMs/chsm1", + "sku": { + "family": "tfbd", + "name": "pxmphmkdgnffyqs", + "capacity": 25 + }, + "sku": { + "family": "B", + "name": "Standard_B1" + }, + "tags": { + "Dept": "hsm", + "Environment": "dogfood" + }, + "type": "Microsoft.HardwareSecurityModules/cloudHSMs", + "properties": { + "provisioningState": "Succeeded", + "autoGeneratedDomainNameLabelScope": "TenantReuse", + "securityDomain": { + "fipsState": 2, + "activationStatus": "null" + }, + "hsmPartitions": null, + "fabricPoolState": "Started" + } + }, { + "name": "chsm2", + "location": "eastus2", + "id": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/rgcloudhsm/providers/Microsoft.HardwareSecurityModules/cloudHSMs/chsm2", + "sku": { + "family": "B", + "name": "Standard_B1" + }, + "tags": { + "Dept": "hsm", + "Environment": "dogfood" + }, + "type": "Microsoft.HardwareSecurityModules/cloudHSMs", + "properties": { + "provisioningState": "Succeeded", + "autoGeneratedDomainNameLabelScope": "TenantReuse", + "securityDomain": { + "fipsState": 2, + "activationStatus": "null" + }, + "hsmPartitions": null, + "fabricPoolState": "Started" + } + } + ], + "nextLink": "https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.HardwareSecurityModules/cloudHSMs?api-version=2022-07-01&$skiptoken=dmF1bHQtcGVza3ktanVyeS03MzA3Ng==" + } + } + } +} \ No newline at end of file diff --git a/specification/hardwaresecuritymodules/resource-manager/Microsoft.HardwareSecurityModules/preview/2022-03-31-preview/examples/CloudHsm_Update_MaximumSet_Gen.json b/specification/hardwaresecuritymodules/resource-manager/Microsoft.HardwareSecurityModules/preview/2022-03-31-preview/examples/CloudHsm_Update_MaximumSet_Gen.json new file mode 100644 index 000000000000..6d04a6dc2d0a --- /dev/null +++ b/specification/hardwaresecuritymodules/resource-manager/Microsoft.HardwareSecurityModules/preview/2022-03-31-preview/examples/CloudHsm_Update_MaximumSet_Gen.json @@ -0,0 +1,74 @@ +{ + "parameters": { + "subscriptionId": "00000000-0000-0000-0000-000000000000", + "resourceGroupName": "rgcloudhsm", + "cloudHsmName": "chsm1", + "api-version": "2022-03-31-preview", + "body": { + "tags": { + "Dept": "hsm", + "Environment": "dogfood", + "Slice": "A" + } + } + }, + "responses": { + "200": { + "body": { + "name": "chsm1", + "location": "eastus2", + "id": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/rgcloudhsm/providers/Microsoft.HardwareSecurityModules/cloudHSMs/chsm1", + "sku": { + "family": "B", + "name": "Standard_B1" + }, + "tags": { + "Dept": "hsm", + "Environment": "dogfood", + "Slice": "A" + }, + "type": "Microsoft.HardwareSecurityModules/cloudHSMs", + "properties": { + "provisioningState": "Succeeded", + "autoGeneratedDomainNameLabelScope": "TenantReuse", + "securityDomain": { + "fipsState": 2, + "activationStatus": "null" + }, + "hsmPartitions": null, + "fabricPoolState": "Started" + } + } + }, + "202": { + "headers": { + "Location": "https://some.endpoint.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/rgcloudhsm/providers/Microsoft.HardwareSecurityModules/cloudHSMs/chsm1?api-version=2022-07-01&kv-operation=abJjb2RkIjoiAGVsZXRlTWFuYWdlZEhzbUFzeW5jYm9" + }, + "body": { + "name": "chsm1", + "location": "eastus2", + "id": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/rgcloudhsm/providers/Microsoft.HardwareSecurityModules/cloudHSMs/chsm1", + "sku": { + "family": "B", + "name": "Standard_B1" + }, + "tags": { + "Dept": "hsm", + "Environment": "dogfood", + "Slice": "A" + }, + "type": "Microsoft.HardwareSecurityModules/cloudHSMs", + "properties": { + "provisioningState": "Succeeded", + "autoGeneratedDomainNameLabelScope": "TenantReuse", + "securityDomain": { + "fipsState": 2, + "activationStatus": "null" + }, + "hsmPartitions": null, + "fabricPoolState": "Started" + } + } + } + } +} diff --git a/specification/hardwaresecuritymodules/resource-manager/Microsoft.HardwareSecurityModules/preview/2022-03-31-preview/examples/Operations_List_MaximumSet_Gen.json b/specification/hardwaresecuritymodules/resource-manager/Microsoft.HardwareSecurityModules/preview/2022-03-31-preview/examples/Operations_List_MaximumSet_Gen.json new file mode 100644 index 000000000000..92980fb8301f --- /dev/null +++ b/specification/hardwaresecuritymodules/resource-manager/Microsoft.HardwareSecurityModules/preview/2022-03-31-preview/examples/Operations_List_MaximumSet_Gen.json @@ -0,0 +1,174 @@ +{ + "parameters": { + "api-version": "2022-03-31-preview" + }, + "responses": { + "200": { + "body": { + "value": [ + { + "name": "Microsoft.HardwareSecurityModules/cloudHSMs/read", + "display": { + "provider": "Microsoft HardwareSecurityModules", + "resource": "Cloud HSM", + "operation": "View Cloud HSM", + "description": "View the properties of a Cloud HSM" + }, + "isDataAction": false + }, + { + "name": "Microsoft.HardwareSecurityModules/cloudHSMs/write", + "display": { + "provider": "Microsoft HardwareSecurityModules", + "resource": "Cloud HSM", + "operation": "Create or Update Cloud HSM", + "description": "Create a new Cloud HSM of update the properties of an existing Cloud HSM" + }, + "isDataAction": false + }, + { + "name": "Microsoft.HardwareSecurityModules/cloudHSMs/delete", + "display": { + "provider": "Microsoft HardwareSecurityModules", + "resource": "Cloud HSM", + "operation": "Delete Cloud HSM", + "description": "Delete a Cloud HSM" + }, + "isDataAction": false + }, + { + "name": "Microsoft.HardwareSecurityModules/register/action", + "display": { + "provider": "Microsoft HardwareSecurityModules", + "resource": "Subscription", + "operation": "Register Subscription", + "description": "Registers a subscription" + }, + "isDataAction": false + }, + { + "name": "Microsoft.HardwareSecurityModules/unregister/action", + "display": { + "provider": "Microsoft HardwareSecurityModules", + "resource": "Subscription", + "operation": "Unregister Subscription", + "description": "Unregisters a subscription" + }, + "isDataAction": false + }, + { + "name": "Microsoft.HardwareSecurityModules/operations/read", + "display": { + "provider": "Microsoft HardwareSecurityModules", + "resource": "Operations", + "operation": "Available HardwareSecurityModules Operations", + "description": "Lists operations available on Microsoft.HardwareSecurityModules resource provider" + }, + "isDataAction": false + }, + { + "name": "Microsoft.HardwareSecurityModules/locations/cloudHsmOperationResults/read", + "display": { + "provider": "Microsoft HardwareSecurityModules", + "resource": "Long Run Operation Result", + "operation": "Check Operation Result", + "description": "Check the result of a long run operation" + }, + "isDataAction": false + }, + { + "name": "Microsoft.HardwareSecurityModules/cloudhsms/privateLinkResources/read", + "display": { + "provider": "Microsoft HardwareSecurityModules", + "resource": "CloudHsm", + "operation": "Get the private link resources", + "description": "Get the available private link resources of an existing CloudHsm" + }, + "isDataAction": false + }, + { + "name": "Microsoft.HardwareSecurityModules/cloudhsms/PrivateEndpointConnectionsApproval/action", + "display": { + "provider": "Microsoft HardwareSecurityModules", + "resource": "CloudHsm", + "operation": "Approve or reject a Private Endpoint connection", + "description": "Approve or reject a connection to a Private Endpoint resource of Microsoft.Network provider" + }, + "isDataAction": false + }, + { + "name": "Microsoft.HardwareSecurityModules/cloudhsms/privateEndpointConnectionProxies/read", + "display": { + "provider": "Microsoft HardwareSecurityModules", + "resource": "CloudHsm", + "operation": "View the state of Private Endpoint Connection Proxy", + "description": "View the state of a connection proxy to a Private Endpoint resource of Microsoft.Network provider" + }, + "isDataAction": false + }, + { + "name": "Microsoft.HardwareSecurityModules/cloudhsms/privateEndpointConnectionProxies/write", + "display": { + "provider": "Microsoft HardwareSecurityModules", + "resource": "CloudHsm", + "operation": "Change the state of Private Endpoint Connection Proxy", + "description": "Change the state of a connection proxy to a Private Endpoint resource of Microsoft.Network provider" + }, + "isDataAction": false + }, + { + "name": "Microsoft.HardwareSecurityModules/cloudhsms/privateEndpointConnectionProxies/delete", + "display": { + "provider": "Microsoft HardwareSecurityModules", + "resource": "CloudHsm", + "operation": "Delete the state of Private Endpoint Connection Proxy", + "description": "Delete the state of a connection proxy to a Private Endpoint resource of Microsoft.Network provider" + }, + "isDataAction": false + }, + { + "name": "Microsoft.HardwareSecurityModules/cloudhsms/privateEndpointConnectionProxies/validate/action", + "display": { + "provider": "Microsoft HardwareSecurityModules", + "resource": "CloudHsm", + "operation": "Validate the state of Private Endpoint Connection Proxy", + "description": "Validate the state of a connection proxy to a Private Endpoint resource of Microsoft.Network provider" + }, + "isDataAction": false + }, + { + "name": "Microsoft.HardwareSecurityModules/cloudhsms/privateEndpointConnections/read", + "display": { + "provider": "Microsoft HardwareSecurityModules", + "resource": "CloudHsm", + "operation": "View the state of Private Endpoint Connection", + "description": "View the state of a connection to a Private Endpoint resource of Microsoft.Network provider" + }, + "isDataAction": false + }, + { + "name": "Microsoft.HardwareSecurityModules/cloudhsms/privateEndpointConnections/write", + "display": { + "provider": "Microsoft HardwareSecurityModules", + "resource": "CloudHsm", + "operation": "Change the state of Private Endpoint Connection", + "description": "Change the state of a connection to a Private Endpoint resource of Microsoft.Network provider" + }, + "isDataAction": false + }, + { + "name": "Microsoft.HardwareSecurityModules/cloudhsms/privateEndpointConnections/delete", + "display": { + "provider": "Microsoft HardwareSecurityModules", + "resource": "CloudHsm", + "operation": "Delete the state of Private Endpoint Connection", + "description": "Delete the state of a connection to a Private Endpoint resource of Microsoft.Network provider" + }, + "isDataAction": false + } + ], + "nextLink": "null" + } + } + } +} \ No newline at end of file diff --git a/specification/hardwaresecuritymodules/resource-manager/Microsoft.HardwareSecurityModules/preview/2022-03-31-preview/examples/Operations_List_MinimumSet_Gen.json b/specification/hardwaresecuritymodules/resource-manager/Microsoft.HardwareSecurityModules/preview/2022-03-31-preview/examples/Operations_List_MinimumSet_Gen.json new file mode 100644 index 000000000000..69ef07d42ff1 --- /dev/null +++ b/specification/hardwaresecuritymodules/resource-manager/Microsoft.HardwareSecurityModules/preview/2022-03-31-preview/examples/Operations_List_MinimumSet_Gen.json @@ -0,0 +1,10 @@ +{ + "parameters": { + "api-version": "2022-03-31-preview" + }, + "responses": { + "200": { + "body": {} + } + } +} \ No newline at end of file diff --git a/specification/hardwaresecuritymodules/resource-manager/readme.md b/specification/hardwaresecuritymodules/resource-manager/readme.md index 0cffb19bedc9..12eaeff6c80c 100644 --- a/specification/hardwaresecuritymodules/resource-manager/readme.md +++ b/specification/hardwaresecuritymodules/resource-manager/readme.md @@ -48,8 +48,14 @@ input-file: - Microsoft.HardwareSecurityModules/stable/2021-11-30/dedicatedhsm.json ``` +### Tag: package-2022-03 +These settings apply only when `--tag=package-2022-03` is specified on the command line. +``` yaml $(tag) == 'package-2022-03' +input-file: +- Microsoft.HardwareSecurityModules/preview/2022-03-31/cloudhsm.json +``` # Code Generation From 4817db8f810b603d4ddb61387ed74197144dba40 Mon Sep 17 00:00:00 2001 From: GoradeAarti Date: Mon, 12 Sep 2022 13:01:45 -0700 Subject: [PATCH 02/69] added systemData in responses and fixed few warnings --- .../preview/2022-03-31-preview/cloudhsm.json | 68 +++++++++++++++++-- ...ConnectionProxy_Create_MaximumSet_Gen.json | 8 +++ ...ConnectionProxy_Delete_MaximumSet_Gen.json | 8 +++ ...intConnectionProxy_Get_MaximumSet_Gen.json | 8 +++ ...nnectionProxy_Validate_MaximumSet_Gen.json | 8 +++ ...pointConnection_Delete_MaximumSet_Gen.json | 8 +++ ...EndpointConnection_Get_MaximumSet_Gen.json | 8 +++ ...loudHsm_CreateOrUpdate_MaximumSet_Gen.json | 27 ++++++-- .../examples/CloudHsm_Get_MaximumSet_Gen.json | 8 +++ ...sm_ListByResourceGroup_MaximumSet_Gen.json | 21 ++++-- ...Hsm_ListBySubscription_MaximumSet_Gen.json | 23 +++++-- .../CloudHsm_Update_MaximumSet_Gen.json | 16 +++++ ...istByCloudHsmResource_MaximumSet_Gen.json} | 16 +++++ ...istByCloudHsmResource_MaximumSet_Gen.json} | 0 14 files changed, 203 insertions(+), 24 deletions(-) rename specification/hardwaresecuritymodules/resource-manager/Microsoft.HardwareSecurityModules/preview/2022-03-31-preview/examples/{CloudHsmPrivateEndpointConnection_ListByResource_MaximumSet_Gen.json => PrivateEndpointConnections_ListByCloudHsmResource_MaximumSet_Gen.json} (75%) rename specification/hardwaresecuritymodules/resource-manager/Microsoft.HardwareSecurityModules/preview/2022-03-31-preview/examples/{CloudHsmPrivateLinkResources_ListByResource_MaximumSet_Gen.json => PrivateLinkResources_ListByCloudHsmResource_MaximumSet_Gen.json} (100%) diff --git a/specification/hardwaresecuritymodules/resource-manager/Microsoft.HardwareSecurityModules/preview/2022-03-31-preview/cloudhsm.json b/specification/hardwaresecuritymodules/resource-manager/Microsoft.HardwareSecurityModules/preview/2022-03-31-preview/cloudhsm.json index 65db32034074..d9ad22f53e89 100644 --- a/specification/hardwaresecuritymodules/resource-manager/Microsoft.HardwareSecurityModules/preview/2022-03-31-preview/cloudhsm.json +++ b/specification/hardwaresecuritymodules/resource-manager/Microsoft.HardwareSecurityModules/preview/2022-03-31-preview/cloudhsm.json @@ -353,7 +353,7 @@ "tags": [ "CloudHsmPrivateLinkResources" ], - "operationId": "CloudHsmPrivateLinkResources_ListByResource", + "operationId": "PrivateLinkResources_ListByCloudHsmResource", "description": "Gets the private link resources supported for the cloud hsm pool.", "x-ms-long-running-operation": true, "parameters": [{ @@ -385,7 +385,7 @@ }, "x-ms-examples": { "CloudHsmPrivateLinkResources_ListByResource_MaximumSet_Gen": { - "$ref": "./examples/CloudHsmPrivateLinkResources_ListByResource_MaximumSet_Gen.json" + "$ref": "./examples/PrivateLinkResources_ListByCloudHsmResource_MaximumSet_Gen.json" } } } @@ -826,7 +826,7 @@ "tags": [ "CloudHsmPrivateEndpointConnections" ], - "operationId": "CloudHsmPrivateEndpointConnection_ListByResource", + "operationId": "PrivateEndpointConnections_ListByCloudHsmResource", "description": "The List operation gets information about the private endpoint connections associated with the Cloud HSM", "x-ms-long-running-operation": true, "parameters": [{ @@ -858,7 +858,7 @@ }, "x-ms-examples": { "CloudHsmPrivateEndpointConnection_ListByResource_MaximumSet_Gen": { - "$ref": "./examples/CloudHsmPrivateEndpointConnection_ListByResource_MaximumSet_Gen.json" + "$ref": "./examples/PrivateEndpointConnections_ListByCloudHsmResource_MaximumSet_Gen.json" } } } @@ -904,7 +904,7 @@ "description": "The Cloud HSM Resource id" }, "sku": { - "$ref": "#/definitions/Sku" + "$ref": "#/definitions/CloudHsmSku" }, "tags": { "type": "object", @@ -919,6 +919,9 @@ "readOnly": true, "description": "The Cloud HSM Resource type" }, + "systemData": { + "$ref": "#/definitions/SystemData" + }, "properties": { "x-ms-client-flatten": true, "$ref": "#/definitions/CloudHsmResourceProperties" @@ -1079,6 +1082,9 @@ "type": "string", "description": "ETAG value for Private Endpoint Connection entry" }, + "systemData": { + "$ref": "#/definitions/SystemData" + }, "properties": { "x-ms-client-flatten": true, "$ref": "#/definitions/PrivateEndpointConnectionProperties" @@ -1133,6 +1139,9 @@ "type": "string", "description": "ETAG value for Private Endpoint Connection proxy entry" }, + "systemData": { + "$ref": "#/definitions/SystemData" + }, "properties": { "x-ms-client-flatten": true, "$ref": "#/definitions/RemotePrivateEndpoint" @@ -1268,7 +1277,7 @@ } } }, - "Sku": { + "CloudHsmSku": { "type": "object", "description": "Cloud Hsm SKU information", "properties": { @@ -1521,6 +1530,53 @@ "name": "PrivateEndpointServiceConnectionStatus", "modelAsString": true } + }, + "SystemData": { + "description": "Metadata pertaining to creation and last modification of the key vault resource.", + "readOnly": true, + "properties": { + "createdBy": { + "type": "string", + "description": "The identity that created the key vault resource." + }, + "createdByType": { + "description": "The type of identity that created the key vault resource.", + "$ref": "#/definitions/IdentityType" + }, + "createdAt": { + "type": "string", + "format": "date-time", + "description": "The timestamp of the key vault resource creation (UTC)." + }, + "lastModifiedBy": { + "type": "string", + "description": "The identity that last modified the key vault resource." + }, + "lastModifiedByType": { + "description": "The type of identity that last modified the key vault resource.", + "$ref": "#/definitions/IdentityType" + }, + "lastModifiedAt": { + "type": "string", + "format": "date-time", + "description": "The timestamp of the key vault resource last modification (UTC)." + } + }, + "type": "object" + }, + "IdentityType": { + "type": "string", + "description": "The type of identity.", + "enum": [ + "User", + "Application", + "ManagedIdentity", + "Key" + ], + "x-ms-enum": { + "name": "identityType", + "modelAsString": true + } } }, "parameters": { diff --git a/specification/hardwaresecuritymodules/resource-manager/Microsoft.HardwareSecurityModules/preview/2022-03-31-preview/examples/CloudHsmPrivateEndpointConnectionProxy_Create_MaximumSet_Gen.json b/specification/hardwaresecuritymodules/resource-manager/Microsoft.HardwareSecurityModules/preview/2022-03-31-preview/examples/CloudHsmPrivateEndpointConnectionProxy_Create_MaximumSet_Gen.json index 396900af6f17..1291ff446d97 100644 --- a/specification/hardwaresecuritymodules/resource-manager/Microsoft.HardwareSecurityModules/preview/2022-03-31-preview/examples/CloudHsmPrivateEndpointConnectionProxy_Create_MaximumSet_Gen.json +++ b/specification/hardwaresecuritymodules/resource-manager/Microsoft.HardwareSecurityModules/preview/2022-03-31-preview/examples/CloudHsmPrivateEndpointConnectionProxy_Create_MaximumSet_Gen.json @@ -54,6 +54,14 @@ "type": "Microsoft.HardwareSecurityModules/cloudHSMs/privateEndpointConnectionProxies", "location": "eastus2", "etag": "", + "systemData": { + "createdBy": "User1", + "createdByType": "User", + "createdAt": "2020-01-01T12:00:00.0000000Z", + "lastModifiedBy": "User2", + "lastModifiedByType": "User", + "lastModifiedAt": "2020-01-01T12:00:00.0000000Z" + }, "properties": { "id": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/rgcloudhsm/providers/Microsoft.Network/privateEndpoints/sample-pe", "privateLinkServiceConnections": [{ diff --git a/specification/hardwaresecuritymodules/resource-manager/Microsoft.HardwareSecurityModules/preview/2022-03-31-preview/examples/CloudHsmPrivateEndpointConnectionProxy_Delete_MaximumSet_Gen.json b/specification/hardwaresecuritymodules/resource-manager/Microsoft.HardwareSecurityModules/preview/2022-03-31-preview/examples/CloudHsmPrivateEndpointConnectionProxy_Delete_MaximumSet_Gen.json index 39e54830ee42..c2dac7786e2b 100644 --- a/specification/hardwaresecuritymodules/resource-manager/Microsoft.HardwareSecurityModules/preview/2022-03-31-preview/examples/CloudHsmPrivateEndpointConnectionProxy_Delete_MaximumSet_Gen.json +++ b/specification/hardwaresecuritymodules/resource-manager/Microsoft.HardwareSecurityModules/preview/2022-03-31-preview/examples/CloudHsmPrivateEndpointConnectionProxy_Delete_MaximumSet_Gen.json @@ -14,6 +14,14 @@ "type": "Microsoft.HardwareSecurityModules/cloudHSMs/privateEndpointConnectionProxies", "location": "eastus2", "etag": "", + "systemData": { + "createdBy": "User1", + "createdByType": "User", + "createdAt": "2020-01-01T12:00:00.0000000Z", + "lastModifiedBy": "User2", + "lastModifiedByType": "User", + "lastModifiedAt": "2020-01-01T12:00:00.0000000Z" + }, "properties": { "id": "/subscriptions/00000000-0000-0000-0000-000000000000/rgcloudhsm/providers/Microsoft.HardwareSecurityModules/cloudHSMs/chsm1/privateEndpointConnectionProxies/sample-pe.00000000-0000-0000-0000-000000000000", "privateLinkServiceConnections": [{ diff --git a/specification/hardwaresecuritymodules/resource-manager/Microsoft.HardwareSecurityModules/preview/2022-03-31-preview/examples/CloudHsmPrivateEndpointConnectionProxy_Get_MaximumSet_Gen.json b/specification/hardwaresecuritymodules/resource-manager/Microsoft.HardwareSecurityModules/preview/2022-03-31-preview/examples/CloudHsmPrivateEndpointConnectionProxy_Get_MaximumSet_Gen.json index 3734edeb4066..af95f7088df4 100644 --- a/specification/hardwaresecuritymodules/resource-manager/Microsoft.HardwareSecurityModules/preview/2022-03-31-preview/examples/CloudHsmPrivateEndpointConnectionProxy_Get_MaximumSet_Gen.json +++ b/specification/hardwaresecuritymodules/resource-manager/Microsoft.HardwareSecurityModules/preview/2022-03-31-preview/examples/CloudHsmPrivateEndpointConnectionProxy_Get_MaximumSet_Gen.json @@ -14,6 +14,14 @@ "type": "Microsoft.HardwareSecurityModules/cloudHSMs/privateEndpointConnectionProxies", "location": "eastus2", "etag": "", + "systemData": { + "createdBy": "User1", + "createdByType": "User", + "createdAt": "2020-01-01T12:00:00.0000000Z", + "lastModifiedBy": "User2", + "lastModifiedByType": "User", + "lastModifiedAt": "2020-01-01T12:00:00.0000000Z" + }, "properties": { "id": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/rgcloudhsm/providers/Microsoft.Network/privateEndpoints/sample-pe", "privateLinkServiceConnections": [{ diff --git a/specification/hardwaresecuritymodules/resource-manager/Microsoft.HardwareSecurityModules/preview/2022-03-31-preview/examples/CloudHsmPrivateEndpointConnectionProxy_Validate_MaximumSet_Gen.json b/specification/hardwaresecuritymodules/resource-manager/Microsoft.HardwareSecurityModules/preview/2022-03-31-preview/examples/CloudHsmPrivateEndpointConnectionProxy_Validate_MaximumSet_Gen.json index 8b95994b6e6a..ecdc473850dd 100644 --- a/specification/hardwaresecuritymodules/resource-manager/Microsoft.HardwareSecurityModules/preview/2022-03-31-preview/examples/CloudHsmPrivateEndpointConnectionProxy_Validate_MaximumSet_Gen.json +++ b/specification/hardwaresecuritymodules/resource-manager/Microsoft.HardwareSecurityModules/preview/2022-03-31-preview/examples/CloudHsmPrivateEndpointConnectionProxy_Validate_MaximumSet_Gen.json @@ -56,6 +56,14 @@ "type": "Microsoft.HardwareSecurityModules/cloudHSMs/privateEndpointConnectionProxies", "location": "eastus2", "etag": "", + "systemData": { + "createdBy": "User1", + "createdByType": "User", + "createdAt": "2020-01-01T12:00:00.0000000Z", + "lastModifiedBy": "User2", + "lastModifiedByType": "User", + "lastModifiedAt": "2020-01-01T12:00:00.0000000Z" + }, "properties": { "id": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/rgcloudhsm/providers/Microsoft.Network/privateEndpoints/sample-pe", "privateLinkServiceConnections": [{ diff --git a/specification/hardwaresecuritymodules/resource-manager/Microsoft.HardwareSecurityModules/preview/2022-03-31-preview/examples/CloudHsmPrivateEndpointConnection_Delete_MaximumSet_Gen.json b/specification/hardwaresecuritymodules/resource-manager/Microsoft.HardwareSecurityModules/preview/2022-03-31-preview/examples/CloudHsmPrivateEndpointConnection_Delete_MaximumSet_Gen.json index 4473ac125d12..17cdcbe8120c 100644 --- a/specification/hardwaresecuritymodules/resource-manager/Microsoft.HardwareSecurityModules/preview/2022-03-31-preview/examples/CloudHsmPrivateEndpointConnection_Delete_MaximumSet_Gen.json +++ b/specification/hardwaresecuritymodules/resource-manager/Microsoft.HardwareSecurityModules/preview/2022-03-31-preview/examples/CloudHsmPrivateEndpointConnection_Delete_MaximumSet_Gen.json @@ -12,6 +12,14 @@ "id": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/rgcloudhsm/providers/Microsoft.HardwareSecurityModules/cloudHSMs/chsm1/privateEndpointConnections/sample-pec", "name": "sample-pec", "type": "Microsoft.HardwareSecurityModules/cloudHSMs/privateEndpointConnections", + "systemData": { + "createdBy": "User1", + "createdByType": "User", + "createdAt": "2020-01-01T12:00:00.0000000Z", + "lastModifiedBy": "User2", + "lastModifiedByType": "User", + "lastModifiedAt": "2020-01-01T12:00:00.0000000Z" + }, "properties": { "provisioningState": "Disconnected" } diff --git a/specification/hardwaresecuritymodules/resource-manager/Microsoft.HardwareSecurityModules/preview/2022-03-31-preview/examples/CloudHsmPrivateEndpointConnection_Get_MaximumSet_Gen.json b/specification/hardwaresecuritymodules/resource-manager/Microsoft.HardwareSecurityModules/preview/2022-03-31-preview/examples/CloudHsmPrivateEndpointConnection_Get_MaximumSet_Gen.json index 0b647e53d17c..389f78d4e1a8 100644 --- a/specification/hardwaresecuritymodules/resource-manager/Microsoft.HardwareSecurityModules/preview/2022-03-31-preview/examples/CloudHsmPrivateEndpointConnection_Get_MaximumSet_Gen.json +++ b/specification/hardwaresecuritymodules/resource-manager/Microsoft.HardwareSecurityModules/preview/2022-03-31-preview/examples/CloudHsmPrivateEndpointConnection_Get_MaximumSet_Gen.json @@ -12,6 +12,14 @@ "id": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/rgcloudhsm/providers/Microsoft.HardwareSecurityModules/cloudHSMs/chsm1/privateEndpointConnections/sample-pec", "name": "sample-pec", "type": "Microsoft.HardwareSecurityModules/cloudHSMs/privateEndpointConnections", + "systemData": { + "createdBy": "User1", + "createdByType": "User", + "createdAt": "2020-01-01T12:00:00.0000000Z", + "lastModifiedBy": "User2", + "lastModifiedByType": "User", + "lastModifiedAt": "2020-01-01T12:00:00.0000000Z" + }, "properties": { "provisioningState": "Succeeded", "privateEndpoint": { diff --git a/specification/hardwaresecuritymodules/resource-manager/Microsoft.HardwareSecurityModules/preview/2022-03-31-preview/examples/CloudHsm_CreateOrUpdate_MaximumSet_Gen.json b/specification/hardwaresecuritymodules/resource-manager/Microsoft.HardwareSecurityModules/preview/2022-03-31-preview/examples/CloudHsm_CreateOrUpdate_MaximumSet_Gen.json index 27d3736bc544..31d7bc21de68 100644 --- a/specification/hardwaresecuritymodules/resource-manager/Microsoft.HardwareSecurityModules/preview/2022-03-31-preview/examples/CloudHsm_CreateOrUpdate_MaximumSet_Gen.json +++ b/specification/hardwaresecuritymodules/resource-manager/Microsoft.HardwareSecurityModules/preview/2022-03-31-preview/examples/CloudHsm_CreateOrUpdate_MaximumSet_Gen.json @@ -14,11 +14,11 @@ "Dept": "hsm", "Environment": "dogfood" }, - "properties": { - "securityDomain": { - "fipsState": 2 - } + "properties": { + "securityDomain": { + "fipsState": 2 } + } } }, "responses": { @@ -36,6 +36,14 @@ "Environment": "dogfood" }, "type": "Microsoft.HardwareSecurityModules/cloudHSMs", + "systemData": { + "createdBy": "CHsmUser1", + "createdByType": "User", + "createdAt": "2022-09-12T12:00:00.0000000Z", + "lastModifiedBy": "CHsmUser2", + "lastModifiedByType": "User", + "lastModifiedAt": "2022-09-12T12:00:00.0000000Z" + }, "properties": { "provisioningState": "Succeeded", "autoGeneratedDomainNameLabelScope": "TenantReuse", @@ -49,9 +57,6 @@ } }, "201": { - "headers": { - "location": "eastus2" - }, "body": { "name": "chsm1", "location": "eastus2", @@ -65,6 +70,14 @@ "Environment": "dogfood" }, "type": "Microsoft.HardwareSecurityModules/cloudHSMs", + "systemData": { + "createdBy": "CHsmUser1", + "createdByType": "User", + "createdAt": "2022-09-12T12:00:00.0000000Z", + "lastModifiedBy": "CHsmUser2", + "lastModifiedByType": "User", + "lastModifiedAt": "2022-09-12T12:00:00.0000000Z" + }, "properties": { "provisioningState": "Succeeded", "autoGeneratedDomainNameLabelScope": "TenantReuse", diff --git a/specification/hardwaresecuritymodules/resource-manager/Microsoft.HardwareSecurityModules/preview/2022-03-31-preview/examples/CloudHsm_Get_MaximumSet_Gen.json b/specification/hardwaresecuritymodules/resource-manager/Microsoft.HardwareSecurityModules/preview/2022-03-31-preview/examples/CloudHsm_Get_MaximumSet_Gen.json index 47baa2275fa6..38162c41a192 100644 --- a/specification/hardwaresecuritymodules/resource-manager/Microsoft.HardwareSecurityModules/preview/2022-03-31-preview/examples/CloudHsm_Get_MaximumSet_Gen.json +++ b/specification/hardwaresecuritymodules/resource-manager/Microsoft.HardwareSecurityModules/preview/2022-03-31-preview/examples/CloudHsm_Get_MaximumSet_Gen.json @@ -20,6 +20,14 @@ "Environment": "dogfood" }, "type": "Microsoft.HardwareSecurityModules/cloudHSMs", + "systemData": { + "createdBy": "CHsmUser1", + "createdByType": "User", + "createdAt": "2022-09-12T12:00:00.0000000Z", + "lastModifiedBy": "CHsmUser2", + "lastModifiedByType": "User", + "lastModifiedAt": "2022-09-12T12:00:00.0000000Z" + }, "properties": { "provisioningState": "Succeeded", "autoGeneratedDomainNameLabelScope": "TenantReuse", diff --git a/specification/hardwaresecuritymodules/resource-manager/Microsoft.HardwareSecurityModules/preview/2022-03-31-preview/examples/CloudHsm_ListByResourceGroup_MaximumSet_Gen.json b/specification/hardwaresecuritymodules/resource-manager/Microsoft.HardwareSecurityModules/preview/2022-03-31-preview/examples/CloudHsm_ListByResourceGroup_MaximumSet_Gen.json index 0419bb603bef..4b71f84481b1 100644 --- a/specification/hardwaresecuritymodules/resource-manager/Microsoft.HardwareSecurityModules/preview/2022-03-31-preview/examples/CloudHsm_ListByResourceGroup_MaximumSet_Gen.json +++ b/specification/hardwaresecuritymodules/resource-manager/Microsoft.HardwareSecurityModules/preview/2022-03-31-preview/examples/CloudHsm_ListByResourceGroup_MaximumSet_Gen.json @@ -11,11 +11,6 @@ "name": "chsm1", "location": "eastus2", "id": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/rgcloudhsm/providers/Microsoft.HardwareSecurityModules/cloudHSMs/chsm1", - "sku": { - "family": "tfbd", - "name": "pxmphmkdgnffyqs", - "capacity": 25 - }, "sku": { "family": "B", "name": "Standard_B1" @@ -25,6 +20,14 @@ "Environment": "dogfood" }, "type": "Microsoft.HardwareSecurityModules/cloudHSMs", + "systemData": { + "createdBy": "CHsmUser1", + "createdByType": "User", + "createdAt": "2022-09-12T12:00:00.0000000Z", + "lastModifiedBy": "CHsmUser2", + "lastModifiedByType": "User", + "lastModifiedAt": "2022-09-12T12:00:00.0000000Z" + }, "properties": { "provisioningState": "Succeeded", "autoGeneratedDomainNameLabelScope": "TenantReuse", @@ -48,6 +51,14 @@ "Environment": "dogfood" }, "type": "Microsoft.HardwareSecurityModules/cloudHSMs", + "systemData": { + "createdBy": "CHsmUser1", + "createdByType": "User", + "createdAt": "2022-09-12T12:00:00.0000000Z", + "lastModifiedBy": "CHsmUser2", + "lastModifiedByType": "User", + "lastModifiedAt": "2022-09-12T12:00:00.0000000Z" + }, "properties": { "provisioningState": "Succeeded", "autoGeneratedDomainNameLabelScope": "TenantReuse", diff --git a/specification/hardwaresecuritymodules/resource-manager/Microsoft.HardwareSecurityModules/preview/2022-03-31-preview/examples/CloudHsm_ListBySubscription_MaximumSet_Gen.json b/specification/hardwaresecuritymodules/resource-manager/Microsoft.HardwareSecurityModules/preview/2022-03-31-preview/examples/CloudHsm_ListBySubscription_MaximumSet_Gen.json index 70c3a7784e6b..c7f81dc877bd 100644 --- a/specification/hardwaresecuritymodules/resource-manager/Microsoft.HardwareSecurityModules/preview/2022-03-31-preview/examples/CloudHsm_ListBySubscription_MaximumSet_Gen.json +++ b/specification/hardwaresecuritymodules/resource-manager/Microsoft.HardwareSecurityModules/preview/2022-03-31-preview/examples/CloudHsm_ListBySubscription_MaximumSet_Gen.json @@ -11,11 +11,6 @@ "name": "chsm1", "location": "eastus2", "id": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/rgcloudhsm/providers/Microsoft.HardwareSecurityModules/cloudHSMs/chsm1", - "sku": { - "family": "tfbd", - "name": "pxmphmkdgnffyqs", - "capacity": 25 - }, "sku": { "family": "B", "name": "Standard_B1" @@ -25,6 +20,14 @@ "Environment": "dogfood" }, "type": "Microsoft.HardwareSecurityModules/cloudHSMs", + "systemData": { + "createdBy": "CHsmUser1", + "createdByType": "User", + "createdAt": "2022-09-12T12:00:00.0000000Z", + "lastModifiedBy": "CHsmUser2", + "lastModifiedByType": "User", + "lastModifiedAt": "2022-09-12T12:00:00.0000000Z" + }, "properties": { "provisioningState": "Succeeded", "autoGeneratedDomainNameLabelScope": "TenantReuse", @@ -48,6 +51,14 @@ "Environment": "dogfood" }, "type": "Microsoft.HardwareSecurityModules/cloudHSMs", + "systemData": { + "createdBy": "CHsmUser1", + "createdByType": "User", + "createdAt": "2022-09-12T12:00:00.0000000Z", + "lastModifiedBy": "CHsmUser2", + "lastModifiedByType": "User", + "lastModifiedAt": "2022-09-12T12:00:00.0000000Z" + }, "properties": { "provisioningState": "Succeeded", "autoGeneratedDomainNameLabelScope": "TenantReuse", @@ -64,4 +75,4 @@ } } } -} \ No newline at end of file +} diff --git a/specification/hardwaresecuritymodules/resource-manager/Microsoft.HardwareSecurityModules/preview/2022-03-31-preview/examples/CloudHsm_Update_MaximumSet_Gen.json b/specification/hardwaresecuritymodules/resource-manager/Microsoft.HardwareSecurityModules/preview/2022-03-31-preview/examples/CloudHsm_Update_MaximumSet_Gen.json index 6d04a6dc2d0a..aee96dabe11c 100644 --- a/specification/hardwaresecuritymodules/resource-manager/Microsoft.HardwareSecurityModules/preview/2022-03-31-preview/examples/CloudHsm_Update_MaximumSet_Gen.json +++ b/specification/hardwaresecuritymodules/resource-manager/Microsoft.HardwareSecurityModules/preview/2022-03-31-preview/examples/CloudHsm_Update_MaximumSet_Gen.json @@ -28,6 +28,14 @@ "Slice": "A" }, "type": "Microsoft.HardwareSecurityModules/cloudHSMs", + "systemData": { + "createdBy": "CHsmUser1", + "createdByType": "User", + "createdAt": "2022-09-12T12:00:00.0000000Z", + "lastModifiedBy": "CHsmUser2", + "lastModifiedByType": "User", + "lastModifiedAt": "2022-09-12T12:00:00.0000000Z" + }, "properties": { "provisioningState": "Succeeded", "autoGeneratedDomainNameLabelScope": "TenantReuse", @@ -58,6 +66,14 @@ "Slice": "A" }, "type": "Microsoft.HardwareSecurityModules/cloudHSMs", + "systemData": { + "createdBy": "CHsmUser1", + "createdByType": "User", + "createdAt": "2022-09-12T12:00:00.0000000Z", + "lastModifiedBy": "CHsmUser2", + "lastModifiedByType": "User", + "lastModifiedAt": "2022-09-12T12:00:00.0000000Z" + }, "properties": { "provisioningState": "Succeeded", "autoGeneratedDomainNameLabelScope": "TenantReuse", diff --git a/specification/hardwaresecuritymodules/resource-manager/Microsoft.HardwareSecurityModules/preview/2022-03-31-preview/examples/CloudHsmPrivateEndpointConnection_ListByResource_MaximumSet_Gen.json b/specification/hardwaresecuritymodules/resource-manager/Microsoft.HardwareSecurityModules/preview/2022-03-31-preview/examples/PrivateEndpointConnections_ListByCloudHsmResource_MaximumSet_Gen.json similarity index 75% rename from specification/hardwaresecuritymodules/resource-manager/Microsoft.HardwareSecurityModules/preview/2022-03-31-preview/examples/CloudHsmPrivateEndpointConnection_ListByResource_MaximumSet_Gen.json rename to specification/hardwaresecuritymodules/resource-manager/Microsoft.HardwareSecurityModules/preview/2022-03-31-preview/examples/PrivateEndpointConnections_ListByCloudHsmResource_MaximumSet_Gen.json index 4f4c2a568527..93b83ac04e6e 100644 --- a/specification/hardwaresecuritymodules/resource-manager/Microsoft.HardwareSecurityModules/preview/2022-03-31-preview/examples/CloudHsmPrivateEndpointConnection_ListByResource_MaximumSet_Gen.json +++ b/specification/hardwaresecuritymodules/resource-manager/Microsoft.HardwareSecurityModules/preview/2022-03-31-preview/examples/PrivateEndpointConnections_ListByCloudHsmResource_MaximumSet_Gen.json @@ -13,6 +13,14 @@ "name": "chsm1", "type": "Microsoft.HardwareSecurityModules/cloudHSMs/privateEndpointConnections", "etag": "", + "systemData": { + "createdBy": "User1", + "createdByType": "User", + "createdAt": "2020-01-01T12:00:00.0000000Z", + "lastModifiedBy": "User2", + "lastModifiedByType": "User", + "lastModifiedAt": "2020-01-01T12:00:00.0000000Z" + }, "properties": { "provisioningState": "Succeeded", "privateEndpoint": { @@ -29,6 +37,14 @@ "name": "chsm2", "type": "Microsoft.HardwareSecurityModules/cloudHSMs/privateEndpointConnections", "etag": "", + "systemData": { + "createdBy": "User1", + "createdByType": "User", + "createdAt": "2020-01-01T12:00:00.0000000Z", + "lastModifiedBy": "User2", + "lastModifiedByType": "User", + "lastModifiedAt": "2020-01-01T12:00:00.0000000Z" + }, "properties": { "provisioningState": "Succeeded", "privateEndpoint": { diff --git a/specification/hardwaresecuritymodules/resource-manager/Microsoft.HardwareSecurityModules/preview/2022-03-31-preview/examples/CloudHsmPrivateLinkResources_ListByResource_MaximumSet_Gen.json b/specification/hardwaresecuritymodules/resource-manager/Microsoft.HardwareSecurityModules/preview/2022-03-31-preview/examples/PrivateLinkResources_ListByCloudHsmResource_MaximumSet_Gen.json similarity index 100% rename from specification/hardwaresecuritymodules/resource-manager/Microsoft.HardwareSecurityModules/preview/2022-03-31-preview/examples/CloudHsmPrivateLinkResources_ListByResource_MaximumSet_Gen.json rename to specification/hardwaresecuritymodules/resource-manager/Microsoft.HardwareSecurityModules/preview/2022-03-31-preview/examples/PrivateLinkResources_ListByCloudHsmResource_MaximumSet_Gen.json From 626d8648a9aa9f9553fc2ceda8517d796a09d51b Mon Sep 17 00:00:00 2001 From: GoradeAarti Date: Mon, 12 Sep 2022 14:56:19 -0700 Subject: [PATCH 03/69] renamings --- .../preview/2022-03-31-preview/cloudhsm.json | 67 +++++++++---------- ...ConnectionProxy_Create_MaximumSet_Gen.json | 8 +-- ...ConnectionProxy_Delete_MaximumSet_Gen.json | 8 +-- ...intConnectionProxy_Get_MaximumSet_Gen.json | 8 +-- ...nnectionProxy_Validate_MaximumSet_Gen.json | 6 +- ...pointConnection_Create_MaximumSet_Gen.json | 14 +++- ...pointConnection_Delete_MaximumSet_Gen.json | 8 +-- ...EndpointConnection_Get_MaximumSet_Gen.json | 6 +- ...ivateLinkResources_Get_MaximumSet_Gen.json | 6 +- ...loudHsm_CreateOrUpdate_MaximumSet_Gen.json | 18 ++--- .../CloudHsm_Delete_MaximumSet_Gen.json | 4 +- .../examples/CloudHsm_Get_MaximumSet_Gen.json | 10 +-- ...sm_ListByResourceGroup_MaximumSet_Gen.json | 20 +++--- ...Hsm_ListBySubscription_MaximumSet_Gen.json | 20 +++--- .../CloudHsm_Update_MaximumSet_Gen.json | 20 +++--- .../Operations_List_MaximumSet_Gen.json | 26 +++---- .../Operations_List_MinimumSet_Gen.json | 2 +- ...ListByCloudHsmResource_MaximumSet_Gen.json | 8 +-- ...ListByCloudHsmResource_MaximumSet_Gen.json | 59 ++++++++-------- 19 files changed, 162 insertions(+), 156 deletions(-) diff --git a/specification/hardwaresecuritymodules/resource-manager/Microsoft.HardwareSecurityModules/preview/2022-03-31-preview/cloudhsm.json b/specification/hardwaresecuritymodules/resource-manager/Microsoft.HardwareSecurityModules/preview/2022-03-31-preview/cloudhsm.json index d9ad22f53e89..86e005a964d5 100644 --- a/specification/hardwaresecuritymodules/resource-manager/Microsoft.HardwareSecurityModules/preview/2022-03-31-preview/cloudhsm.json +++ b/specification/hardwaresecuritymodules/resource-manager/Microsoft.HardwareSecurityModules/preview/2022-03-31-preview/cloudhsm.json @@ -3,7 +3,7 @@ "info": { "title": "Azure Cloud HSM Resource Provider", "description": "The Azure management API provides a RESTful set of web services that interact with Azure Cloud HSM RP.", - "version": "2022-03-31-preview" + "version": "2022-08-31-preview" }, "host": "management.azure.com", "schemes": [ @@ -33,10 +33,10 @@ } }, "paths": { - "/resourceprovider/api/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.HardwareSecurityModules/cloudHSMs/{cloudHsmName}": { + "/resourceprovider/api/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.HardwareSecurityModules/cloudHSMClusters/{cloudHsmName}": { "put": { "tags": [ - "cloudHSMs" + "" ], "operationId": "CloudHsm_CreateOrUpdate", "description": "Create or Update a Cloud HSM in the specified subscription.", @@ -88,7 +88,7 @@ }, "patch": { "tags": [ - "cloudHSMs" + "" ], "operationId": "CloudHsm_Update", "x-ms-long-running-operation": true, @@ -146,7 +146,7 @@ }, "get": { "tags": [ - "cloudHSMs" + "" ], "operationId": "CloudHsm_Get", "description": "Gets the specified Cloud HSM.", @@ -183,7 +183,7 @@ }, "delete": { "tags": [ - "cloudHSMs" + "" ], "operationId": "CloudHsm_Delete", "description": "Deletes the specified Cloud HSM.", @@ -222,10 +222,10 @@ } } }, - "/resourceprovider/api/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.HardwareSecurityModules/cloudHSMs": { + "/resourceprovider/api/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.HardwareSecurityModules/cloudHSMClusters": { "get": { "tags": [ - "cloudHSMs" + "" ], "operationId": "CloudHsm_ListByResourceGroup", "description": "The List operation gets information about the Cloud HSMs associated with the subscription and within the specified resource group.", @@ -267,10 +267,10 @@ } } }, - "/resourceprovider/api/subscriptions/{subscriptionId}/providers/Microsoft.HardwareSecurityModules/cloudHSMs": { + "/resourceprovider/api/subscriptions/{subscriptionId}/providers/Microsoft.HardwareSecurityModules/cloudHSMClusters": { "get": { "tags": [ - "cloudHSMs" + "" ], "operationId": "CloudHsm_ListBySubscription", "description": "The List operation gets information about the Cloud HSMs associated with the subscription.", @@ -313,7 +313,7 @@ "/resourceprovider/api/providers/Microsoft.HardwareSecurityModules/operations": { "get": { "tags": [ - "CloudHsmOperations" + "" ], "operationId": "Operations_List", "description": "Get a list of Cloud HSM operations.", @@ -348,10 +348,10 @@ } } }, - "/resourceprovider/api/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.HardwareSecurityModules/cloudHSMs/{cloudHsmName}/privateLinkResources": { + "/resourceprovider/api/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.HardwareSecurityModules/cloudHSMClusters/{cloudHsmName}/privateLinkResources": { "get": { "tags": [ - "CloudHsmPrivateLinkResources" + "" ], "operationId": "PrivateLinkResources_ListByCloudHsmResource", "description": "Gets the private link resources supported for the cloud hsm pool.", @@ -390,10 +390,10 @@ } } }, - "/resourceprovider/api/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.HardwareSecurityModules/cloudHSMs/{cloudHsmName}/privateLinkResources/{privateLinkResourceName}": { + "/resourceprovider/api/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.HardwareSecurityModules/cloudHSMClusters/{cloudHsmName}/privateLinkResources/{privateLinkResourceName}": { "get": { "tags": [ - "CloudHsmPrivateLinkResources" + "" ], "operationId": "CloudHsmPrivateLinkResources_Get", "description": "Gets the private link resource supported for the cloud hsm pool.", @@ -435,10 +435,10 @@ } } }, - "/resourceprovider/api/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.HardwareSecurityModules/cloudHSMs/{cloudHsmName}/privateEndpointConnectionProxies/{peConnectionProxyName}/validate": { + "/resourceprovider/api/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.HardwareSecurityModules/cloudHSMClusters/{cloudHsmName}/privateEndpointConnectionProxies/{peConnectionProxyName}/validate": { "post": { "tags": [ - "CloudHsmPrivateEndpointConnectionProxies" + "" ], "operationId": "CloudHsmPrivateEndpointConnectionProxy_Validate", "description": "Validates the private endpoint connection porxy of the cloud hsm pool.", @@ -487,7 +487,7 @@ } } }, - "/resourceprovider/api/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.HardwareSecurityModules/cloudHSMs/{cloudHsmName}/privateEndpointConnectionProxies/{peConnectionProxyName}": { + "/resourceprovider/api/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.HardwareSecurityModules/cloudHSMClusters/{cloudHsmName}/privateEndpointConnectionProxies/{peConnectionProxyName}": { "get": { "tags": [ "CloudHsmPrivateEndpointConnectionProxy" @@ -538,7 +538,7 @@ }, "put": { "tags": [ - "CloudHsmPrivateEndpointConnectionProxies" + "" ], "operationId": "CloudHsmPrivateEndpointConnectionProxy_Create", "description": "Create the private endpoint connection proxy for the cloud hsm pool.", @@ -589,7 +589,7 @@ }, "delete": { "tags": [ - "CloudHsmPrivateEndpointConnectionProxies" + "" ], "operationId": "CloudHsmPrivateEndpointConnectionProxy_Delete", "description": "Deletes the private endpoint connection porxy for the cloud hsm pool.", @@ -648,10 +648,10 @@ } } }, - "/resourceprovider/api/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.HardwareSecurityModules/cloudHSMs/{cloudHsmName}/privateEndpointConnections/{peConnectionName}": { + "/resourceprovider/api/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.HardwareSecurityModules/cloudHSMClusters/{cloudHsmName}/privateEndpointConnections/{peConnectionName}": { "put": { "tags": [ - "CloudHsmPrivateEndpointConnections" + "" ], "operationId": "CloudHsmPrivateEndpointConnection_Create", "description": "Creates the private endpoint connection for the cloud hsm pool.", @@ -712,7 +712,7 @@ }, "delete": { "tags": [ - "CloudHsmPrivateEndpointConnections" + "" ], "operationId": "CloudHsmPrivateEndpointConnection_Delete", "description": "Deletes the private endpoint connection for the cloud hsm pool.", @@ -772,7 +772,7 @@ }, "get": { "tags": [ - "CloudHsmPrivateEndpointConnections" + "" ], "operationId": "CloudHsmPrivateEndpointConnection_Get", "description": "Gets the private endpoint connection for the cloud hsm pool.", @@ -821,10 +821,10 @@ } } }, - "/resourceprovider/api/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.HardwareSecurityModules/cloudHSMs/{cloudHsmName}/privateEndpointConnections": { + "/resourceprovider/api/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.HardwareSecurityModules/cloudHSMClusters/{cloudHsmName}/privateEndpointConnections": { "get": { "tags": [ - "CloudHsmPrivateEndpointConnections" + "" ], "operationId": "PrivateEndpointConnections_ListByCloudHsmResource", "description": "The List operation gets information about the private endpoint connections associated with the Cloud HSM", @@ -869,12 +869,11 @@ "type": "object", "description": "The Cloud HSM Partition Properties", "properties": { - "partitionId": { - "format": "int32", - "type": "integer", + "hsmId": { + "type": "string", "description": "The Cloud HSM PartitionId" }, - "partitionState": { + "state": { "type": "string", "description": "The Cloud HSM Partition State" } @@ -924,14 +923,14 @@ }, "properties": { "x-ms-client-flatten": true, - "$ref": "#/definitions/CloudHsmResourceProperties" + "$ref": "#/definitions/CloudHsmClusterProperties" } }, "description": "Cloud HSM resource", "type": "object", "x-ms-azure-resource": true }, - "CloudHsmResourceProperties": { + "CloudHsmClusterProperties": { "properties": { "provisioningState": { "type": "string", @@ -944,7 +943,7 @@ "securityDomain": { "$ref": "#/definitions/SecurityDomainProperties" }, - "hsmPartitions": { + "hsms": { "type": "array", "description": "An array of Cloud HSM Resource's HSM partitions", "x-ms-identifiers": [], @@ -952,7 +951,7 @@ "$ref": "#/definitions/CloudHsmPartitionProperties" } }, - "fabricPoolState": { + "state": { "type": "string", "description": "State of Cloud HSM Resource's Fabric Pool" } diff --git a/specification/hardwaresecuritymodules/resource-manager/Microsoft.HardwareSecurityModules/preview/2022-03-31-preview/examples/CloudHsmPrivateEndpointConnectionProxy_Create_MaximumSet_Gen.json b/specification/hardwaresecuritymodules/resource-manager/Microsoft.HardwareSecurityModules/preview/2022-03-31-preview/examples/CloudHsmPrivateEndpointConnectionProxy_Create_MaximumSet_Gen.json index 1291ff446d97..18dc84d3cbc1 100644 --- a/specification/hardwaresecuritymodules/resource-manager/Microsoft.HardwareSecurityModules/preview/2022-03-31-preview/examples/CloudHsmPrivateEndpointConnectionProxy_Create_MaximumSet_Gen.json +++ b/specification/hardwaresecuritymodules/resource-manager/Microsoft.HardwareSecurityModules/preview/2022-03-31-preview/examples/CloudHsmPrivateEndpointConnectionProxy_Create_MaximumSet_Gen.json @@ -3,7 +3,7 @@ "subscriptionId": "00000000-0000-0000-0000-000000000000", "resourceGroupName": "rgcloudhsm", "cloudHsmName": "chsm1", - "api-version": "2022-03-31-preview", + "api-version": "2022-08-31-preview", "peConnectionProxyName": "sample-pe", "body": { "properties": { @@ -49,9 +49,9 @@ "responses": { "200": { "body": { - "id": "/subscriptions/00000000-0000-0000-0000-000000000000/rgcloudhsm/providers/Microsoft.HardwareSecurityModules/cloudHSMs/chsm1/privateEndpointConnectionProxies/sample-pe.00000000-0000-0000-0000-000000000000", + "id": "/subscriptions/00000000-0000-0000-0000-000000000000/rgcloudhsm/providers/Microsoft.HardwareSecurityModules/cloudHSMClusters/chsm1/privateEndpointConnectionProxies/sample-pe.00000000-0000-0000-0000-000000000000", "name": "sample-pe.00000000-0000-0000-0000-000000000000", - "type": "Microsoft.HardwareSecurityModules/cloudHSMs/privateEndpointConnectionProxies", + "type": "Microsoft.HardwareSecurityModules/cloudHSMClusters/privateEndpointConnectionProxies", "location": "eastus2", "etag": "", "systemData": { @@ -80,7 +80,7 @@ "actionsRequired": "None" }, "remotePrivateEndpointConnection": { - "id": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/rgcloudhsm/providers/Microsoft.HardwareSecurityModules/cloudHSMs/chsm1/privateEndpointConnections/sample-pec" + "id": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/rgcloudhsm/providers/Microsoft.HardwareSecurityModules/cloudHSMClusters/chsm1/privateEndpointConnections/sample-pec" }, "groupConnectivityInformation": [{ "groupId": "cassandra", diff --git a/specification/hardwaresecuritymodules/resource-manager/Microsoft.HardwareSecurityModules/preview/2022-03-31-preview/examples/CloudHsmPrivateEndpointConnectionProxy_Delete_MaximumSet_Gen.json b/specification/hardwaresecuritymodules/resource-manager/Microsoft.HardwareSecurityModules/preview/2022-03-31-preview/examples/CloudHsmPrivateEndpointConnectionProxy_Delete_MaximumSet_Gen.json index c2dac7786e2b..24c9589bbff8 100644 --- a/specification/hardwaresecuritymodules/resource-manager/Microsoft.HardwareSecurityModules/preview/2022-03-31-preview/examples/CloudHsmPrivateEndpointConnectionProxy_Delete_MaximumSet_Gen.json +++ b/specification/hardwaresecuritymodules/resource-manager/Microsoft.HardwareSecurityModules/preview/2022-03-31-preview/examples/CloudHsmPrivateEndpointConnectionProxy_Delete_MaximumSet_Gen.json @@ -3,7 +3,7 @@ "subscriptionId": "00000000-0000-0000-0000-000000000000", "resourceGroupName": "rgcloudhsm", "cloudHsmName": "chsm1", - "api-version": "2022-03-31-preview", + "api-version": "2022-08-31-preview", "peConnectionProxyName": "sample-pe" }, "responses": { @@ -11,7 +11,7 @@ "body": { "id": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/rgcloudhsm/providers/Microsoft.Network/privateEndpoints/sample-pe", "name": "sample-pe", - "type": "Microsoft.HardwareSecurityModules/cloudHSMs/privateEndpointConnectionProxies", + "type": "Microsoft.HardwareSecurityModules/cloudHSMClusters/privateEndpointConnectionProxies", "location": "eastus2", "etag": "", "systemData": { @@ -23,7 +23,7 @@ "lastModifiedAt": "2020-01-01T12:00:00.0000000Z" }, "properties": { - "id": "/subscriptions/00000000-0000-0000-0000-000000000000/rgcloudhsm/providers/Microsoft.HardwareSecurityModules/cloudHSMs/chsm1/privateEndpointConnectionProxies/sample-pe.00000000-0000-0000-0000-000000000000", + "id": "/subscriptions/00000000-0000-0000-0000-000000000000/rgcloudhsm/providers/Microsoft.HardwareSecurityModules/cloudHSMClusters/chsm1/privateEndpointConnectionProxies/sample-pe.00000000-0000-0000-0000-000000000000", "privateLinkServiceConnections": [{ "name": "sample-pls", "groupIds": [ @@ -40,7 +40,7 @@ "actionsRequired": "None" }, "remotePrivateEndpointConnection": { - "id": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/rgcloudhsm/providers/Microsoft.HardwareSecurityModules/cloudHSMs/chsm1/privateEndpointConnections/sample-pec" + "id": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/rgcloudhsm/providers/Microsoft.HardwareSecurityModules/cloudHSMClusters/chsm1/privateEndpointConnections/sample-pec" }, "groupConnectivityInformation": [{ "groupId": "cassandra", diff --git a/specification/hardwaresecuritymodules/resource-manager/Microsoft.HardwareSecurityModules/preview/2022-03-31-preview/examples/CloudHsmPrivateEndpointConnectionProxy_Get_MaximumSet_Gen.json b/specification/hardwaresecuritymodules/resource-manager/Microsoft.HardwareSecurityModules/preview/2022-03-31-preview/examples/CloudHsmPrivateEndpointConnectionProxy_Get_MaximumSet_Gen.json index af95f7088df4..3f28c7e83a4a 100644 --- a/specification/hardwaresecuritymodules/resource-manager/Microsoft.HardwareSecurityModules/preview/2022-03-31-preview/examples/CloudHsmPrivateEndpointConnectionProxy_Get_MaximumSet_Gen.json +++ b/specification/hardwaresecuritymodules/resource-manager/Microsoft.HardwareSecurityModules/preview/2022-03-31-preview/examples/CloudHsmPrivateEndpointConnectionProxy_Get_MaximumSet_Gen.json @@ -3,15 +3,15 @@ "subscriptionId": "00000000-0000-0000-0000-000000000000", "resourceGroupName": "rgcloudhsm", "cloudHsmName": "chsm1", - "api-version": "2022-03-31-preview", + "api-version": "2022-08-31-preview", "peConnectionProxyName": "sample-pe" }, "responses": { "200": { "body": { - "id": "/subscriptions/00000000-0000-0000-0000-000000000000/rgcloudhsm/providers/Microsoft.HardwareSecurityModules/cloudHSMs/chsm1/privateEndpointConnectionProxies/sample-pe.00000000-0000-0000-0000-000000000000", + "id": "/subscriptions/00000000-0000-0000-0000-000000000000/rgcloudhsm/providers/Microsoft.HardwareSecurityModules/cloudHSMClusters/chsm1/privateEndpointConnectionProxies/sample-pe.00000000-0000-0000-0000-000000000000", "name": "sample-pe.00000000-0000-0000-0000-000000000000", - "type": "Microsoft.HardwareSecurityModules/cloudHSMs/privateEndpointConnectionProxies", + "type": "Microsoft.HardwareSecurityModules/cloudHSMClusters/privateEndpointConnectionProxies", "location": "eastus2", "etag": "", "systemData": { @@ -40,7 +40,7 @@ "actionsRequired": "None" }, "remotePrivateEndpointConnection": { - "id": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/rgcloudhsm/providers/Microsoft.HardwareSecurityModules/cloudHSMs/chsm1/privateEndpointConnections/sample-pec" + "id": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/rgcloudhsm/providers/Microsoft.HardwareSecurityModules/cloudHSMClusters/chsm1/privateEndpointConnections/sample-pec" }, "groupConnectivityInformation": [{ "groupId": "cassandra", diff --git a/specification/hardwaresecuritymodules/resource-manager/Microsoft.HardwareSecurityModules/preview/2022-03-31-preview/examples/CloudHsmPrivateEndpointConnectionProxy_Validate_MaximumSet_Gen.json b/specification/hardwaresecuritymodules/resource-manager/Microsoft.HardwareSecurityModules/preview/2022-03-31-preview/examples/CloudHsmPrivateEndpointConnectionProxy_Validate_MaximumSet_Gen.json index ecdc473850dd..cbdf31b6897f 100644 --- a/specification/hardwaresecuritymodules/resource-manager/Microsoft.HardwareSecurityModules/preview/2022-03-31-preview/examples/CloudHsmPrivateEndpointConnectionProxy_Validate_MaximumSet_Gen.json +++ b/specification/hardwaresecuritymodules/resource-manager/Microsoft.HardwareSecurityModules/preview/2022-03-31-preview/examples/CloudHsmPrivateEndpointConnectionProxy_Validate_MaximumSet_Gen.json @@ -3,7 +3,7 @@ "subscriptionId": "00000000-0000-0000-0000-000000000000", "resourceGroupName": "rgcloudhsm", "cloudHsmName": "chsm1", - "api-version": "2022-03-31-preview", + "api-version": "2022-08-31-preview", "peConnectionProxyName": "sample-pe", "body": { "location": "", @@ -51,9 +51,9 @@ "responses": { "200": { "body": { - "id": "/subscriptions/00000000-0000-0000-0000-000000000000/rgcloudhsm/providers/Microsoft.HardwareSecurityModules/cloudHSMs/chsm1/privateEndpointConnectionProxies/sample-pe.00000000-0000-0000-0000-000000000000", + "id": "/subscriptions/00000000-0000-0000-0000-000000000000/rgcloudhsm/providers/Microsoft.HardwareSecurityModules/cloudHSMClusters/chsm1/privateEndpointConnectionProxies/sample-pe.00000000-0000-0000-0000-000000000000", "name": "sample-pe.00000000-0000-0000-0000-000000000000", - "type": "Microsoft.HardwareSecurityModules/cloudHSMs/privateEndpointConnectionProxies", + "type": "Microsoft.HardwareSecurityModules/cloudHSMClusters/privateEndpointConnectionProxies", "location": "eastus2", "etag": "", "systemData": { diff --git a/specification/hardwaresecuritymodules/resource-manager/Microsoft.HardwareSecurityModules/preview/2022-03-31-preview/examples/CloudHsmPrivateEndpointConnection_Create_MaximumSet_Gen.json b/specification/hardwaresecuritymodules/resource-manager/Microsoft.HardwareSecurityModules/preview/2022-03-31-preview/examples/CloudHsmPrivateEndpointConnection_Create_MaximumSet_Gen.json index 1ed94ff054b2..c0e30c8e34a7 100644 --- a/specification/hardwaresecuritymodules/resource-manager/Microsoft.HardwareSecurityModules/preview/2022-03-31-preview/examples/CloudHsmPrivateEndpointConnection_Create_MaximumSet_Gen.json +++ b/specification/hardwaresecuritymodules/resource-manager/Microsoft.HardwareSecurityModules/preview/2022-03-31-preview/examples/CloudHsmPrivateEndpointConnection_Create_MaximumSet_Gen.json @@ -3,7 +3,7 @@ "subscriptionId": "00000000-0000-0000-0000-000000000000", "resourceGroupName": "rgcloudhsm", "cloudHsmName": "chsm1", - "api-version": "2022-03-31-preview", + "api-version": "2022-08-31-preview", "peConnectionName": "sample-pec", "properties": { "properties": { @@ -17,9 +17,17 @@ "responses": { "200": { "body": { - "id": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/rgcloudhsm/providers/Microsoft.HardwareSecurityModules/cloudHSMs/chsm1/privateEndpointConnections/sample-pec", + "id": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/rgcloudhsm/providers/Microsoft.HardwareSecurityModules/cloudHSMClusters/chsm1/privateEndpointConnections/sample-pec", "name": "sample-pec", - "type": "Microsoft.HardwareSecurityModules/cloudHSMs/privateEndpointConnections", + "type": "Microsoft.HardwareSecurityModules/cloudHSMClusters/privateEndpointConnections", + "systemData": { + "createdBy": "User1", + "createdByType": "User", + "createdAt": "2020-01-01T12:00:00.0000000Z", + "lastModifiedBy": "User2", + "lastModifiedByType": "User", + "lastModifiedAt": "2020-01-01T12:00:00.0000000Z" + }, "properties": { "provisioningState": "Succeeded", "privateEndpoint": { diff --git a/specification/hardwaresecuritymodules/resource-manager/Microsoft.HardwareSecurityModules/preview/2022-03-31-preview/examples/CloudHsmPrivateEndpointConnection_Delete_MaximumSet_Gen.json b/specification/hardwaresecuritymodules/resource-manager/Microsoft.HardwareSecurityModules/preview/2022-03-31-preview/examples/CloudHsmPrivateEndpointConnection_Delete_MaximumSet_Gen.json index 17cdcbe8120c..d7102dc294df 100644 --- a/specification/hardwaresecuritymodules/resource-manager/Microsoft.HardwareSecurityModules/preview/2022-03-31-preview/examples/CloudHsmPrivateEndpointConnection_Delete_MaximumSet_Gen.json +++ b/specification/hardwaresecuritymodules/resource-manager/Microsoft.HardwareSecurityModules/preview/2022-03-31-preview/examples/CloudHsmPrivateEndpointConnection_Delete_MaximumSet_Gen.json @@ -3,15 +3,15 @@ "subscriptionId": "00000000-0000-0000-0000-000000000000", "resourceGroupName": "rgcloudhsm", "cloudHsmName": "chsm1", - "api-version": "2022-03-31-preview", + "api-version": "2022-08-31-preview", "peConnectionName": "sample-pec" }, "responses": { "200": { "body": { - "id": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/rgcloudhsm/providers/Microsoft.HardwareSecurityModules/cloudHSMs/chsm1/privateEndpointConnections/sample-pec", + "id": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/rgcloudhsm/providers/Microsoft.HardwareSecurityModules/cloudHSMClusters/chsm1/privateEndpointConnections/sample-pec", "name": "sample-pec", - "type": "Microsoft.HardwareSecurityModules/cloudHSMs/privateEndpointConnections", + "type": "Microsoft.HardwareSecurityModules/cloudHSMClusters/privateEndpointConnections", "systemData": { "createdBy": "User1", "createdByType": "User", @@ -28,7 +28,7 @@ "202": { "headers": { "Retry-After": "60", - "location": "https://some.endpoint.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/rgcloudhsm/providers/Microsoft.HardwareSecurityModules/cloudHSMs/chsm1/privateEndpointConnections/sample-pec?operationid=25334578" + "location": "https://some.endpoint.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/rgcloudhsm/providers/Microsoft.HardwareSecurityModules/cloudHSMClusters/chsm1/privateEndpointConnections/sample-pec?operationid=25334578" } }, "204": {} diff --git a/specification/hardwaresecuritymodules/resource-manager/Microsoft.HardwareSecurityModules/preview/2022-03-31-preview/examples/CloudHsmPrivateEndpointConnection_Get_MaximumSet_Gen.json b/specification/hardwaresecuritymodules/resource-manager/Microsoft.HardwareSecurityModules/preview/2022-03-31-preview/examples/CloudHsmPrivateEndpointConnection_Get_MaximumSet_Gen.json index 389f78d4e1a8..d0707c70dec9 100644 --- a/specification/hardwaresecuritymodules/resource-manager/Microsoft.HardwareSecurityModules/preview/2022-03-31-preview/examples/CloudHsmPrivateEndpointConnection_Get_MaximumSet_Gen.json +++ b/specification/hardwaresecuritymodules/resource-manager/Microsoft.HardwareSecurityModules/preview/2022-03-31-preview/examples/CloudHsmPrivateEndpointConnection_Get_MaximumSet_Gen.json @@ -3,15 +3,15 @@ "subscriptionId": "00000000-0000-0000-0000-000000000000", "resourceGroupName": "rgcloudhsm", "cloudHsmName": "chsm1", - "api-version": "2022-03-31-preview", + "api-version": "2022-08-31-preview", "peConnectionName": "sample-pec" }, "responses": { "200": { "body": { - "id": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/rgcloudhsm/providers/Microsoft.HardwareSecurityModules/cloudHSMs/chsm1/privateEndpointConnections/sample-pec", + "id": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/rgcloudhsm/providers/Microsoft.HardwareSecurityModules/cloudHSMClusters/chsm1/privateEndpointConnections/sample-pec", "name": "sample-pec", - "type": "Microsoft.HardwareSecurityModules/cloudHSMs/privateEndpointConnections", + "type": "Microsoft.HardwareSecurityModules/cloudHSMClusters/privateEndpointConnections", "systemData": { "createdBy": "User1", "createdByType": "User", diff --git a/specification/hardwaresecuritymodules/resource-manager/Microsoft.HardwareSecurityModules/preview/2022-03-31-preview/examples/CloudHsmPrivateLinkResources_Get_MaximumSet_Gen.json b/specification/hardwaresecuritymodules/resource-manager/Microsoft.HardwareSecurityModules/preview/2022-03-31-preview/examples/CloudHsmPrivateLinkResources_Get_MaximumSet_Gen.json index 05edde7811a7..8b66b746e97a 100644 --- a/specification/hardwaresecuritymodules/resource-manager/Microsoft.HardwareSecurityModules/preview/2022-03-31-preview/examples/CloudHsmPrivateLinkResources_Get_MaximumSet_Gen.json +++ b/specification/hardwaresecuritymodules/resource-manager/Microsoft.HardwareSecurityModules/preview/2022-03-31-preview/examples/CloudHsmPrivateLinkResources_Get_MaximumSet_Gen.json @@ -3,15 +3,15 @@ "subscriptionId": "00000000-0000-0000-0000-000000000000", "resourceGroupName": "rgcloudhsm", "cloudHsmName": "chsm1", - "api-version": "2022-03-31-preview", + "api-version": "2022-08-31-preview", "privateLinkResourceName": "sample-pls" }, "responses": { "200": { "body": { - "id": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/rgcloudhsm/providers/Microsoft.HardwareSecurityModules/cloudHSMs/chsm1/privateLinkResources/sample-pls", + "id": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/rgcloudhsm/providers/Microsoft.HardwareSecurityModules/cloudHSMClusters/chsm1/privateLinkResources/sample-pls", "name": "sample-pls", - "type": "Microsoft.HardwareSecurityModules/cloudHSMs/privateLinkResources", + "type": "Microsoft.HardwareSecurityModules/cloudHSMClusters/privateLinkResources", "properties": { "groupId": "cloudHsm", "requiredMembers": [ diff --git a/specification/hardwaresecuritymodules/resource-manager/Microsoft.HardwareSecurityModules/preview/2022-03-31-preview/examples/CloudHsm_CreateOrUpdate_MaximumSet_Gen.json b/specification/hardwaresecuritymodules/resource-manager/Microsoft.HardwareSecurityModules/preview/2022-03-31-preview/examples/CloudHsm_CreateOrUpdate_MaximumSet_Gen.json index 31d7bc21de68..e0cf0f3bed39 100644 --- a/specification/hardwaresecuritymodules/resource-manager/Microsoft.HardwareSecurityModules/preview/2022-03-31-preview/examples/CloudHsm_CreateOrUpdate_MaximumSet_Gen.json +++ b/specification/hardwaresecuritymodules/resource-manager/Microsoft.HardwareSecurityModules/preview/2022-03-31-preview/examples/CloudHsm_CreateOrUpdate_MaximumSet_Gen.json @@ -3,7 +3,7 @@ "subscriptionId": "00000000-0000-0000-0000-000000000000", "resourceGroupName": "rgcloudhsm", "cloudHsmName": "chsm1", - "api-version": "2022-03-31-preview", + "api-version": "2022-08-31-preview", "body": { "location": "eastus2", "sku": { @@ -26,7 +26,7 @@ "body": { "name": "chsm1", "location": "eastus2", - "id": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/rgcloudhsm/providers/Microsoft.HardwareSecurityModules/cloudHSMs/chsm1", + "id": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/rgcloudhsm/providers/Microsoft.HardwareSecurityModules/cloudHSMClusters/chsm1", "sku": { "family": "B", "name": "Standard_B1" @@ -35,7 +35,7 @@ "Dept": "hsm", "Environment": "dogfood" }, - "type": "Microsoft.HardwareSecurityModules/cloudHSMs", + "type": "Microsoft.HardwareSecurityModules/cloudHSM", "systemData": { "createdBy": "CHsmUser1", "createdByType": "User", @@ -51,8 +51,8 @@ "fipsState": 2, "activationStatus": "null" }, - "hsmPartitions": null, - "fabricPoolState": "Started" + "hsms": null, + "state": "Started" } } }, @@ -60,7 +60,7 @@ "body": { "name": "chsm1", "location": "eastus2", - "id": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/rgcloudhsm/providers/Microsoft.HardwareSecurityModules/cloudHSMs/chsm1", + "id": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/rgcloudhsm/providers/Microsoft.HardwareSecurityModules/cloudHSMClusters/chsm1", "sku": { "family": "B", "name": "Standard_B1" @@ -69,7 +69,7 @@ "Dept": "hsm", "Environment": "dogfood" }, - "type": "Microsoft.HardwareSecurityModules/cloudHSMs", + "type": "Microsoft.HardwareSecurityModules/cloudHSMClusters", "systemData": { "createdBy": "CHsmUser1", "createdByType": "User", @@ -85,8 +85,8 @@ "fipsState": 2, "activationStatus": "null" }, - "hsmPartitions": null, - "fabricPoolState": "Started" + "hsms": null, + "state": "Started" } } } diff --git a/specification/hardwaresecuritymodules/resource-manager/Microsoft.HardwareSecurityModules/preview/2022-03-31-preview/examples/CloudHsm_Delete_MaximumSet_Gen.json b/specification/hardwaresecuritymodules/resource-manager/Microsoft.HardwareSecurityModules/preview/2022-03-31-preview/examples/CloudHsm_Delete_MaximumSet_Gen.json index 1c2dfefcedf9..b5b309784c2e 100644 --- a/specification/hardwaresecuritymodules/resource-manager/Microsoft.HardwareSecurityModules/preview/2022-03-31-preview/examples/CloudHsm_Delete_MaximumSet_Gen.json +++ b/specification/hardwaresecuritymodules/resource-manager/Microsoft.HardwareSecurityModules/preview/2022-03-31-preview/examples/CloudHsm_Delete_MaximumSet_Gen.json @@ -3,13 +3,13 @@ "subscriptionId": "00000000-0000-0000-0000-000000000000", "resourceGroupName": "rgcloudhsm", "cloudHsmName": "chsm1", - "api-version": "2022-03-31-preview" + "api-version": "2022-08-31-preview" }, "responses": { "200": {}, "202": { "headers": { - "location": "https://some.endpoint.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/rgcloudhsm/providers/Microsoft.HardwareSecurityModules/cloudHSMs/chsm1?api-version=2022-03-31&operation=abJjb2RkIjoiAGVsZXRlTWFuYWdlZEhzbUFzeW5jYm9" + "location": "https://some.endpoint.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/rgcloudhsm/providers/Microsoft.HardwareSecurityModules/cloudHSMClusters/chsm1?api-version=2022-03-31&operation=abJjb2RkIjoiAGVsZXRlTWFuYWdlZEhzbUFzeW5jYm9" } }, "204": {} diff --git a/specification/hardwaresecuritymodules/resource-manager/Microsoft.HardwareSecurityModules/preview/2022-03-31-preview/examples/CloudHsm_Get_MaximumSet_Gen.json b/specification/hardwaresecuritymodules/resource-manager/Microsoft.HardwareSecurityModules/preview/2022-03-31-preview/examples/CloudHsm_Get_MaximumSet_Gen.json index 38162c41a192..6d0cd031cde0 100644 --- a/specification/hardwaresecuritymodules/resource-manager/Microsoft.HardwareSecurityModules/preview/2022-03-31-preview/examples/CloudHsm_Get_MaximumSet_Gen.json +++ b/specification/hardwaresecuritymodules/resource-manager/Microsoft.HardwareSecurityModules/preview/2022-03-31-preview/examples/CloudHsm_Get_MaximumSet_Gen.json @@ -3,14 +3,14 @@ "subscriptionId": "00000000-0000-0000-0000-000000000000", "resourceGroupName": "rgcloudhsm", "cloudHsmName": "chsm1", - "api-version": "2022-03-31-preview" + "api-version": "2022-08-31-preview" }, "responses": { "200": { "body": { "name": "chsm1", "location": "eastus2", - "id": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/rgcloudhsm/providers/Microsoft.HardwareSecurityModules/cloudHSMs/chsm1", + "id": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/rgcloudhsm/providers/Microsoft.HardwareSecurityModules/cloudHSMClusters/chsm1", "sku": { "family": "B", "name": "Standard_B1" @@ -19,7 +19,7 @@ "Dept": "hsm", "Environment": "dogfood" }, - "type": "Microsoft.HardwareSecurityModules/cloudHSMs", + "type": "Microsoft.HardwareSecurityModules/cloudHSMClusters", "systemData": { "createdBy": "CHsmUser1", "createdByType": "User", @@ -35,8 +35,8 @@ "fipsState": 2, "activationStatus": "null" }, - "hsmPartitions": null, - "fabricPoolState": "Started" + "hsms": null, + "state": "Started" } } } diff --git a/specification/hardwaresecuritymodules/resource-manager/Microsoft.HardwareSecurityModules/preview/2022-03-31-preview/examples/CloudHsm_ListByResourceGroup_MaximumSet_Gen.json b/specification/hardwaresecuritymodules/resource-manager/Microsoft.HardwareSecurityModules/preview/2022-03-31-preview/examples/CloudHsm_ListByResourceGroup_MaximumSet_Gen.json index 4b71f84481b1..d374468b6722 100644 --- a/specification/hardwaresecuritymodules/resource-manager/Microsoft.HardwareSecurityModules/preview/2022-03-31-preview/examples/CloudHsm_ListByResourceGroup_MaximumSet_Gen.json +++ b/specification/hardwaresecuritymodules/resource-manager/Microsoft.HardwareSecurityModules/preview/2022-03-31-preview/examples/CloudHsm_ListByResourceGroup_MaximumSet_Gen.json @@ -2,7 +2,7 @@ "parameters": { "subscriptionId": "00000000-0000-0000-0000-000000000000", "resourceGroupName": "rgcloudhsm", - "api-version": "2022-03-31-preview" + "api-version": "2022-08-31-preview" }, "responses": { "200": { @@ -10,7 +10,7 @@ "value": [{ "name": "chsm1", "location": "eastus2", - "id": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/rgcloudhsm/providers/Microsoft.HardwareSecurityModules/cloudHSMs/chsm1", + "id": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/rgcloudhsm/providers/Microsoft.HardwareSecurityModules/cloudHSMClusters/chsm1", "sku": { "family": "B", "name": "Standard_B1" @@ -19,7 +19,7 @@ "Dept": "hsm", "Environment": "dogfood" }, - "type": "Microsoft.HardwareSecurityModules/cloudHSMs", + "type": "Microsoft.HardwareSecurityModules/cloudHSMClusters", "systemData": { "createdBy": "CHsmUser1", "createdByType": "User", @@ -35,13 +35,13 @@ "fipsState": 2, "activationStatus": "null" }, - "hsmPartitions": null, - "fabricPoolState": "Started" + "hsms": null, + "state": "Started" } }, { "name": "chsm2", "location": "eastus2", - "id": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/rgcloudhsm/providers/Microsoft.HardwareSecurityModules/cloudHSMs/chsm2", + "id": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/rgcloudhsm/providers/Microsoft.HardwareSecurityModules/cloudHSMClusters/chsm2", "sku": { "family": "B", "name": "Standard_B1" @@ -50,7 +50,7 @@ "Dept": "hsm", "Environment": "dogfood" }, - "type": "Microsoft.HardwareSecurityModules/cloudHSMs", + "type": "Microsoft.HardwareSecurityModules/cloudHSMClusters", "systemData": { "createdBy": "CHsmUser1", "createdByType": "User", @@ -66,12 +66,12 @@ "fipsState": 2, "activationStatus": "null" }, - "hsmPartitions": null, - "fabricPoolState": "Started" + "hsms": null, + "state": "Started" } } ], - "nextLink": "https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/rgcloudhsm/providers/Microsoft.HardwareSecurityModules/cloudHSMs?api-version=2022-03-31&$skiptoken=dmF1bHQtcGVza3ktanVyeS03MzA3Ng==" + "nextLink": "https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/rgcloudhsm/providers/Microsoft.HardwareSecurityModules/cloudHSMClusters?api-version=2022-03-31&$skiptoken=dmF1bHQtcGVza3ktanVyeS03MzA3Ng==" } } } diff --git a/specification/hardwaresecuritymodules/resource-manager/Microsoft.HardwareSecurityModules/preview/2022-03-31-preview/examples/CloudHsm_ListBySubscription_MaximumSet_Gen.json b/specification/hardwaresecuritymodules/resource-manager/Microsoft.HardwareSecurityModules/preview/2022-03-31-preview/examples/CloudHsm_ListBySubscription_MaximumSet_Gen.json index c7f81dc877bd..74f4cb62b5e2 100644 --- a/specification/hardwaresecuritymodules/resource-manager/Microsoft.HardwareSecurityModules/preview/2022-03-31-preview/examples/CloudHsm_ListBySubscription_MaximumSet_Gen.json +++ b/specification/hardwaresecuritymodules/resource-manager/Microsoft.HardwareSecurityModules/preview/2022-03-31-preview/examples/CloudHsm_ListBySubscription_MaximumSet_Gen.json @@ -2,7 +2,7 @@ "parameters": { "subscriptionId": "00000000-0000-0000-0000-000000000000", "$skiptoken": "arqhga", - "api-version": "2022-03-31-preview" + "api-version": "2022-08-31-preview" }, "responses": { "200": { @@ -10,7 +10,7 @@ "value": [{ "name": "chsm1", "location": "eastus2", - "id": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/rgcloudhsm/providers/Microsoft.HardwareSecurityModules/cloudHSMs/chsm1", + "id": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/rgcloudhsm/providers/Microsoft.HardwareSecurityModules/cloudHSMClusters/chsm1", "sku": { "family": "B", "name": "Standard_B1" @@ -19,7 +19,7 @@ "Dept": "hsm", "Environment": "dogfood" }, - "type": "Microsoft.HardwareSecurityModules/cloudHSMs", + "type": "Microsoft.HardwareSecurityModules/cloudHSMClusters", "systemData": { "createdBy": "CHsmUser1", "createdByType": "User", @@ -35,13 +35,13 @@ "fipsState": 2, "activationStatus": "null" }, - "hsmPartitions": null, - "fabricPoolState": "Started" + "hsms": null, + "state": "Started" } }, { "name": "chsm2", "location": "eastus2", - "id": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/rgcloudhsm/providers/Microsoft.HardwareSecurityModules/cloudHSMs/chsm2", + "id": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/rgcloudhsm/providers/Microsoft.HardwareSecurityModules/cloudHSMClusters/chsm2", "sku": { "family": "B", "name": "Standard_B1" @@ -50,7 +50,7 @@ "Dept": "hsm", "Environment": "dogfood" }, - "type": "Microsoft.HardwareSecurityModules/cloudHSMs", + "type": "Microsoft.HardwareSecurityModules/cloudHSMClusters", "systemData": { "createdBy": "CHsmUser1", "createdByType": "User", @@ -66,12 +66,12 @@ "fipsState": 2, "activationStatus": "null" }, - "hsmPartitions": null, - "fabricPoolState": "Started" + "hsms": null, + "state": "Started" } } ], - "nextLink": "https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.HardwareSecurityModules/cloudHSMs?api-version=2022-07-01&$skiptoken=dmF1bHQtcGVza3ktanVyeS03MzA3Ng==" + "nextLink": "https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.HardwareSecurityModules/cloudHSMClusters?api-version=2022-07-01&$skiptoken=dmF1bHQtcGVza3ktanVyeS03MzA3Ng==" } } } diff --git a/specification/hardwaresecuritymodules/resource-manager/Microsoft.HardwareSecurityModules/preview/2022-03-31-preview/examples/CloudHsm_Update_MaximumSet_Gen.json b/specification/hardwaresecuritymodules/resource-manager/Microsoft.HardwareSecurityModules/preview/2022-03-31-preview/examples/CloudHsm_Update_MaximumSet_Gen.json index aee96dabe11c..6a4d23903515 100644 --- a/specification/hardwaresecuritymodules/resource-manager/Microsoft.HardwareSecurityModules/preview/2022-03-31-preview/examples/CloudHsm_Update_MaximumSet_Gen.json +++ b/specification/hardwaresecuritymodules/resource-manager/Microsoft.HardwareSecurityModules/preview/2022-03-31-preview/examples/CloudHsm_Update_MaximumSet_Gen.json @@ -3,7 +3,7 @@ "subscriptionId": "00000000-0000-0000-0000-000000000000", "resourceGroupName": "rgcloudhsm", "cloudHsmName": "chsm1", - "api-version": "2022-03-31-preview", + "api-version": "2022-08-31-preview", "body": { "tags": { "Dept": "hsm", @@ -17,7 +17,7 @@ "body": { "name": "chsm1", "location": "eastus2", - "id": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/rgcloudhsm/providers/Microsoft.HardwareSecurityModules/cloudHSMs/chsm1", + "id": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/rgcloudhsm/providers/Microsoft.HardwareSecurityModules/cloudHSMClusters/chsm1", "sku": { "family": "B", "name": "Standard_B1" @@ -27,7 +27,7 @@ "Environment": "dogfood", "Slice": "A" }, - "type": "Microsoft.HardwareSecurityModules/cloudHSMs", + "type": "Microsoft.HardwareSecurityModules/cloudHSMClusters", "systemData": { "createdBy": "CHsmUser1", "createdByType": "User", @@ -43,19 +43,19 @@ "fipsState": 2, "activationStatus": "null" }, - "hsmPartitions": null, - "fabricPoolState": "Started" + "hsms": null, + "state": "Started" } } }, "202": { "headers": { - "Location": "https://some.endpoint.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/rgcloudhsm/providers/Microsoft.HardwareSecurityModules/cloudHSMs/chsm1?api-version=2022-07-01&kv-operation=abJjb2RkIjoiAGVsZXRlTWFuYWdlZEhzbUFzeW5jYm9" + "Location": "https://some.endpoint.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/rgcloudhsm/providers/Microsoft.HardwareSecurityModules/cloudHSMClusters/chsm1?api-version=2022-07-01&kv-operation=abJjb2RkIjoiAGVsZXRlTWFuYWdlZEhzbUFzeW5jYm9" }, "body": { "name": "chsm1", "location": "eastus2", - "id": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/rgcloudhsm/providers/Microsoft.HardwareSecurityModules/cloudHSMs/chsm1", + "id": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/rgcloudhsm/providers/Microsoft.HardwareSecurityModules/cloudHSMClusters/chsm1", "sku": { "family": "B", "name": "Standard_B1" @@ -65,7 +65,7 @@ "Environment": "dogfood", "Slice": "A" }, - "type": "Microsoft.HardwareSecurityModules/cloudHSMs", + "type": "Microsoft.HardwareSecurityModules/cloudHSMClusters", "systemData": { "createdBy": "CHsmUser1", "createdByType": "User", @@ -81,8 +81,8 @@ "fipsState": 2, "activationStatus": "null" }, - "hsmPartitions": null, - "fabricPoolState": "Started" + "hsms": null, + "state": "Started" } } } diff --git a/specification/hardwaresecuritymodules/resource-manager/Microsoft.HardwareSecurityModules/preview/2022-03-31-preview/examples/Operations_List_MaximumSet_Gen.json b/specification/hardwaresecuritymodules/resource-manager/Microsoft.HardwareSecurityModules/preview/2022-03-31-preview/examples/Operations_List_MaximumSet_Gen.json index 92980fb8301f..3dfa164a6232 100644 --- a/specification/hardwaresecuritymodules/resource-manager/Microsoft.HardwareSecurityModules/preview/2022-03-31-preview/examples/Operations_List_MaximumSet_Gen.json +++ b/specification/hardwaresecuritymodules/resource-manager/Microsoft.HardwareSecurityModules/preview/2022-03-31-preview/examples/Operations_List_MaximumSet_Gen.json @@ -1,13 +1,13 @@ { "parameters": { - "api-version": "2022-03-31-preview" + "api-version": "2022-08-31-preview" }, "responses": { "200": { "body": { "value": [ { - "name": "Microsoft.HardwareSecurityModules/cloudHSMs/read", + "name": "Microsoft.HardwareSecurityModules/cloudHSMClusters/read", "display": { "provider": "Microsoft HardwareSecurityModules", "resource": "Cloud HSM", @@ -17,7 +17,7 @@ "isDataAction": false }, { - "name": "Microsoft.HardwareSecurityModules/cloudHSMs/write", + "name": "Microsoft.HardwareSecurityModules/cloudHSMClusters/write", "display": { "provider": "Microsoft HardwareSecurityModules", "resource": "Cloud HSM", @@ -27,7 +27,7 @@ "isDataAction": false }, { - "name": "Microsoft.HardwareSecurityModules/cloudHSMs/delete", + "name": "Microsoft.HardwareSecurityModules/cloudHSMClusters/delete", "display": { "provider": "Microsoft HardwareSecurityModules", "resource": "Cloud HSM", @@ -77,7 +77,7 @@ "isDataAction": false }, { - "name": "Microsoft.HardwareSecurityModules/cloudhsms/privateLinkResources/read", + "name": "Microsoft.HardwareSecurityModules/cloudHSMClusters/privateLinkResources/read", "display": { "provider": "Microsoft HardwareSecurityModules", "resource": "CloudHsm", @@ -87,7 +87,7 @@ "isDataAction": false }, { - "name": "Microsoft.HardwareSecurityModules/cloudhsms/PrivateEndpointConnectionsApproval/action", + "name": "Microsoft.HardwareSecurityModules/cloudHSMClusters/PrivateEndpointConnectionsApproval/action", "display": { "provider": "Microsoft HardwareSecurityModules", "resource": "CloudHsm", @@ -97,7 +97,7 @@ "isDataAction": false }, { - "name": "Microsoft.HardwareSecurityModules/cloudhsms/privateEndpointConnectionProxies/read", + "name": "Microsoft.HardwareSecurityModules/cloudHSMClusters/privateEndpointConnectionProxies/read", "display": { "provider": "Microsoft HardwareSecurityModules", "resource": "CloudHsm", @@ -107,7 +107,7 @@ "isDataAction": false }, { - "name": "Microsoft.HardwareSecurityModules/cloudhsms/privateEndpointConnectionProxies/write", + "name": "Microsoft.HardwareSecurityModules/cloudHSMClusters/privateEndpointConnectionProxies/write", "display": { "provider": "Microsoft HardwareSecurityModules", "resource": "CloudHsm", @@ -117,7 +117,7 @@ "isDataAction": false }, { - "name": "Microsoft.HardwareSecurityModules/cloudhsms/privateEndpointConnectionProxies/delete", + "name": "Microsoft.HardwareSecurityModules/cloudHSMClusters/privateEndpointConnectionProxies/delete", "display": { "provider": "Microsoft HardwareSecurityModules", "resource": "CloudHsm", @@ -127,7 +127,7 @@ "isDataAction": false }, { - "name": "Microsoft.HardwareSecurityModules/cloudhsms/privateEndpointConnectionProxies/validate/action", + "name": "Microsoft.HardwareSecurityModules/cloudHSMClusters/privateEndpointConnectionProxies/validate/action", "display": { "provider": "Microsoft HardwareSecurityModules", "resource": "CloudHsm", @@ -137,7 +137,7 @@ "isDataAction": false }, { - "name": "Microsoft.HardwareSecurityModules/cloudhsms/privateEndpointConnections/read", + "name": "Microsoft.HardwareSecurityModules/cloudHSMClusters/privateEndpointConnections/read", "display": { "provider": "Microsoft HardwareSecurityModules", "resource": "CloudHsm", @@ -147,7 +147,7 @@ "isDataAction": false }, { - "name": "Microsoft.HardwareSecurityModules/cloudhsms/privateEndpointConnections/write", + "name": "Microsoft.HardwareSecurityModules/cloudHSMClusters/privateEndpointConnections/write", "display": { "provider": "Microsoft HardwareSecurityModules", "resource": "CloudHsm", @@ -157,7 +157,7 @@ "isDataAction": false }, { - "name": "Microsoft.HardwareSecurityModules/cloudhsms/privateEndpointConnections/delete", + "name": "Microsoft.HardwareSecurityModules/cloudHSMClusters/privateEndpointConnections/delete", "display": { "provider": "Microsoft HardwareSecurityModules", "resource": "CloudHsm", diff --git a/specification/hardwaresecuritymodules/resource-manager/Microsoft.HardwareSecurityModules/preview/2022-03-31-preview/examples/Operations_List_MinimumSet_Gen.json b/specification/hardwaresecuritymodules/resource-manager/Microsoft.HardwareSecurityModules/preview/2022-03-31-preview/examples/Operations_List_MinimumSet_Gen.json index 69ef07d42ff1..093029c20faa 100644 --- a/specification/hardwaresecuritymodules/resource-manager/Microsoft.HardwareSecurityModules/preview/2022-03-31-preview/examples/Operations_List_MinimumSet_Gen.json +++ b/specification/hardwaresecuritymodules/resource-manager/Microsoft.HardwareSecurityModules/preview/2022-03-31-preview/examples/Operations_List_MinimumSet_Gen.json @@ -1,6 +1,6 @@ { "parameters": { - "api-version": "2022-03-31-preview" + "api-version": "2022-08-31-preview" }, "responses": { "200": { diff --git a/specification/hardwaresecuritymodules/resource-manager/Microsoft.HardwareSecurityModules/preview/2022-03-31-preview/examples/PrivateEndpointConnections_ListByCloudHsmResource_MaximumSet_Gen.json b/specification/hardwaresecuritymodules/resource-manager/Microsoft.HardwareSecurityModules/preview/2022-03-31-preview/examples/PrivateEndpointConnections_ListByCloudHsmResource_MaximumSet_Gen.json index 93b83ac04e6e..6d275cc937da 100644 --- a/specification/hardwaresecuritymodules/resource-manager/Microsoft.HardwareSecurityModules/preview/2022-03-31-preview/examples/PrivateEndpointConnections_ListByCloudHsmResource_MaximumSet_Gen.json +++ b/specification/hardwaresecuritymodules/resource-manager/Microsoft.HardwareSecurityModules/preview/2022-03-31-preview/examples/PrivateEndpointConnections_ListByCloudHsmResource_MaximumSet_Gen.json @@ -9,9 +9,9 @@ "200": { "body": { "value": [{ - "id": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/rgcloudhsm/providers/Microsoft.HardwareSecurityModules/cloudHSMs/chsm1/privateEndpointConnections/sample-pec1", + "id": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/rgcloudhsm/providers/Microsoft.HardwareSecurityModules/cloudHSMClusters/chsm1/privateEndpointConnections/sample-pec1", "name": "chsm1", - "type": "Microsoft.HardwareSecurityModules/cloudHSMs/privateEndpointConnections", + "type": "Microsoft.HardwareSecurityModules/cloudHSMClusters/privateEndpointConnections", "etag": "", "systemData": { "createdBy": "User1", @@ -33,9 +33,9 @@ } } }, { - "id": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/rgcloudhsm/providers/Microsoft.HardwareSecurityModules/cloudHSMs/chsm1/privateEndpointConnections/sample-pec2", + "id": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/rgcloudhsm/providers/Microsoft.HardwareSecurityModules/cloudHSMClusters/chsm1/privateEndpointConnections/sample-pec2", "name": "chsm2", - "type": "Microsoft.HardwareSecurityModules/cloudHSMs/privateEndpointConnections", + "type": "Microsoft.HardwareSecurityModules/cloudHSMClusters/privateEndpointConnections", "etag": "", "systemData": { "createdBy": "User1", diff --git a/specification/hardwaresecuritymodules/resource-manager/Microsoft.HardwareSecurityModules/preview/2022-03-31-preview/examples/PrivateLinkResources_ListByCloudHsmResource_MaximumSet_Gen.json b/specification/hardwaresecuritymodules/resource-manager/Microsoft.HardwareSecurityModules/preview/2022-03-31-preview/examples/PrivateLinkResources_ListByCloudHsmResource_MaximumSet_Gen.json index f2383d1e1d27..b187cb6789d8 100644 --- a/specification/hardwaresecuritymodules/resource-manager/Microsoft.HardwareSecurityModules/preview/2022-03-31-preview/examples/PrivateLinkResources_ListByCloudHsmResource_MaximumSet_Gen.json +++ b/specification/hardwaresecuritymodules/resource-manager/Microsoft.HardwareSecurityModules/preview/2022-03-31-preview/examples/PrivateLinkResources_ListByCloudHsmResource_MaximumSet_Gen.json @@ -1,33 +1,32 @@ { - "parameters": { - "subscriptionId": "00000000-0000-0000-0000-000000000000", - "resourceGroupName": "rgcloudhsm", - "cloudHsmName": "chsm1", - "api-version": "2022-03-31-preview" - }, - "responses": { - "200": { - "body": { - "value": [ - { - "id": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/rgcloudhsm/providers/Microsoft.HardwareSecurityModules/cloudHSMs/chsm1/privateLinkResources/sample-pls", - "name": "sample-pls", - "type": "Microsoft.HardwareSecurityModules/cloudHSMs/privateLinkResources", - "properties": { - "groupId": "cloudHsm", - "requiredMembers": [ - "hsm1", - "hsm2", - "hsm3" - ], - "requiredZoneNames": [ - "privatelink.cloudhsm.azure-int.net" - ] + "parameters": { + "subscriptionId": "00000000-0000-0000-0000-000000000000", + "resourceGroupName": "rgcloudhsm", + "cloudHsmName": "chsm1", + "api-version": "2022-03-31-preview" + }, + "responses": { + "200": { + "body": { + "value": [{ + "id": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/rgcloudhsm/providers/Microsoft.HardwareSecurityModules/cloudHSMClusters/chsm1/privateLinkResources/sample-pls", + "name": "sample-pls", + "type": "Microsoft.HardwareSecurityModules/cloudHSMClusters/privateLinkResources", + "properties": { + "groupId": "cloudHsm", + "requiredMembers": [ + "hsm1", + "hsm2", + "hsm3" + ], + "requiredZoneNames": [ + "privatelink.cloudhsm.azure-int.net" + ] + } + } + ], + "nextLink": "https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/rgcloudhsm/providers/Microsoft.HardwareSecurityModules/cloudHSMClusters?api-version=2022-03-31&$skiptoken=dmF1bHQtcGVza3ktanVyeS03MzA3Ng==" + } } - } - ], - "nextLink": "https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/rgcloudhsm/providers/Microsoft.HardwareSecurityModules/cloudHSMs?api-version=2022-03-31&$skiptoken=dmF1bHQtcGVza3ktanVyeS03MzA3Ng==" - } } - } -} \ No newline at end of file +} From 756246e952b145ab828d4e0edf84ed2913dd12d8 Mon Sep 17 00:00:00 2001 From: GoradeAarti Date: Mon, 12 Sep 2022 15:20:38 -0700 Subject: [PATCH 04/69] added stateMessage --- .../preview/2022-03-31-preview/cloudhsm.json | 12 ++++++++++-- .../CloudHsm_CreateOrUpdate_MaximumSet_Gen.json | 6 ++++-- .../examples/CloudHsm_Get_MaximumSet_Gen.json | 3 ++- .../CloudHsm_ListByResourceGroup_MaximumSet_Gen.json | 6 ++++-- .../CloudHsm_ListBySubscription_MaximumSet_Gen.json | 6 ++++-- .../examples/CloudHsm_Update_MaximumSet_Gen.json | 6 ++++-- 6 files changed, 28 insertions(+), 11 deletions(-) diff --git a/specification/hardwaresecuritymodules/resource-manager/Microsoft.HardwareSecurityModules/preview/2022-03-31-preview/cloudhsm.json b/specification/hardwaresecuritymodules/resource-manager/Microsoft.HardwareSecurityModules/preview/2022-03-31-preview/cloudhsm.json index 86e005a964d5..e2ab45c27e6e 100644 --- a/specification/hardwaresecuritymodules/resource-manager/Microsoft.HardwareSecurityModules/preview/2022-03-31-preview/cloudhsm.json +++ b/specification/hardwaresecuritymodules/resource-manager/Microsoft.HardwareSecurityModules/preview/2022-03-31-preview/cloudhsm.json @@ -876,7 +876,11 @@ "state": { "type": "string", "description": "The Cloud HSM Partition State" - } + }, + "stateMessage":{ + "type": "string", + "description": "The Cloud HSM Partition State message" + } } }, "CloudHsmResource": { @@ -954,7 +958,11 @@ "state": { "type": "string", "description": "State of Cloud HSM Resource's Fabric Pool" - } + }, + "stateMessage":{ + "type": "string", + "description": "The Cloud HSM Partition State message" + } }, "description": "Properties of a Cloud HSM resource.", "type": "object" diff --git a/specification/hardwaresecuritymodules/resource-manager/Microsoft.HardwareSecurityModules/preview/2022-03-31-preview/examples/CloudHsm_CreateOrUpdate_MaximumSet_Gen.json b/specification/hardwaresecuritymodules/resource-manager/Microsoft.HardwareSecurityModules/preview/2022-03-31-preview/examples/CloudHsm_CreateOrUpdate_MaximumSet_Gen.json index e0cf0f3bed39..7d22d0fa5263 100644 --- a/specification/hardwaresecuritymodules/resource-manager/Microsoft.HardwareSecurityModules/preview/2022-03-31-preview/examples/CloudHsm_CreateOrUpdate_MaximumSet_Gen.json +++ b/specification/hardwaresecuritymodules/resource-manager/Microsoft.HardwareSecurityModules/preview/2022-03-31-preview/examples/CloudHsm_CreateOrUpdate_MaximumSet_Gen.json @@ -52,7 +52,8 @@ "activationStatus": "null" }, "hsms": null, - "state": "Started" + "state": "Started", + "stateMessage": "" } } }, @@ -86,7 +87,8 @@ "activationStatus": "null" }, "hsms": null, - "state": "Started" + "state": "Started", + "stateMessage": "" } } } diff --git a/specification/hardwaresecuritymodules/resource-manager/Microsoft.HardwareSecurityModules/preview/2022-03-31-preview/examples/CloudHsm_Get_MaximumSet_Gen.json b/specification/hardwaresecuritymodules/resource-manager/Microsoft.HardwareSecurityModules/preview/2022-03-31-preview/examples/CloudHsm_Get_MaximumSet_Gen.json index 6d0cd031cde0..87b960321d51 100644 --- a/specification/hardwaresecuritymodules/resource-manager/Microsoft.HardwareSecurityModules/preview/2022-03-31-preview/examples/CloudHsm_Get_MaximumSet_Gen.json +++ b/specification/hardwaresecuritymodules/resource-manager/Microsoft.HardwareSecurityModules/preview/2022-03-31-preview/examples/CloudHsm_Get_MaximumSet_Gen.json @@ -36,7 +36,8 @@ "activationStatus": "null" }, "hsms": null, - "state": "Started" + "state": "Started", + "stateMessage": "" } } } diff --git a/specification/hardwaresecuritymodules/resource-manager/Microsoft.HardwareSecurityModules/preview/2022-03-31-preview/examples/CloudHsm_ListByResourceGroup_MaximumSet_Gen.json b/specification/hardwaresecuritymodules/resource-manager/Microsoft.HardwareSecurityModules/preview/2022-03-31-preview/examples/CloudHsm_ListByResourceGroup_MaximumSet_Gen.json index d374468b6722..9bd7ca6e96f3 100644 --- a/specification/hardwaresecuritymodules/resource-manager/Microsoft.HardwareSecurityModules/preview/2022-03-31-preview/examples/CloudHsm_ListByResourceGroup_MaximumSet_Gen.json +++ b/specification/hardwaresecuritymodules/resource-manager/Microsoft.HardwareSecurityModules/preview/2022-03-31-preview/examples/CloudHsm_ListByResourceGroup_MaximumSet_Gen.json @@ -36,7 +36,8 @@ "activationStatus": "null" }, "hsms": null, - "state": "Started" + "state": "Started", + "stateMessage": "" } }, { "name": "chsm2", @@ -67,7 +68,8 @@ "activationStatus": "null" }, "hsms": null, - "state": "Started" + "state": "Started", + "stateMessage": "" } } ], diff --git a/specification/hardwaresecuritymodules/resource-manager/Microsoft.HardwareSecurityModules/preview/2022-03-31-preview/examples/CloudHsm_ListBySubscription_MaximumSet_Gen.json b/specification/hardwaresecuritymodules/resource-manager/Microsoft.HardwareSecurityModules/preview/2022-03-31-preview/examples/CloudHsm_ListBySubscription_MaximumSet_Gen.json index 74f4cb62b5e2..49f91ef72296 100644 --- a/specification/hardwaresecuritymodules/resource-manager/Microsoft.HardwareSecurityModules/preview/2022-03-31-preview/examples/CloudHsm_ListBySubscription_MaximumSet_Gen.json +++ b/specification/hardwaresecuritymodules/resource-manager/Microsoft.HardwareSecurityModules/preview/2022-03-31-preview/examples/CloudHsm_ListBySubscription_MaximumSet_Gen.json @@ -36,7 +36,8 @@ "activationStatus": "null" }, "hsms": null, - "state": "Started" + "state": "Started", + "stateMessage": "" } }, { "name": "chsm2", @@ -67,7 +68,8 @@ "activationStatus": "null" }, "hsms": null, - "state": "Started" + "state": "Started", + "stateMessage": "" } } ], diff --git a/specification/hardwaresecuritymodules/resource-manager/Microsoft.HardwareSecurityModules/preview/2022-03-31-preview/examples/CloudHsm_Update_MaximumSet_Gen.json b/specification/hardwaresecuritymodules/resource-manager/Microsoft.HardwareSecurityModules/preview/2022-03-31-preview/examples/CloudHsm_Update_MaximumSet_Gen.json index 6a4d23903515..f620d3ddafd0 100644 --- a/specification/hardwaresecuritymodules/resource-manager/Microsoft.HardwareSecurityModules/preview/2022-03-31-preview/examples/CloudHsm_Update_MaximumSet_Gen.json +++ b/specification/hardwaresecuritymodules/resource-manager/Microsoft.HardwareSecurityModules/preview/2022-03-31-preview/examples/CloudHsm_Update_MaximumSet_Gen.json @@ -44,7 +44,8 @@ "activationStatus": "null" }, "hsms": null, - "state": "Started" + "state": "Started", + "stateMessage": "" } } }, @@ -82,7 +83,8 @@ "activationStatus": "null" }, "hsms": null, - "state": "Started" + "state": "Started", + "stateMessage": "" } } } From 5713816f3582811682ca7b52c8d7d15054e4bf1f Mon Sep 17 00:00:00 2001 From: GoradeAarti Date: Mon, 12 Sep 2022 15:43:01 -0700 Subject: [PATCH 05/69] removed PrivateEndpointConnectionProxy APIs and examples --- .../preview/2022-03-31-preview/cloudhsm.json | 275 +----------------- ...ConnectionProxy_Create_MaximumSet_Gen.json | 114 -------- ...ConnectionProxy_Delete_MaximumSet_Gen.json | 80 ----- ...intConnectionProxy_Get_MaximumSet_Gen.json | 74 ----- ...nnectionProxy_Validate_MaximumSet_Gen.json | 108 ------- ...pointConnection_Delete_MaximumSet_Gen.json | 1 - ...ivateLinkResources_Get_MaximumSet_Gen.json | 29 -- 7 files changed, 6 insertions(+), 675 deletions(-) delete mode 100644 specification/hardwaresecuritymodules/resource-manager/Microsoft.HardwareSecurityModules/preview/2022-03-31-preview/examples/CloudHsmPrivateEndpointConnectionProxy_Create_MaximumSet_Gen.json delete mode 100644 specification/hardwaresecuritymodules/resource-manager/Microsoft.HardwareSecurityModules/preview/2022-03-31-preview/examples/CloudHsmPrivateEndpointConnectionProxy_Delete_MaximumSet_Gen.json delete mode 100644 specification/hardwaresecuritymodules/resource-manager/Microsoft.HardwareSecurityModules/preview/2022-03-31-preview/examples/CloudHsmPrivateEndpointConnectionProxy_Get_MaximumSet_Gen.json delete mode 100644 specification/hardwaresecuritymodules/resource-manager/Microsoft.HardwareSecurityModules/preview/2022-03-31-preview/examples/CloudHsmPrivateEndpointConnectionProxy_Validate_MaximumSet_Gen.json delete mode 100644 specification/hardwaresecuritymodules/resource-manager/Microsoft.HardwareSecurityModules/preview/2022-03-31-preview/examples/CloudHsmPrivateLinkResources_Get_MaximumSet_Gen.json diff --git a/specification/hardwaresecuritymodules/resource-manager/Microsoft.HardwareSecurityModules/preview/2022-03-31-preview/cloudhsm.json b/specification/hardwaresecuritymodules/resource-manager/Microsoft.HardwareSecurityModules/preview/2022-03-31-preview/cloudhsm.json index e2ab45c27e6e..7323feffa957 100644 --- a/specification/hardwaresecuritymodules/resource-manager/Microsoft.HardwareSecurityModules/preview/2022-03-31-preview/cloudhsm.json +++ b/specification/hardwaresecuritymodules/resource-manager/Microsoft.HardwareSecurityModules/preview/2022-03-31-preview/cloudhsm.json @@ -390,264 +390,6 @@ } } }, - "/resourceprovider/api/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.HardwareSecurityModules/cloudHSMClusters/{cloudHsmName}/privateLinkResources/{privateLinkResourceName}": { - "get": { - "tags": [ - "" - ], - "operationId": "CloudHsmPrivateLinkResources_Get", - "description": "Gets the private link resource supported for the cloud hsm pool.", - "x-ms-long-running-operation": true, - "parameters": [{ - "$ref": "#/parameters/SubscriptionId" - }, { - "$ref": "#/parameters/ResourceGroupName" - }, { - "$ref": "#/parameters/CloudHsmName" - }, { - "$ref": "#/parameters/ApiVersion" - }, { - "in": "path", - "name": "privateLinkResourceName", - "required": true, - "type": "string", - "description": "private Link Resource name" - } - ], - "responses": { - "200": { - "description": "Successfully retrieved private link resources.", - "schema": { - "$ref": "#/definitions/PrivateLinkResource" - } - }, - "default": { - "description": "The error response describing why the operation failed.", - "schema": { - "$ref": "#/definitions/CloudHsmError" - } - } - }, - "x-ms-examples": { - "CloudHsmPrivateLinkResources_Get_MaximumSet_Gen": { - "$ref": "./examples/CloudHsmPrivateLinkResources_Get_MaximumSet_Gen.json" - } - } - } - }, - "/resourceprovider/api/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.HardwareSecurityModules/cloudHSMClusters/{cloudHsmName}/privateEndpointConnectionProxies/{peConnectionProxyName}/validate": { - "post": { - "tags": [ - "" - ], - "operationId": "CloudHsmPrivateEndpointConnectionProxy_Validate", - "description": "Validates the private endpoint connection porxy of the cloud hsm pool.", - "parameters": [{ - "$ref": "#/parameters/SubscriptionId" - }, { - "$ref": "#/parameters/ResourceGroupName" - }, { - "$ref": "#/parameters/CloudHsmName" - }, { - "$ref": "#/parameters/ApiVersion" - }, { - "in": "path", - "name": "peConnectionProxyName", - "required": true, - "type": "string", - "description": "privateEndpointConnection proxy name" - }, { - "in": "body", - "name": "body", - "x-ms-client-flatten": true, - "schema": { - "$ref": "#/definitions/PrivateEndpointConnectionProxy" - }, - "description": "Parameters to validate the PrivateEndpointConnectionProxy" - } - ], - "responses": { - "200": { - "description": "Successfully retrieved private endpoint connection proxy resource.", - "schema": { - "$ref": "#/definitions/PrivateEndpointConnectionProxy" - } - }, - "default": { - "description": "The error response describing why the operation failed.", - "schema": { - "$ref": "#/definitions/CloudHsmError" - } - } - }, - "x-ms-examples": { - "CloudHsmPrivateEndpointConnectionProxy_Validate_MaximumSet_Gen": { - "$ref": "./examples/CloudHsmPrivateEndpointConnectionProxy_Validate_MaximumSet_Gen.json" - } - } - } - }, - "/resourceprovider/api/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.HardwareSecurityModules/cloudHSMClusters/{cloudHsmName}/privateEndpointConnectionProxies/{peConnectionProxyName}": { - "get": { - "tags": [ - "CloudHsmPrivateEndpointConnectionProxy" - ], - "operationId": "CloudHsmPrivateEndpointConnectionProxy_Get", - "description": "Gets the private endpoint connection porxy of the cloud hsm pool.", - "x-ms-long-running-operation": true, - "parameters": [{ - "$ref": "#/parameters/SubscriptionId" - }, { - "$ref": "#/parameters/ResourceGroupName" - }, { - "$ref": "#/parameters/CloudHsmName" - }, { - "$ref": "#/parameters/ApiVersion" - }, { - "in": "path", - "name": "peConnectionProxyName", - "required": true, - "type": "string", - "description": "privateEndpointConnection proxy name" - }, { - "in": "query", - "name": "chsm-operation", - "type": "string", - "description": "cloud hsm operation name" - } - ], - "responses": { - "200": { - "description": "Successfully retrieved private endpoint connection proxy resource.", - "schema": { - "$ref": "#/definitions/PrivateEndpointConnectionProxy" - } - }, - "default": { - "description": "The error response describing why the operation failed.", - "schema": { - "$ref": "#/definitions/CloudHsmError" - } - } - }, - "x-ms-examples": { - "CloudHsmPrivateEndpointConnectionProxy_Get_MaximumSet_Gen": { - "$ref": "./examples/CloudHsmPrivateEndpointConnectionProxy_Get_MaximumSet_Gen.json" - } - } - }, - "put": { - "tags": [ - "" - ], - "operationId": "CloudHsmPrivateEndpointConnectionProxy_Create", - "description": "Create the private endpoint connection proxy for the cloud hsm pool.", - "x-ms-long-running-operation": true, - "parameters": [{ - "$ref": "#/parameters/SubscriptionId" - }, { - "$ref": "#/parameters/ResourceGroupName" - }, { - "$ref": "#/parameters/CloudHsmName" - }, { - "$ref": "#/parameters/ApiVersion" - }, { - "in": "path", - "name": "peConnectionProxyName", - "required": true, - "type": "string", - "description": "privateEndpointConnection proxy name" - }, { - "in": "body", - "name": "body", - "x-ms-client-flatten": true, - "schema": { - "$ref": "#/definitions/PrivateEndpointConnectionProxy" - }, - "description": "Parameters to create the PrivateEndpointConnectionProxy" - } - ], - "responses": { - "200": { - "description": "Successfully retrieved private endpoint connection proxy resource.", - "schema": { - "$ref": "#/definitions/PrivateEndpointConnectionProxy" - } - }, - "default": { - "description": "The error response describing why the operation failed.", - "schema": { - "$ref": "#/definitions/CloudHsmError" - } - } - }, - "x-ms-examples": { - "CloudHsmPrivateEndpointConnectionProxy_Create_MaximumSet_Gen": { - "$ref": "./examples/CloudHsmPrivateEndpointConnectionProxy_Create_MaximumSet_Gen.json" - } - } - }, - "delete": { - "tags": [ - "" - ], - "operationId": "CloudHsmPrivateEndpointConnectionProxy_Delete", - "description": "Deletes the private endpoint connection porxy for the cloud hsm pool.", - "x-ms-long-running-operation": true, - "parameters": [{ - "$ref": "#/parameters/SubscriptionId" - }, { - "$ref": "#/parameters/ResourceGroupName" - }, { - "$ref": "#/parameters/CloudHsmName" - }, { - "$ref": "#/parameters/ApiVersion" - }, { - "in": "path", - "name": "peConnectionProxyName", - "required": true, - "type": "string", - "description": "privateEndpointConnection proxy name" - } - ], - "responses": { - "200": { - "description": "Successfully retrieved private endpoint connection proxy resource.", - "schema": { - "$ref": "#/definitions/PrivateEndpointConnectionProxy" - } - }, - "202": { - "description": "The private endpoint connection proxy is being deleted.", - "headers": { - "Retry-After": { - "description": "The recommended number of seconds to wait before calling the URI specified in the location header.", - "type": "integer", - "format": "int32" - }, - "Location": { - "description": "The URI to poll for completion status.", - "type": "string" - } - } - }, - "204": { - "description": "The private endpoint connection proxy does not exist." - }, - "default": { - "description": "The error response describing why the operation failed.", - "schema": { - "$ref": "#/definitions/CloudHsmError" - } - } - }, - "x-ms-examples": { - "CloudHsmPrivateEndpointConnectionProxy_Delete_MaximumSet_Gen": { - "$ref": "./examples/CloudHsmPrivateEndpointConnectionProxy_Delete_MaximumSet_Gen.json" - } - } - } - }, "/resourceprovider/api/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.HardwareSecurityModules/cloudHSMClusters/{cloudHsmName}/privateEndpointConnections/{peConnectionName}": { "put": { "tags": [ @@ -743,11 +485,6 @@ "202": { "description": "The private endpoint connection is being deleted.", "headers": { - "Retry-After": { - "description": "The recommended number of seconds to wait before calling the URI specified in the location header.", - "type": "integer", - "format": "int32" - }, "Location": { "description": "The URI to poll for completion status.", "type": "string" @@ -877,10 +614,10 @@ "type": "string", "description": "The Cloud HSM Partition State" }, - "stateMessage":{ - "type": "string", + "stateMessage": { + "type": "string", "description": "The Cloud HSM Partition State message" - } + } } }, "CloudHsmResource": { @@ -959,10 +696,10 @@ "type": "string", "description": "State of Cloud HSM Resource's Fabric Pool" }, - "stateMessage":{ - "type": "string", + "stateMessage": { + "type": "string", "description": "The Cloud HSM Partition State message" - } + } }, "description": "Properties of a Cloud HSM resource.", "type": "object" diff --git a/specification/hardwaresecuritymodules/resource-manager/Microsoft.HardwareSecurityModules/preview/2022-03-31-preview/examples/CloudHsmPrivateEndpointConnectionProxy_Create_MaximumSet_Gen.json b/specification/hardwaresecuritymodules/resource-manager/Microsoft.HardwareSecurityModules/preview/2022-03-31-preview/examples/CloudHsmPrivateEndpointConnectionProxy_Create_MaximumSet_Gen.json deleted file mode 100644 index 18dc84d3cbc1..000000000000 --- a/specification/hardwaresecuritymodules/resource-manager/Microsoft.HardwareSecurityModules/preview/2022-03-31-preview/examples/CloudHsmPrivateEndpointConnectionProxy_Create_MaximumSet_Gen.json +++ /dev/null @@ -1,114 +0,0 @@ -{ - "parameters": { - "subscriptionId": "00000000-0000-0000-0000-000000000000", - "resourceGroupName": "rgcloudhsm", - "cloudHsmName": "chsm1", - "api-version": "2022-08-31-preview", - "peConnectionProxyName": "sample-pe", - "body": { - "properties": { - "id": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/rgcloudhsm/providers/Microsoft.Network/privateEndpoints/sample-pe", - "privateLinkServiceConnections": [{ - "name": "sample-pls", - "groupIds": [ - "{groupIdFromServiceGetAPI}" - ], - "requestMessage": "Please approve my connection, thanks." - } - ], - "privateLinkServiceProxies": [{ - "id": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/rgcloudhsm/providers/Microsoft.Network/privateEndpoints/sample-pe/privateLinkServiceProxies/sample-pls-proxy.00000000-0000-0000-0000-000000000000", - "groupConnectivityInformation": [{ - "groupId": "cassandra", - "memberName": "cassandra_r1", - "explicitDnsSettings": [{ - "fqdn": "FQDN1", - "aRecord": "vault", - "dnsZoneName": "privatelink.cosmos.azure.net" - } - ], - "customerVisibleFqdns": [ - "contoso_r1.cassandra.cosmos.azure.com" - ], - "internalFqdn": "contoso_r1.cassandra.cosmos.azure.com" - } - ] - } - ], - "connectionDetails": [{ - "id": "{id1}", - "privateIpAddress": "10.0.0.4", - "linkIdentifier": "53236", - "groupId": "cassandra", - "memberName": "cassandra_r1" - } - ] - } - } - }, - "responses": { - "200": { - "body": { - "id": "/subscriptions/00000000-0000-0000-0000-000000000000/rgcloudhsm/providers/Microsoft.HardwareSecurityModules/cloudHSMClusters/chsm1/privateEndpointConnectionProxies/sample-pe.00000000-0000-0000-0000-000000000000", - "name": "sample-pe.00000000-0000-0000-0000-000000000000", - "type": "Microsoft.HardwareSecurityModules/cloudHSMClusters/privateEndpointConnectionProxies", - "location": "eastus2", - "etag": "", - "systemData": { - "createdBy": "User1", - "createdByType": "User", - "createdAt": "2020-01-01T12:00:00.0000000Z", - "lastModifiedBy": "User2", - "lastModifiedByType": "User", - "lastModifiedAt": "2020-01-01T12:00:00.0000000Z" - }, - "properties": { - "id": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/rgcloudhsm/providers/Microsoft.Network/privateEndpoints/sample-pe", - "privateLinkServiceConnections": [{ - "name": "sample-pls", - "groupIds": [ - "{groupIdFromServiceGetAPI}" - ], - "requestMessage": "Please approve my connection, thanks." - } - ], - "privateLinkServiceProxies": [{ - "id": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/rgcloudhsm/providers/Microsoft.Network/privateEndpoints/sample-pe/privateLinkServiceProxies/sample-pls-proxy.00000000-0000-0000-0000-000000000000", - "remotePrivateLinkServiceConnectionState": { - "status": "Approved", - "description": "Auto-approved", - "actionsRequired": "None" - }, - "remotePrivateEndpointConnection": { - "id": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/rgcloudhsm/providers/Microsoft.HardwareSecurityModules/cloudHSMClusters/chsm1/privateEndpointConnections/sample-pec" - }, - "groupConnectivityInformation": [{ - "groupId": "cassandra", - "memberName": "cassandra_r1", - "customerVisibleFqdns": [ - "contoso_r1.cassandra.cosmos.azure.com" - ], - "explicitDnsSettings": [{ - "fqdn": "FQDN1", - "aRecord": "vault", - "dnsZoneName": "privatelink.cosmos.azure.net" - } - ], - "internalFqdn": "contoso_r1.cassandra.cosmos.azure.com" - } - ] - } - ], - "connectionDetails": [{ - "id": "{id1}", - "privateIpAddress": "10.0.0.4", - "linkIdentifier": "53236", - "groupId": "cassandra", - "memberName": "cassandra_r1" - } - ] - } - } - } - } -} diff --git a/specification/hardwaresecuritymodules/resource-manager/Microsoft.HardwareSecurityModules/preview/2022-03-31-preview/examples/CloudHsmPrivateEndpointConnectionProxy_Delete_MaximumSet_Gen.json b/specification/hardwaresecuritymodules/resource-manager/Microsoft.HardwareSecurityModules/preview/2022-03-31-preview/examples/CloudHsmPrivateEndpointConnectionProxy_Delete_MaximumSet_Gen.json deleted file mode 100644 index 24c9589bbff8..000000000000 --- a/specification/hardwaresecuritymodules/resource-manager/Microsoft.HardwareSecurityModules/preview/2022-03-31-preview/examples/CloudHsmPrivateEndpointConnectionProxy_Delete_MaximumSet_Gen.json +++ /dev/null @@ -1,80 +0,0 @@ -{ - "parameters": { - "subscriptionId": "00000000-0000-0000-0000-000000000000", - "resourceGroupName": "rgcloudhsm", - "cloudHsmName": "chsm1", - "api-version": "2022-08-31-preview", - "peConnectionProxyName": "sample-pe" - }, - "responses": { - "200": { - "body": { - "id": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/rgcloudhsm/providers/Microsoft.Network/privateEndpoints/sample-pe", - "name": "sample-pe", - "type": "Microsoft.HardwareSecurityModules/cloudHSMClusters/privateEndpointConnectionProxies", - "location": "eastus2", - "etag": "", - "systemData": { - "createdBy": "User1", - "createdByType": "User", - "createdAt": "2020-01-01T12:00:00.0000000Z", - "lastModifiedBy": "User2", - "lastModifiedByType": "User", - "lastModifiedAt": "2020-01-01T12:00:00.0000000Z" - }, - "properties": { - "id": "/subscriptions/00000000-0000-0000-0000-000000000000/rgcloudhsm/providers/Microsoft.HardwareSecurityModules/cloudHSMClusters/chsm1/privateEndpointConnectionProxies/sample-pe.00000000-0000-0000-0000-000000000000", - "privateLinkServiceConnections": [{ - "name": "sample-pls", - "groupIds": [ - "{groupIdFromServiceGetAPI}" - ], - "requestMessage": "Please approve my connection, thanks." - } - ], - "privateLinkServiceProxies": [{ - "id": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/rgcloudhsm/providers/Microsoft.Network/privateEndpoints/sample-pe/privateLinkServiceProxies/sample-pls-proxy.00000000-0000-0000-0000-000000000000", - "remotePrivateLinkServiceConnectionState": { - "status": "Approved", - "description": "Auto-approved", - "actionsRequired": "None" - }, - "remotePrivateEndpointConnection": { - "id": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/rgcloudhsm/providers/Microsoft.HardwareSecurityModules/cloudHSMClusters/chsm1/privateEndpointConnections/sample-pec" - }, - "groupConnectivityInformation": [{ - "groupId": "cassandra", - "memberName": "cassandra_r1", - "customerVisibleFqdns": [ - "contoso_r1.cassandra.cosmos.azure.com" - ], - "explicitDnsSettings": [{ - "fqdn": "FQDN1", - "aRecord": "vault", - "dnsZoneName": "privatelink.cosmos.azure.net" - } - ], - "internalFqdn": "contoso_r1.cassandra.cosmos.azure.com" - } - ] - } - ], - "connectionDetails": [{ - "id": "{id1}", - "privateIpAddress": "10.0.0.4", - "linkIdentifier": "53236", - "groupId": "cassandra", - "memberName": "cassandra_r1" - } - ] - } - } - }, - "202": { - "headers": { - "location": "https://contoso.com/operationstatus" - } - }, - "204": {} - } -} diff --git a/specification/hardwaresecuritymodules/resource-manager/Microsoft.HardwareSecurityModules/preview/2022-03-31-preview/examples/CloudHsmPrivateEndpointConnectionProxy_Get_MaximumSet_Gen.json b/specification/hardwaresecuritymodules/resource-manager/Microsoft.HardwareSecurityModules/preview/2022-03-31-preview/examples/CloudHsmPrivateEndpointConnectionProxy_Get_MaximumSet_Gen.json deleted file mode 100644 index 3f28c7e83a4a..000000000000 --- a/specification/hardwaresecuritymodules/resource-manager/Microsoft.HardwareSecurityModules/preview/2022-03-31-preview/examples/CloudHsmPrivateEndpointConnectionProxy_Get_MaximumSet_Gen.json +++ /dev/null @@ -1,74 +0,0 @@ -{ - "parameters": { - "subscriptionId": "00000000-0000-0000-0000-000000000000", - "resourceGroupName": "rgcloudhsm", - "cloudHsmName": "chsm1", - "api-version": "2022-08-31-preview", - "peConnectionProxyName": "sample-pe" - }, - "responses": { - "200": { - "body": { - "id": "/subscriptions/00000000-0000-0000-0000-000000000000/rgcloudhsm/providers/Microsoft.HardwareSecurityModules/cloudHSMClusters/chsm1/privateEndpointConnectionProxies/sample-pe.00000000-0000-0000-0000-000000000000", - "name": "sample-pe.00000000-0000-0000-0000-000000000000", - "type": "Microsoft.HardwareSecurityModules/cloudHSMClusters/privateEndpointConnectionProxies", - "location": "eastus2", - "etag": "", - "systemData": { - "createdBy": "User1", - "createdByType": "User", - "createdAt": "2020-01-01T12:00:00.0000000Z", - "lastModifiedBy": "User2", - "lastModifiedByType": "User", - "lastModifiedAt": "2020-01-01T12:00:00.0000000Z" - }, - "properties": { - "id": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/rgcloudhsm/providers/Microsoft.Network/privateEndpoints/sample-pe", - "privateLinkServiceConnections": [{ - "name": "sample-pls", - "groupIds": [ - "{groupIdFromServiceGetAPI}" - ], - "requestMessage": "Please approve my connection, thanks." - } - ], - "privateLinkServiceProxies": [{ - "id": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/rgcloudhsm/providers/Microsoft.Network/privateEndpoints/sample-pe/privateLinkServiceProxies/sample-pls-proxy.00000000-0000-0000-0000-000000000000", - "remotePrivateLinkServiceConnectionState": { - "status": "Approved", - "description": "Auto-approved", - "actionsRequired": "None" - }, - "remotePrivateEndpointConnection": { - "id": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/rgcloudhsm/providers/Microsoft.HardwareSecurityModules/cloudHSMClusters/chsm1/privateEndpointConnections/sample-pec" - }, - "groupConnectivityInformation": [{ - "groupId": "cassandra", - "memberName": "cassandra_r1", - "customerVisibleFqdns": [ - "contoso_r1.cassandra.cosmos.azure.com" - ], - "explicitDnsSettings": [{ - "fqdn": "FQDN1", - "aRecord": "vault", - "dnsZoneName": "privatelink.cosmos.azure.net" - } - ], - "internalFqdn": "contoso_r1.cassandra.cosmos.azure.com" - } - ] - } - ], - "connectionDetails": [{ - "id": "{id1}", - "privateIpAddress": "10.0.0.4", - "linkIdentifier": "53236", - "groupId": "cassandra", - "memberName": "cassandra_r1" - } - ] - } - } - } - } -} diff --git a/specification/hardwaresecuritymodules/resource-manager/Microsoft.HardwareSecurityModules/preview/2022-03-31-preview/examples/CloudHsmPrivateEndpointConnectionProxy_Validate_MaximumSet_Gen.json b/specification/hardwaresecuritymodules/resource-manager/Microsoft.HardwareSecurityModules/preview/2022-03-31-preview/examples/CloudHsmPrivateEndpointConnectionProxy_Validate_MaximumSet_Gen.json deleted file mode 100644 index cbdf31b6897f..000000000000 --- a/specification/hardwaresecuritymodules/resource-manager/Microsoft.HardwareSecurityModules/preview/2022-03-31-preview/examples/CloudHsmPrivateEndpointConnectionProxy_Validate_MaximumSet_Gen.json +++ /dev/null @@ -1,108 +0,0 @@ -{ - "parameters": { - "subscriptionId": "00000000-0000-0000-0000-000000000000", - "resourceGroupName": "rgcloudhsm", - "cloudHsmName": "chsm1", - "api-version": "2022-08-31-preview", - "peConnectionProxyName": "sample-pe", - "body": { - "location": "", - "etag": "", - "properties": { - "id": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/rgcloudhsm/providers/Microsoft.Network/privateEndpoints/sample-pe", - "privateLinkServiceConnections": [{ - "name": "sample-pls", - "groupIds": [ - "{groupIdFromServiceGetAPI}" - ], - "requestMessage": "Please approve my connection, thanks." - } - ], - "privateLinkServiceProxies": [{ - "id": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/rgcloudhsm/providers/Microsoft.Network/privateEndpoints/sample-pe/privateLinkServiceProxies/sample-pls-proxy.00000000-0000-0000-0000-000000000000", - "groupConnectivityInformation": [{ - "groupId": "cassandra", - "memberName": "cassandra_r1", - "explicitDnsSettings": [{ - "fqdn": "FQDN1", - "aRecord": "vault", - "dnsZoneName": "privatelink.cosmos.azure.net" - } - ], - "customerVisibleFqdns": [ - "contoso_r1.cassandra.cosmos.azure.com" - ], - "internalFqdn": "contoso_r1.cassandra.cosmos.azure.com" - } - ] - } - ], - "connectionDetails": [{ - "id": "{id1}", - "privateIpAddress": "10.0.0.4", - "linkIdentifier": "53236", - "groupId": "cassandra", - "memberName": "cassandra_r1" - } - ] - } - } - }, - "responses": { - "200": { - "body": { - "id": "/subscriptions/00000000-0000-0000-0000-000000000000/rgcloudhsm/providers/Microsoft.HardwareSecurityModules/cloudHSMClusters/chsm1/privateEndpointConnectionProxies/sample-pe.00000000-0000-0000-0000-000000000000", - "name": "sample-pe.00000000-0000-0000-0000-000000000000", - "type": "Microsoft.HardwareSecurityModules/cloudHSMClusters/privateEndpointConnectionProxies", - "location": "eastus2", - "etag": "", - "systemData": { - "createdBy": "User1", - "createdByType": "User", - "createdAt": "2020-01-01T12:00:00.0000000Z", - "lastModifiedBy": "User2", - "lastModifiedByType": "User", - "lastModifiedAt": "2020-01-01T12:00:00.0000000Z" - }, - "properties": { - "id": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/rgcloudhsm/providers/Microsoft.Network/privateEndpoints/sample-pe", - "privateLinkServiceConnections": [{ - "name": "sample-pls", - "groupIds": [ - "{groupIdFromServiceGetAPI}" - ], - "requestMessage": "Please approve my connection, thanks." - } - ], - "privateLinkServiceProxies": [{ - "id": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/rgcloudhsm/providers/Microsoft.Network/privateEndpoints/sample-pe/privateLinkServiceProxies/sample-pls-proxy.00000000-0000-0000-0000-000000000000", - "groupConnectivityInformation": [{ - "groupId": "cassandra", - "memberName": "cassandra_r1", - "explicitDnsSettings": [{ - "fqdn": "FQDN1", - "aRecord": "vault", - "dnsZoneName": "privatelink.cosmos.azure.net" - } - ], - "customerVisibleFqdns": [ - "contoso_r1.cassandra.cosmos.azure.com" - ], - "internalFqdn": "contoso_r1.cassandra.cosmos.azure.com" - } - ] - } - ], - "connectionDetails": [{ - "id": "{id1}", - "privateIpAddress": "10.0.0.4", - "linkIdentifier": "53236", - "groupId": "cassandra", - "memberName": "cassandra_r1" - } - ] - } - } - } - } -} diff --git a/specification/hardwaresecuritymodules/resource-manager/Microsoft.HardwareSecurityModules/preview/2022-03-31-preview/examples/CloudHsmPrivateEndpointConnection_Delete_MaximumSet_Gen.json b/specification/hardwaresecuritymodules/resource-manager/Microsoft.HardwareSecurityModules/preview/2022-03-31-preview/examples/CloudHsmPrivateEndpointConnection_Delete_MaximumSet_Gen.json index d7102dc294df..1cd059feabc6 100644 --- a/specification/hardwaresecuritymodules/resource-manager/Microsoft.HardwareSecurityModules/preview/2022-03-31-preview/examples/CloudHsmPrivateEndpointConnection_Delete_MaximumSet_Gen.json +++ b/specification/hardwaresecuritymodules/resource-manager/Microsoft.HardwareSecurityModules/preview/2022-03-31-preview/examples/CloudHsmPrivateEndpointConnection_Delete_MaximumSet_Gen.json @@ -27,7 +27,6 @@ }, "202": { "headers": { - "Retry-After": "60", "location": "https://some.endpoint.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/rgcloudhsm/providers/Microsoft.HardwareSecurityModules/cloudHSMClusters/chsm1/privateEndpointConnections/sample-pec?operationid=25334578" } }, diff --git a/specification/hardwaresecuritymodules/resource-manager/Microsoft.HardwareSecurityModules/preview/2022-03-31-preview/examples/CloudHsmPrivateLinkResources_Get_MaximumSet_Gen.json b/specification/hardwaresecuritymodules/resource-manager/Microsoft.HardwareSecurityModules/preview/2022-03-31-preview/examples/CloudHsmPrivateLinkResources_Get_MaximumSet_Gen.json deleted file mode 100644 index 8b66b746e97a..000000000000 --- a/specification/hardwaresecuritymodules/resource-manager/Microsoft.HardwareSecurityModules/preview/2022-03-31-preview/examples/CloudHsmPrivateLinkResources_Get_MaximumSet_Gen.json +++ /dev/null @@ -1,29 +0,0 @@ -{ - "parameters": { - "subscriptionId": "00000000-0000-0000-0000-000000000000", - "resourceGroupName": "rgcloudhsm", - "cloudHsmName": "chsm1", - "api-version": "2022-08-31-preview", - "privateLinkResourceName": "sample-pls" - }, - "responses": { - "200": { - "body": { - "id": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/rgcloudhsm/providers/Microsoft.HardwareSecurityModules/cloudHSMClusters/chsm1/privateLinkResources/sample-pls", - "name": "sample-pls", - "type": "Microsoft.HardwareSecurityModules/cloudHSMClusters/privateLinkResources", - "properties": { - "groupId": "cloudHsm", - "requiredMembers": [ - "hsm1", - "hsm2", - "hsm3" - ], - "requiredZoneNames": [ - "privatelink.cloudhsm.azure-int.net" - ] - } - } - } - } -} \ No newline at end of file From 82ca22b402077800874cac08f3599137ef6a0c36 Mon Sep 17 00:00:00 2001 From: GoradeAarti Date: Mon, 12 Sep 2022 15:59:12 -0700 Subject: [PATCH 06/69] API version folder renamed --- .../{2022-03-31-preview => 2022-08-31-preview}/cloudhsm.json | 0 .../CloudHsmPrivateEndpointConnection_Create_MaximumSet_Gen.json | 0 .../CloudHsmPrivateEndpointConnection_Delete_MaximumSet_Gen.json | 0 .../CloudHsmPrivateEndpointConnection_Get_MaximumSet_Gen.json | 0 .../examples/CloudHsm_CreateOrUpdate_MaximumSet_Gen.json | 0 .../examples/CloudHsm_Delete_MaximumSet_Gen.json | 0 .../examples/CloudHsm_Get_MaximumSet_Gen.json | 0 .../examples/CloudHsm_ListByResourceGroup_MaximumSet_Gen.json | 0 .../examples/CloudHsm_ListBySubscription_MaximumSet_Gen.json | 0 .../examples/CloudHsm_Update_MaximumSet_Gen.json | 0 .../examples/Operations_List_MaximumSet_Gen.json | 0 .../examples/Operations_List_MinimumSet_Gen.json | 0 ...EndpointConnections_ListByCloudHsmResource_MaximumSet_Gen.json | 0 ...rivateLinkResources_ListByCloudHsmResource_MaximumSet_Gen.json | 0 14 files changed, 0 insertions(+), 0 deletions(-) rename specification/hardwaresecuritymodules/resource-manager/Microsoft.HardwareSecurityModules/preview/{2022-03-31-preview => 2022-08-31-preview}/cloudhsm.json (100%) rename specification/hardwaresecuritymodules/resource-manager/Microsoft.HardwareSecurityModules/preview/{2022-03-31-preview => 2022-08-31-preview}/examples/CloudHsmPrivateEndpointConnection_Create_MaximumSet_Gen.json (100%) rename specification/hardwaresecuritymodules/resource-manager/Microsoft.HardwareSecurityModules/preview/{2022-03-31-preview => 2022-08-31-preview}/examples/CloudHsmPrivateEndpointConnection_Delete_MaximumSet_Gen.json (100%) rename specification/hardwaresecuritymodules/resource-manager/Microsoft.HardwareSecurityModules/preview/{2022-03-31-preview => 2022-08-31-preview}/examples/CloudHsmPrivateEndpointConnection_Get_MaximumSet_Gen.json (100%) rename specification/hardwaresecuritymodules/resource-manager/Microsoft.HardwareSecurityModules/preview/{2022-03-31-preview => 2022-08-31-preview}/examples/CloudHsm_CreateOrUpdate_MaximumSet_Gen.json (100%) rename specification/hardwaresecuritymodules/resource-manager/Microsoft.HardwareSecurityModules/preview/{2022-03-31-preview => 2022-08-31-preview}/examples/CloudHsm_Delete_MaximumSet_Gen.json (100%) rename specification/hardwaresecuritymodules/resource-manager/Microsoft.HardwareSecurityModules/preview/{2022-03-31-preview => 2022-08-31-preview}/examples/CloudHsm_Get_MaximumSet_Gen.json (100%) rename specification/hardwaresecuritymodules/resource-manager/Microsoft.HardwareSecurityModules/preview/{2022-03-31-preview => 2022-08-31-preview}/examples/CloudHsm_ListByResourceGroup_MaximumSet_Gen.json (100%) rename specification/hardwaresecuritymodules/resource-manager/Microsoft.HardwareSecurityModules/preview/{2022-03-31-preview => 2022-08-31-preview}/examples/CloudHsm_ListBySubscription_MaximumSet_Gen.json (100%) rename specification/hardwaresecuritymodules/resource-manager/Microsoft.HardwareSecurityModules/preview/{2022-03-31-preview => 2022-08-31-preview}/examples/CloudHsm_Update_MaximumSet_Gen.json (100%) rename specification/hardwaresecuritymodules/resource-manager/Microsoft.HardwareSecurityModules/preview/{2022-03-31-preview => 2022-08-31-preview}/examples/Operations_List_MaximumSet_Gen.json (100%) rename specification/hardwaresecuritymodules/resource-manager/Microsoft.HardwareSecurityModules/preview/{2022-03-31-preview => 2022-08-31-preview}/examples/Operations_List_MinimumSet_Gen.json (100%) rename specification/hardwaresecuritymodules/resource-manager/Microsoft.HardwareSecurityModules/preview/{2022-03-31-preview => 2022-08-31-preview}/examples/PrivateEndpointConnections_ListByCloudHsmResource_MaximumSet_Gen.json (100%) rename specification/hardwaresecuritymodules/resource-manager/Microsoft.HardwareSecurityModules/preview/{2022-03-31-preview => 2022-08-31-preview}/examples/PrivateLinkResources_ListByCloudHsmResource_MaximumSet_Gen.json (100%) diff --git a/specification/hardwaresecuritymodules/resource-manager/Microsoft.HardwareSecurityModules/preview/2022-03-31-preview/cloudhsm.json b/specification/hardwaresecuritymodules/resource-manager/Microsoft.HardwareSecurityModules/preview/2022-08-31-preview/cloudhsm.json similarity index 100% rename from specification/hardwaresecuritymodules/resource-manager/Microsoft.HardwareSecurityModules/preview/2022-03-31-preview/cloudhsm.json rename to specification/hardwaresecuritymodules/resource-manager/Microsoft.HardwareSecurityModules/preview/2022-08-31-preview/cloudhsm.json diff --git a/specification/hardwaresecuritymodules/resource-manager/Microsoft.HardwareSecurityModules/preview/2022-03-31-preview/examples/CloudHsmPrivateEndpointConnection_Create_MaximumSet_Gen.json b/specification/hardwaresecuritymodules/resource-manager/Microsoft.HardwareSecurityModules/preview/2022-08-31-preview/examples/CloudHsmPrivateEndpointConnection_Create_MaximumSet_Gen.json similarity index 100% rename from specification/hardwaresecuritymodules/resource-manager/Microsoft.HardwareSecurityModules/preview/2022-03-31-preview/examples/CloudHsmPrivateEndpointConnection_Create_MaximumSet_Gen.json rename to specification/hardwaresecuritymodules/resource-manager/Microsoft.HardwareSecurityModules/preview/2022-08-31-preview/examples/CloudHsmPrivateEndpointConnection_Create_MaximumSet_Gen.json diff --git a/specification/hardwaresecuritymodules/resource-manager/Microsoft.HardwareSecurityModules/preview/2022-03-31-preview/examples/CloudHsmPrivateEndpointConnection_Delete_MaximumSet_Gen.json b/specification/hardwaresecuritymodules/resource-manager/Microsoft.HardwareSecurityModules/preview/2022-08-31-preview/examples/CloudHsmPrivateEndpointConnection_Delete_MaximumSet_Gen.json similarity index 100% rename from specification/hardwaresecuritymodules/resource-manager/Microsoft.HardwareSecurityModules/preview/2022-03-31-preview/examples/CloudHsmPrivateEndpointConnection_Delete_MaximumSet_Gen.json rename to specification/hardwaresecuritymodules/resource-manager/Microsoft.HardwareSecurityModules/preview/2022-08-31-preview/examples/CloudHsmPrivateEndpointConnection_Delete_MaximumSet_Gen.json diff --git a/specification/hardwaresecuritymodules/resource-manager/Microsoft.HardwareSecurityModules/preview/2022-03-31-preview/examples/CloudHsmPrivateEndpointConnection_Get_MaximumSet_Gen.json b/specification/hardwaresecuritymodules/resource-manager/Microsoft.HardwareSecurityModules/preview/2022-08-31-preview/examples/CloudHsmPrivateEndpointConnection_Get_MaximumSet_Gen.json similarity index 100% rename from specification/hardwaresecuritymodules/resource-manager/Microsoft.HardwareSecurityModules/preview/2022-03-31-preview/examples/CloudHsmPrivateEndpointConnection_Get_MaximumSet_Gen.json rename to specification/hardwaresecuritymodules/resource-manager/Microsoft.HardwareSecurityModules/preview/2022-08-31-preview/examples/CloudHsmPrivateEndpointConnection_Get_MaximumSet_Gen.json diff --git a/specification/hardwaresecuritymodules/resource-manager/Microsoft.HardwareSecurityModules/preview/2022-03-31-preview/examples/CloudHsm_CreateOrUpdate_MaximumSet_Gen.json b/specification/hardwaresecuritymodules/resource-manager/Microsoft.HardwareSecurityModules/preview/2022-08-31-preview/examples/CloudHsm_CreateOrUpdate_MaximumSet_Gen.json similarity index 100% rename from specification/hardwaresecuritymodules/resource-manager/Microsoft.HardwareSecurityModules/preview/2022-03-31-preview/examples/CloudHsm_CreateOrUpdate_MaximumSet_Gen.json rename to specification/hardwaresecuritymodules/resource-manager/Microsoft.HardwareSecurityModules/preview/2022-08-31-preview/examples/CloudHsm_CreateOrUpdate_MaximumSet_Gen.json diff --git a/specification/hardwaresecuritymodules/resource-manager/Microsoft.HardwareSecurityModules/preview/2022-03-31-preview/examples/CloudHsm_Delete_MaximumSet_Gen.json b/specification/hardwaresecuritymodules/resource-manager/Microsoft.HardwareSecurityModules/preview/2022-08-31-preview/examples/CloudHsm_Delete_MaximumSet_Gen.json similarity index 100% rename from specification/hardwaresecuritymodules/resource-manager/Microsoft.HardwareSecurityModules/preview/2022-03-31-preview/examples/CloudHsm_Delete_MaximumSet_Gen.json rename to specification/hardwaresecuritymodules/resource-manager/Microsoft.HardwareSecurityModules/preview/2022-08-31-preview/examples/CloudHsm_Delete_MaximumSet_Gen.json diff --git a/specification/hardwaresecuritymodules/resource-manager/Microsoft.HardwareSecurityModules/preview/2022-03-31-preview/examples/CloudHsm_Get_MaximumSet_Gen.json b/specification/hardwaresecuritymodules/resource-manager/Microsoft.HardwareSecurityModules/preview/2022-08-31-preview/examples/CloudHsm_Get_MaximumSet_Gen.json similarity index 100% rename from specification/hardwaresecuritymodules/resource-manager/Microsoft.HardwareSecurityModules/preview/2022-03-31-preview/examples/CloudHsm_Get_MaximumSet_Gen.json rename to specification/hardwaresecuritymodules/resource-manager/Microsoft.HardwareSecurityModules/preview/2022-08-31-preview/examples/CloudHsm_Get_MaximumSet_Gen.json diff --git a/specification/hardwaresecuritymodules/resource-manager/Microsoft.HardwareSecurityModules/preview/2022-03-31-preview/examples/CloudHsm_ListByResourceGroup_MaximumSet_Gen.json b/specification/hardwaresecuritymodules/resource-manager/Microsoft.HardwareSecurityModules/preview/2022-08-31-preview/examples/CloudHsm_ListByResourceGroup_MaximumSet_Gen.json similarity index 100% rename from specification/hardwaresecuritymodules/resource-manager/Microsoft.HardwareSecurityModules/preview/2022-03-31-preview/examples/CloudHsm_ListByResourceGroup_MaximumSet_Gen.json rename to specification/hardwaresecuritymodules/resource-manager/Microsoft.HardwareSecurityModules/preview/2022-08-31-preview/examples/CloudHsm_ListByResourceGroup_MaximumSet_Gen.json diff --git a/specification/hardwaresecuritymodules/resource-manager/Microsoft.HardwareSecurityModules/preview/2022-03-31-preview/examples/CloudHsm_ListBySubscription_MaximumSet_Gen.json b/specification/hardwaresecuritymodules/resource-manager/Microsoft.HardwareSecurityModules/preview/2022-08-31-preview/examples/CloudHsm_ListBySubscription_MaximumSet_Gen.json similarity index 100% rename from specification/hardwaresecuritymodules/resource-manager/Microsoft.HardwareSecurityModules/preview/2022-03-31-preview/examples/CloudHsm_ListBySubscription_MaximumSet_Gen.json rename to specification/hardwaresecuritymodules/resource-manager/Microsoft.HardwareSecurityModules/preview/2022-08-31-preview/examples/CloudHsm_ListBySubscription_MaximumSet_Gen.json diff --git a/specification/hardwaresecuritymodules/resource-manager/Microsoft.HardwareSecurityModules/preview/2022-03-31-preview/examples/CloudHsm_Update_MaximumSet_Gen.json b/specification/hardwaresecuritymodules/resource-manager/Microsoft.HardwareSecurityModules/preview/2022-08-31-preview/examples/CloudHsm_Update_MaximumSet_Gen.json similarity index 100% rename from specification/hardwaresecuritymodules/resource-manager/Microsoft.HardwareSecurityModules/preview/2022-03-31-preview/examples/CloudHsm_Update_MaximumSet_Gen.json rename to specification/hardwaresecuritymodules/resource-manager/Microsoft.HardwareSecurityModules/preview/2022-08-31-preview/examples/CloudHsm_Update_MaximumSet_Gen.json diff --git a/specification/hardwaresecuritymodules/resource-manager/Microsoft.HardwareSecurityModules/preview/2022-03-31-preview/examples/Operations_List_MaximumSet_Gen.json b/specification/hardwaresecuritymodules/resource-manager/Microsoft.HardwareSecurityModules/preview/2022-08-31-preview/examples/Operations_List_MaximumSet_Gen.json similarity index 100% rename from specification/hardwaresecuritymodules/resource-manager/Microsoft.HardwareSecurityModules/preview/2022-03-31-preview/examples/Operations_List_MaximumSet_Gen.json rename to specification/hardwaresecuritymodules/resource-manager/Microsoft.HardwareSecurityModules/preview/2022-08-31-preview/examples/Operations_List_MaximumSet_Gen.json diff --git a/specification/hardwaresecuritymodules/resource-manager/Microsoft.HardwareSecurityModules/preview/2022-03-31-preview/examples/Operations_List_MinimumSet_Gen.json b/specification/hardwaresecuritymodules/resource-manager/Microsoft.HardwareSecurityModules/preview/2022-08-31-preview/examples/Operations_List_MinimumSet_Gen.json similarity index 100% rename from specification/hardwaresecuritymodules/resource-manager/Microsoft.HardwareSecurityModules/preview/2022-03-31-preview/examples/Operations_List_MinimumSet_Gen.json rename to specification/hardwaresecuritymodules/resource-manager/Microsoft.HardwareSecurityModules/preview/2022-08-31-preview/examples/Operations_List_MinimumSet_Gen.json diff --git a/specification/hardwaresecuritymodules/resource-manager/Microsoft.HardwareSecurityModules/preview/2022-03-31-preview/examples/PrivateEndpointConnections_ListByCloudHsmResource_MaximumSet_Gen.json b/specification/hardwaresecuritymodules/resource-manager/Microsoft.HardwareSecurityModules/preview/2022-08-31-preview/examples/PrivateEndpointConnections_ListByCloudHsmResource_MaximumSet_Gen.json similarity index 100% rename from specification/hardwaresecuritymodules/resource-manager/Microsoft.HardwareSecurityModules/preview/2022-03-31-preview/examples/PrivateEndpointConnections_ListByCloudHsmResource_MaximumSet_Gen.json rename to specification/hardwaresecuritymodules/resource-manager/Microsoft.HardwareSecurityModules/preview/2022-08-31-preview/examples/PrivateEndpointConnections_ListByCloudHsmResource_MaximumSet_Gen.json diff --git a/specification/hardwaresecuritymodules/resource-manager/Microsoft.HardwareSecurityModules/preview/2022-03-31-preview/examples/PrivateLinkResources_ListByCloudHsmResource_MaximumSet_Gen.json b/specification/hardwaresecuritymodules/resource-manager/Microsoft.HardwareSecurityModules/preview/2022-08-31-preview/examples/PrivateLinkResources_ListByCloudHsmResource_MaximumSet_Gen.json similarity index 100% rename from specification/hardwaresecuritymodules/resource-manager/Microsoft.HardwareSecurityModules/preview/2022-03-31-preview/examples/PrivateLinkResources_ListByCloudHsmResource_MaximumSet_Gen.json rename to specification/hardwaresecuritymodules/resource-manager/Microsoft.HardwareSecurityModules/preview/2022-08-31-preview/examples/PrivateLinkResources_ListByCloudHsmResource_MaximumSet_Gen.json From 5148edf41d3651a0e77a24b6d55ab3699b2023a4 Mon Sep 17 00:00:00 2001 From: GoradeAarti Date: Mon, 12 Sep 2022 16:02:22 -0700 Subject: [PATCH 07/69] updated ReadMe.md --- .../hardwaresecuritymodules/resource-manager/readme.md | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/specification/hardwaresecuritymodules/resource-manager/readme.md b/specification/hardwaresecuritymodules/resource-manager/readme.md index 12eaeff6c80c..e38f81002db5 100644 --- a/specification/hardwaresecuritymodules/resource-manager/readme.md +++ b/specification/hardwaresecuritymodules/resource-manager/readme.md @@ -48,13 +48,13 @@ input-file: - Microsoft.HardwareSecurityModules/stable/2021-11-30/dedicatedhsm.json ``` -### Tag: package-2022-03 +### Tag: package-2022-08 These settings apply only when `--tag=package-2022-03` is specified on the command line. -``` yaml $(tag) == 'package-2022-03' +``` yaml $(tag) == 'package-2022-08' input-file: -- Microsoft.HardwareSecurityModules/preview/2022-03-31/cloudhsm.json +- Microsoft.HardwareSecurityModules/preview/2022-08-31/cloudhsm.json ``` # Code Generation From 3dcee79f6f84d98fd3978d77c2a3d241d5021d2c Mon Sep 17 00:00:00 2001 From: GoradeAarti Date: Mon, 12 Sep 2022 19:46:30 -0700 Subject: [PATCH 08/69] renamings, fixing validation errors --- .../preview/2022-08-31-preview/cloudhsm.json | 68 ++++++++----------- ...luster_CreateOrUpdate_MaximumSet_Gen.json} | 10 +-- ...loudHsmCluster_Delete_MaximumSet_Gen.json} | 2 +- ...> CloudHsmCluster_Get_MaximumSet_Gen.json} | 6 +- ...r_ListByResourceGroup_MaximumSet_Gen.json} | 8 +-- ...er_ListBySubscription_MaximumSet_Gen.json} | 8 +-- ...loudHsmCluster_Update_MaximumSet_Gen.json} | 10 +-- ...pointConnection_Create_MaximumSet_Gen.json | 2 +- ...pointConnection_Delete_MaximumSet_Gen.json | 2 +- ...EndpointConnection_Get_MaximumSet_Gen.json | 2 +- ...ListByCloudHsmResource_MaximumSet_Gen.json | 4 +- ...ListByCloudHsmResource_MaximumSet_Gen.json | 4 +- 12 files changed, 50 insertions(+), 76 deletions(-) rename specification/hardwaresecuritymodules/resource-manager/Microsoft.HardwareSecurityModules/preview/2022-08-31-preview/examples/{CloudHsm_CreateOrUpdate_MaximumSet_Gen.json => CloudHsmCluster_CreateOrUpdate_MaximumSet_Gen.json} (93%) rename specification/hardwaresecuritymodules/resource-manager/Microsoft.HardwareSecurityModules/preview/2022-08-31-preview/examples/{CloudHsm_Delete_MaximumSet_Gen.json => CloudHsmCluster_Delete_MaximumSet_Gen.json} (93%) rename specification/hardwaresecuritymodules/resource-manager/Microsoft.HardwareSecurityModules/preview/2022-08-31-preview/examples/{CloudHsm_Get_MaximumSet_Gen.json => CloudHsmCluster_Get_MaximumSet_Gen.json} (92%) rename specification/hardwaresecuritymodules/resource-manager/Microsoft.HardwareSecurityModules/preview/2022-08-31-preview/examples/{CloudHsm_ListByResourceGroup_MaximumSet_Gen.json => CloudHsmCluster_ListByResourceGroup_MaximumSet_Gen.json} (92%) rename specification/hardwaresecuritymodules/resource-manager/Microsoft.HardwareSecurityModules/preview/2022-08-31-preview/examples/{CloudHsm_ListBySubscription_MaximumSet_Gen.json => CloudHsmCluster_ListBySubscription_MaximumSet_Gen.json} (92%) rename specification/hardwaresecuritymodules/resource-manager/Microsoft.HardwareSecurityModules/preview/2022-08-31-preview/examples/{CloudHsm_Update_MaximumSet_Gen.json => CloudHsmCluster_Update_MaximumSet_Gen.json} (92%) diff --git a/specification/hardwaresecuritymodules/resource-manager/Microsoft.HardwareSecurityModules/preview/2022-08-31-preview/cloudhsm.json b/specification/hardwaresecuritymodules/resource-manager/Microsoft.HardwareSecurityModules/preview/2022-08-31-preview/cloudhsm.json index 7323feffa957..75cd2305824b 100644 --- a/specification/hardwaresecuritymodules/resource-manager/Microsoft.HardwareSecurityModules/preview/2022-08-31-preview/cloudhsm.json +++ b/specification/hardwaresecuritymodules/resource-manager/Microsoft.HardwareSecurityModules/preview/2022-08-31-preview/cloudhsm.json @@ -33,12 +33,12 @@ } }, "paths": { - "/resourceprovider/api/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.HardwareSecurityModules/cloudHSMClusters/{cloudHsmName}": { + "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.HardwareSecurityModules/cloudHsmClusters/{cloudHsmClusterName}": { "put": { "tags": [ "" ], - "operationId": "CloudHsm_CreateOrUpdate", + "operationId": "CloudHsmCluster_CreateOrUpdate", "description": "Create or Update a Cloud HSM in the specified subscription.", "x-ms-long-running-operation": true, "parameters": [{ @@ -46,7 +46,7 @@ }, { "$ref": "#/parameters/ResourceGroupName" }, { - "$ref": "#/parameters/CloudHsmName" + "$ref": "#/parameters/cloudHsmClusterName" }, { "$ref": "#/parameters/ApiVersion" }, { @@ -82,7 +82,7 @@ }, "x-ms-examples": { "CloudHsm_CreateOrUpdate_MaximumSet_Gen": { - "$ref": "./examples/CloudHsm_CreateOrUpdate_MaximumSet_Gen.json" + "$ref": "./examples/CloudHsmCluster_CreateOrUpdate_MaximumSet_Gen.json" } } }, @@ -90,7 +90,7 @@ "tags": [ "" ], - "operationId": "CloudHsm_Update", + "operationId": "CloudHsmCluster_Update", "x-ms-long-running-operation": true, "description": "Update a Cloud HSM in the specified subscription.", "parameters": [{ @@ -98,7 +98,7 @@ }, { "$ref": "#/parameters/ResourceGroupName" }, { - "$ref": "#/parameters/CloudHsmName" + "$ref": "#/parameters/cloudHsmClusterName" }, { "$ref": "#/parameters/ApiVersion" }, { @@ -140,7 +140,7 @@ }, "x-ms-examples": { "CloudHsm_Update_MaximumSet_Gen": { - "$ref": "./examples/CloudHsm_Update_MaximumSet_Gen.json" + "$ref": "./examples/CloudHsmCluster_Update_MaximumSet_Gen.json" } } }, @@ -148,7 +148,7 @@ "tags": [ "" ], - "operationId": "CloudHsm_Get", + "operationId": "CloudHsmCluster_Get", "description": "Gets the specified Cloud HSM.", "x-ms-long-running-operation": true, "parameters": [{ @@ -156,7 +156,7 @@ }, { "$ref": "#/parameters/ResourceGroupName" }, { - "$ref": "#/parameters/CloudHsmName" + "$ref": "#/parameters/cloudHsmClusterName" }, { "$ref": "#/parameters/ApiVersion" } @@ -177,7 +177,7 @@ }, "x-ms-examples": { "CloudHsm_Get_MaximumSet_Gen": { - "$ref": "./examples/CloudHsm_Get_MaximumSet_Gen.json" + "$ref": "./examples/CloudHsmCluster_Get_MaximumSet_Gen.json" } } }, @@ -185,7 +185,7 @@ "tags": [ "" ], - "operationId": "CloudHsm_Delete", + "operationId": "CloudHsmCluster_Delete", "description": "Deletes the specified Cloud HSM.", "x-ms-long-running-operation": true, "parameters": [{ @@ -193,7 +193,7 @@ }, { "$ref": "#/parameters/ResourceGroupName" }, { - "$ref": "#/parameters/CloudHsmName" + "$ref": "#/parameters/cloudHsmClusterName" }, { "$ref": "#/parameters/ApiVersion" } @@ -217,17 +217,17 @@ }, "x-ms-examples": { "CloudHsm_Delete_MaximumSet_Gen": { - "$ref": "./examples/CloudHsm_Delete_MaximumSet_Gen.json" + "$ref": "./examples/CloudHsmCluster_Delete_MaximumSet_Gen.json" } } } }, - "/resourceprovider/api/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.HardwareSecurityModules/cloudHSMClusters": { + "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.HardwareSecurityModules/cloudHsmClusters": { "get": { "tags": [ "" ], - "operationId": "CloudHsm_ListByResourceGroup", + "operationId": "CloudHsmCluster_ListByResourceGroup", "description": "The List operation gets information about the Cloud HSMs associated with the subscription and within the specified resource group.", "x-ms-long-running-operation": true, "parameters": [{ @@ -262,17 +262,17 @@ }, "x-ms-examples": { "CloudHsm_ListByResourceGroup_MaximumSet_Gen": { - "$ref": "./examples/CloudHsm_ListByResourceGroup_MaximumSet_Gen.json" + "$ref": "./examples/CloudHsmCluster_ListByResourceGroup_MaximumSet_Gen.json" } } } }, - "/resourceprovider/api/subscriptions/{subscriptionId}/providers/Microsoft.HardwareSecurityModules/cloudHSMClusters": { + "/subscriptions/{subscriptionId}/providers/Microsoft.HardwareSecurityModules/cloudHsmClusters": { "get": { "tags": [ "" ], - "operationId": "CloudHsm_ListBySubscription", + "operationId": "CloudHsmCluster_ListBySubscription", "description": "The List operation gets information about the Cloud HSMs associated with the subscription.", "x-ms-long-running-operation": true, "parameters": [{ @@ -305,12 +305,12 @@ }, "x-ms-examples": { "CloudHsm_ListBySubscription_MaximumSet_Gen": { - "$ref": "./examples/CloudHsm_ListBySubscription_MaximumSet_Gen.json" + "$ref": "./examples/CloudHsmCluster_ListBySubscription_MaximumSet_Gen.json" } } } }, - "/resourceprovider/api/providers/Microsoft.HardwareSecurityModules/operations": { + "/providers/Microsoft.HardwareSecurityModules/operations": { "get": { "tags": [ "" @@ -348,7 +348,7 @@ } } }, - "/resourceprovider/api/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.HardwareSecurityModules/cloudHSMClusters/{cloudHsmName}/privateLinkResources": { + "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.HardwareSecurityModules/cloudHsmClusters/{cloudHsmClusterName}/privateLinkResources": { "get": { "tags": [ "" @@ -361,7 +361,7 @@ }, { "$ref": "#/parameters/ResourceGroupName" }, { - "$ref": "#/parameters/CloudHsmName" + "$ref": "#/parameters/cloudHsmClusterName" }, { "$ref": "#/parameters/ApiVersion" } @@ -390,7 +390,7 @@ } } }, - "/resourceprovider/api/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.HardwareSecurityModules/cloudHSMClusters/{cloudHsmName}/privateEndpointConnections/{peConnectionName}": { + "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.HardwareSecurityModules/cloudHsmClusters/{cloudHsmClusterName}/privateEndpointConnections/{peConnectionName}": { "put": { "tags": [ "" @@ -402,7 +402,7 @@ }, { "$ref": "#/parameters/ResourceGroupName" }, { - "$ref": "#/parameters/CloudHsmName" + "$ref": "#/parameters/cloudHsmClusterName" }, { "$ref": "#/parameters/ApiVersion" }, { @@ -464,7 +464,7 @@ }, { "$ref": "#/parameters/ResourceGroupName" }, { - "$ref": "#/parameters/CloudHsmName" + "$ref": "#/parameters/cloudHsmClusterName" }, { "$ref": "#/parameters/ApiVersion" }, { @@ -518,7 +518,7 @@ }, { "$ref": "#/parameters/ResourceGroupName" }, { - "$ref": "#/parameters/CloudHsmName" + "$ref": "#/parameters/cloudHsmClusterName" }, { "$ref": "#/parameters/ApiVersion" }, { @@ -558,7 +558,7 @@ } } }, - "/resourceprovider/api/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.HardwareSecurityModules/cloudHSMClusters/{cloudHsmName}/privateEndpointConnections": { + "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.HardwareSecurityModules/cloudHsmClusters/{cloudHsmClusterName}/privateEndpointConnections": { "get": { "tags": [ "" @@ -571,7 +571,7 @@ }, { "$ref": "#/parameters/ResourceGroupName" }, { - "$ref": "#/parameters/CloudHsmName" + "$ref": "#/parameters/cloudHsmClusterName" }, { "$ref": "#/parameters/ApiVersion" } @@ -691,14 +691,6 @@ "items": { "$ref": "#/definitions/CloudHsmPartitionProperties" } - }, - "state": { - "type": "string", - "description": "State of Cloud HSM Resource's Fabric Pool" - }, - "stateMessage": { - "type": "string", - "description": "The Cloud HSM Partition State message" } }, "description": "Properties of a Cloud HSM resource.", @@ -1352,8 +1344,8 @@ "maxLength": 90, "x-ms-parameter-location": "method" }, - "CloudHsmName": { - "name": "cloudHsmName", + "cloudHsmClusterName": { + "name": "cloudHsmClusterName", "in": "path", "required": true, "type": "string", diff --git a/specification/hardwaresecuritymodules/resource-manager/Microsoft.HardwareSecurityModules/preview/2022-08-31-preview/examples/CloudHsm_CreateOrUpdate_MaximumSet_Gen.json b/specification/hardwaresecuritymodules/resource-manager/Microsoft.HardwareSecurityModules/preview/2022-08-31-preview/examples/CloudHsmCluster_CreateOrUpdate_MaximumSet_Gen.json similarity index 93% rename from specification/hardwaresecuritymodules/resource-manager/Microsoft.HardwareSecurityModules/preview/2022-08-31-preview/examples/CloudHsm_CreateOrUpdate_MaximumSet_Gen.json rename to specification/hardwaresecuritymodules/resource-manager/Microsoft.HardwareSecurityModules/preview/2022-08-31-preview/examples/CloudHsmCluster_CreateOrUpdate_MaximumSet_Gen.json index 7d22d0fa5263..cba93421ba39 100644 --- a/specification/hardwaresecuritymodules/resource-manager/Microsoft.HardwareSecurityModules/preview/2022-08-31-preview/examples/CloudHsm_CreateOrUpdate_MaximumSet_Gen.json +++ b/specification/hardwaresecuritymodules/resource-manager/Microsoft.HardwareSecurityModules/preview/2022-08-31-preview/examples/CloudHsmCluster_CreateOrUpdate_MaximumSet_Gen.json @@ -2,7 +2,7 @@ "parameters": { "subscriptionId": "00000000-0000-0000-0000-000000000000", "resourceGroupName": "rgcloudhsm", - "cloudHsmName": "chsm1", + "cloudHsmClusterName": "chsm1", "api-version": "2022-08-31-preview", "body": { "location": "eastus2", @@ -51,9 +51,7 @@ "fipsState": 2, "activationStatus": "null" }, - "hsms": null, - "state": "Started", - "stateMessage": "" + "hsms": null } } }, @@ -86,9 +84,7 @@ "fipsState": 2, "activationStatus": "null" }, - "hsms": null, - "state": "Started", - "stateMessage": "" + "hsms": null } } } diff --git a/specification/hardwaresecuritymodules/resource-manager/Microsoft.HardwareSecurityModules/preview/2022-08-31-preview/examples/CloudHsm_Delete_MaximumSet_Gen.json b/specification/hardwaresecuritymodules/resource-manager/Microsoft.HardwareSecurityModules/preview/2022-08-31-preview/examples/CloudHsmCluster_Delete_MaximumSet_Gen.json similarity index 93% rename from specification/hardwaresecuritymodules/resource-manager/Microsoft.HardwareSecurityModules/preview/2022-08-31-preview/examples/CloudHsm_Delete_MaximumSet_Gen.json rename to specification/hardwaresecuritymodules/resource-manager/Microsoft.HardwareSecurityModules/preview/2022-08-31-preview/examples/CloudHsmCluster_Delete_MaximumSet_Gen.json index b5b309784c2e..ed3b109ad931 100644 --- a/specification/hardwaresecuritymodules/resource-manager/Microsoft.HardwareSecurityModules/preview/2022-08-31-preview/examples/CloudHsm_Delete_MaximumSet_Gen.json +++ b/specification/hardwaresecuritymodules/resource-manager/Microsoft.HardwareSecurityModules/preview/2022-08-31-preview/examples/CloudHsmCluster_Delete_MaximumSet_Gen.json @@ -2,7 +2,7 @@ "parameters": { "subscriptionId": "00000000-0000-0000-0000-000000000000", "resourceGroupName": "rgcloudhsm", - "cloudHsmName": "chsm1", + "cloudHsmClusterName": "chsm1", "api-version": "2022-08-31-preview" }, "responses": { diff --git a/specification/hardwaresecuritymodules/resource-manager/Microsoft.HardwareSecurityModules/preview/2022-08-31-preview/examples/CloudHsm_Get_MaximumSet_Gen.json b/specification/hardwaresecuritymodules/resource-manager/Microsoft.HardwareSecurityModules/preview/2022-08-31-preview/examples/CloudHsmCluster_Get_MaximumSet_Gen.json similarity index 92% rename from specification/hardwaresecuritymodules/resource-manager/Microsoft.HardwareSecurityModules/preview/2022-08-31-preview/examples/CloudHsm_Get_MaximumSet_Gen.json rename to specification/hardwaresecuritymodules/resource-manager/Microsoft.HardwareSecurityModules/preview/2022-08-31-preview/examples/CloudHsmCluster_Get_MaximumSet_Gen.json index 87b960321d51..c259834f9271 100644 --- a/specification/hardwaresecuritymodules/resource-manager/Microsoft.HardwareSecurityModules/preview/2022-08-31-preview/examples/CloudHsm_Get_MaximumSet_Gen.json +++ b/specification/hardwaresecuritymodules/resource-manager/Microsoft.HardwareSecurityModules/preview/2022-08-31-preview/examples/CloudHsmCluster_Get_MaximumSet_Gen.json @@ -2,7 +2,7 @@ "parameters": { "subscriptionId": "00000000-0000-0000-0000-000000000000", "resourceGroupName": "rgcloudhsm", - "cloudHsmName": "chsm1", + "cloudHsmClusterName": "chsm1", "api-version": "2022-08-31-preview" }, "responses": { @@ -35,9 +35,7 @@ "fipsState": 2, "activationStatus": "null" }, - "hsms": null, - "state": "Started", - "stateMessage": "" + "hsms": null } } } diff --git a/specification/hardwaresecuritymodules/resource-manager/Microsoft.HardwareSecurityModules/preview/2022-08-31-preview/examples/CloudHsm_ListByResourceGroup_MaximumSet_Gen.json b/specification/hardwaresecuritymodules/resource-manager/Microsoft.HardwareSecurityModules/preview/2022-08-31-preview/examples/CloudHsmCluster_ListByResourceGroup_MaximumSet_Gen.json similarity index 92% rename from specification/hardwaresecuritymodules/resource-manager/Microsoft.HardwareSecurityModules/preview/2022-08-31-preview/examples/CloudHsm_ListByResourceGroup_MaximumSet_Gen.json rename to specification/hardwaresecuritymodules/resource-manager/Microsoft.HardwareSecurityModules/preview/2022-08-31-preview/examples/CloudHsmCluster_ListByResourceGroup_MaximumSet_Gen.json index 9bd7ca6e96f3..fc7bcc08db66 100644 --- a/specification/hardwaresecuritymodules/resource-manager/Microsoft.HardwareSecurityModules/preview/2022-08-31-preview/examples/CloudHsm_ListByResourceGroup_MaximumSet_Gen.json +++ b/specification/hardwaresecuritymodules/resource-manager/Microsoft.HardwareSecurityModules/preview/2022-08-31-preview/examples/CloudHsmCluster_ListByResourceGroup_MaximumSet_Gen.json @@ -35,9 +35,7 @@ "fipsState": 2, "activationStatus": "null" }, - "hsms": null, - "state": "Started", - "stateMessage": "" + "hsms": null } }, { "name": "chsm2", @@ -67,9 +65,7 @@ "fipsState": 2, "activationStatus": "null" }, - "hsms": null, - "state": "Started", - "stateMessage": "" + "hsms": null } } ], diff --git a/specification/hardwaresecuritymodules/resource-manager/Microsoft.HardwareSecurityModules/preview/2022-08-31-preview/examples/CloudHsm_ListBySubscription_MaximumSet_Gen.json b/specification/hardwaresecuritymodules/resource-manager/Microsoft.HardwareSecurityModules/preview/2022-08-31-preview/examples/CloudHsmCluster_ListBySubscription_MaximumSet_Gen.json similarity index 92% rename from specification/hardwaresecuritymodules/resource-manager/Microsoft.HardwareSecurityModules/preview/2022-08-31-preview/examples/CloudHsm_ListBySubscription_MaximumSet_Gen.json rename to specification/hardwaresecuritymodules/resource-manager/Microsoft.HardwareSecurityModules/preview/2022-08-31-preview/examples/CloudHsmCluster_ListBySubscription_MaximumSet_Gen.json index 49f91ef72296..0a7b003a95ad 100644 --- a/specification/hardwaresecuritymodules/resource-manager/Microsoft.HardwareSecurityModules/preview/2022-08-31-preview/examples/CloudHsm_ListBySubscription_MaximumSet_Gen.json +++ b/specification/hardwaresecuritymodules/resource-manager/Microsoft.HardwareSecurityModules/preview/2022-08-31-preview/examples/CloudHsmCluster_ListBySubscription_MaximumSet_Gen.json @@ -35,9 +35,7 @@ "fipsState": 2, "activationStatus": "null" }, - "hsms": null, - "state": "Started", - "stateMessage": "" + "hsms": null } }, { "name": "chsm2", @@ -67,9 +65,7 @@ "fipsState": 2, "activationStatus": "null" }, - "hsms": null, - "state": "Started", - "stateMessage": "" + "hsms": null } } ], diff --git a/specification/hardwaresecuritymodules/resource-manager/Microsoft.HardwareSecurityModules/preview/2022-08-31-preview/examples/CloudHsm_Update_MaximumSet_Gen.json b/specification/hardwaresecuritymodules/resource-manager/Microsoft.HardwareSecurityModules/preview/2022-08-31-preview/examples/CloudHsmCluster_Update_MaximumSet_Gen.json similarity index 92% rename from specification/hardwaresecuritymodules/resource-manager/Microsoft.HardwareSecurityModules/preview/2022-08-31-preview/examples/CloudHsm_Update_MaximumSet_Gen.json rename to specification/hardwaresecuritymodules/resource-manager/Microsoft.HardwareSecurityModules/preview/2022-08-31-preview/examples/CloudHsmCluster_Update_MaximumSet_Gen.json index f620d3ddafd0..5468ddcdabd3 100644 --- a/specification/hardwaresecuritymodules/resource-manager/Microsoft.HardwareSecurityModules/preview/2022-08-31-preview/examples/CloudHsm_Update_MaximumSet_Gen.json +++ b/specification/hardwaresecuritymodules/resource-manager/Microsoft.HardwareSecurityModules/preview/2022-08-31-preview/examples/CloudHsmCluster_Update_MaximumSet_Gen.json @@ -2,7 +2,7 @@ "parameters": { "subscriptionId": "00000000-0000-0000-0000-000000000000", "resourceGroupName": "rgcloudhsm", - "cloudHsmName": "chsm1", + "cloudHsmClusterName": "chsm1", "api-version": "2022-08-31-preview", "body": { "tags": { @@ -43,9 +43,7 @@ "fipsState": 2, "activationStatus": "null" }, - "hsms": null, - "state": "Started", - "stateMessage": "" + "hsms": null } } }, @@ -82,9 +80,7 @@ "fipsState": 2, "activationStatus": "null" }, - "hsms": null, - "state": "Started", - "stateMessage": "" + "hsms": null } } } diff --git a/specification/hardwaresecuritymodules/resource-manager/Microsoft.HardwareSecurityModules/preview/2022-08-31-preview/examples/CloudHsmPrivateEndpointConnection_Create_MaximumSet_Gen.json b/specification/hardwaresecuritymodules/resource-manager/Microsoft.HardwareSecurityModules/preview/2022-08-31-preview/examples/CloudHsmPrivateEndpointConnection_Create_MaximumSet_Gen.json index c0e30c8e34a7..c703583ba47e 100644 --- a/specification/hardwaresecuritymodules/resource-manager/Microsoft.HardwareSecurityModules/preview/2022-08-31-preview/examples/CloudHsmPrivateEndpointConnection_Create_MaximumSet_Gen.json +++ b/specification/hardwaresecuritymodules/resource-manager/Microsoft.HardwareSecurityModules/preview/2022-08-31-preview/examples/CloudHsmPrivateEndpointConnection_Create_MaximumSet_Gen.json @@ -2,7 +2,7 @@ "parameters": { "subscriptionId": "00000000-0000-0000-0000-000000000000", "resourceGroupName": "rgcloudhsm", - "cloudHsmName": "chsm1", + "cloudHsmClusterName": "chsm1", "api-version": "2022-08-31-preview", "peConnectionName": "sample-pec", "properties": { diff --git a/specification/hardwaresecuritymodules/resource-manager/Microsoft.HardwareSecurityModules/preview/2022-08-31-preview/examples/CloudHsmPrivateEndpointConnection_Delete_MaximumSet_Gen.json b/specification/hardwaresecuritymodules/resource-manager/Microsoft.HardwareSecurityModules/preview/2022-08-31-preview/examples/CloudHsmPrivateEndpointConnection_Delete_MaximumSet_Gen.json index 1cd059feabc6..37c4a3969678 100644 --- a/specification/hardwaresecuritymodules/resource-manager/Microsoft.HardwareSecurityModules/preview/2022-08-31-preview/examples/CloudHsmPrivateEndpointConnection_Delete_MaximumSet_Gen.json +++ b/specification/hardwaresecuritymodules/resource-manager/Microsoft.HardwareSecurityModules/preview/2022-08-31-preview/examples/CloudHsmPrivateEndpointConnection_Delete_MaximumSet_Gen.json @@ -2,7 +2,7 @@ "parameters": { "subscriptionId": "00000000-0000-0000-0000-000000000000", "resourceGroupName": "rgcloudhsm", - "cloudHsmName": "chsm1", + "cloudHsmClusterName": "chsm1", "api-version": "2022-08-31-preview", "peConnectionName": "sample-pec" }, diff --git a/specification/hardwaresecuritymodules/resource-manager/Microsoft.HardwareSecurityModules/preview/2022-08-31-preview/examples/CloudHsmPrivateEndpointConnection_Get_MaximumSet_Gen.json b/specification/hardwaresecuritymodules/resource-manager/Microsoft.HardwareSecurityModules/preview/2022-08-31-preview/examples/CloudHsmPrivateEndpointConnection_Get_MaximumSet_Gen.json index d0707c70dec9..cf0be06278da 100644 --- a/specification/hardwaresecuritymodules/resource-manager/Microsoft.HardwareSecurityModules/preview/2022-08-31-preview/examples/CloudHsmPrivateEndpointConnection_Get_MaximumSet_Gen.json +++ b/specification/hardwaresecuritymodules/resource-manager/Microsoft.HardwareSecurityModules/preview/2022-08-31-preview/examples/CloudHsmPrivateEndpointConnection_Get_MaximumSet_Gen.json @@ -2,7 +2,7 @@ "parameters": { "subscriptionId": "00000000-0000-0000-0000-000000000000", "resourceGroupName": "rgcloudhsm", - "cloudHsmName": "chsm1", + "cloudHsmClusterName": "chsm1", "api-version": "2022-08-31-preview", "peConnectionName": "sample-pec" }, diff --git a/specification/hardwaresecuritymodules/resource-manager/Microsoft.HardwareSecurityModules/preview/2022-08-31-preview/examples/PrivateEndpointConnections_ListByCloudHsmResource_MaximumSet_Gen.json b/specification/hardwaresecuritymodules/resource-manager/Microsoft.HardwareSecurityModules/preview/2022-08-31-preview/examples/PrivateEndpointConnections_ListByCloudHsmResource_MaximumSet_Gen.json index 6d275cc937da..4be52b582d43 100644 --- a/specification/hardwaresecuritymodules/resource-manager/Microsoft.HardwareSecurityModules/preview/2022-08-31-preview/examples/PrivateEndpointConnections_ListByCloudHsmResource_MaximumSet_Gen.json +++ b/specification/hardwaresecuritymodules/resource-manager/Microsoft.HardwareSecurityModules/preview/2022-08-31-preview/examples/PrivateEndpointConnections_ListByCloudHsmResource_MaximumSet_Gen.json @@ -2,8 +2,8 @@ "parameters": { "subscriptionId": "00000000-0000-0000-0000-000000000000", "resourceGroupName": "rgcloudhsm", - "cloudHsmName": "chsm1", - "api-version": "2022-03-31-preview" + "cloudHsmClusterName": "chsm1", + "api-version": "2022-08-31-preview" }, "responses": { "200": { diff --git a/specification/hardwaresecuritymodules/resource-manager/Microsoft.HardwareSecurityModules/preview/2022-08-31-preview/examples/PrivateLinkResources_ListByCloudHsmResource_MaximumSet_Gen.json b/specification/hardwaresecuritymodules/resource-manager/Microsoft.HardwareSecurityModules/preview/2022-08-31-preview/examples/PrivateLinkResources_ListByCloudHsmResource_MaximumSet_Gen.json index b187cb6789d8..cdf01e9232ad 100644 --- a/specification/hardwaresecuritymodules/resource-manager/Microsoft.HardwareSecurityModules/preview/2022-08-31-preview/examples/PrivateLinkResources_ListByCloudHsmResource_MaximumSet_Gen.json +++ b/specification/hardwaresecuritymodules/resource-manager/Microsoft.HardwareSecurityModules/preview/2022-08-31-preview/examples/PrivateLinkResources_ListByCloudHsmResource_MaximumSet_Gen.json @@ -2,8 +2,8 @@ "parameters": { "subscriptionId": "00000000-0000-0000-0000-000000000000", "resourceGroupName": "rgcloudhsm", - "cloudHsmName": "chsm1", - "api-version": "2022-03-31-preview" + "cloudHsmClusterName": "chsm1", + "api-version": "2022-08-31-preview" }, "responses": { "200": { From c069717d818ef9a4df12c72398ed29fcb844f877 Mon Sep 17 00:00:00 2001 From: GoradeAarti Date: Mon, 12 Sep 2022 20:04:26 -0700 Subject: [PATCH 09/69] fixed avocado errors --- .../resource-manager/readme.go.md | 10 +++++++++- .../hardwaresecuritymodules/resource-manager/readme.md | 4 ++-- 2 files changed, 11 insertions(+), 3 deletions(-) diff --git a/specification/hardwaresecuritymodules/resource-manager/readme.go.md b/specification/hardwaresecuritymodules/resource-manager/readme.go.md index 97e4407055e2..728069507662 100644 --- a/specification/hardwaresecuritymodules/resource-manager/readme.go.md +++ b/specification/hardwaresecuritymodules/resource-manager/readme.go.md @@ -41,4 +41,12 @@ Please also specify `--go-sdk-folder=`. + +```yaml $(tag)=='package-2022-08' && $(go) +output-folder: $(go-sdk-folder)/services/$(namespace)/mgmt/2022-08-31/$(namespace) \ No newline at end of file diff --git a/specification/hardwaresecuritymodules/resource-manager/readme.md b/specification/hardwaresecuritymodules/resource-manager/readme.md index e38f81002db5..d6dd33d12931 100644 --- a/specification/hardwaresecuritymodules/resource-manager/readme.md +++ b/specification/hardwaresecuritymodules/resource-manager/readme.md @@ -50,11 +50,11 @@ input-file: ### Tag: package-2022-08 -These settings apply only when `--tag=package-2022-03` is specified on the command line. +These settings apply only when `--tag=package-2022-08` is specified on the command line. ``` yaml $(tag) == 'package-2022-08' input-file: -- Microsoft.HardwareSecurityModules/preview/2022-08-31/cloudhsm.json +- Microsoft.HardwareSecurityModules/preview/2022-08-31-preview/cloudhsm.json ``` # Code Generation From 17a74112daf7d8d26282b80a9296ac97898c67fc Mon Sep 17 00:00:00 2001 From: GoradeAarti Date: Mon, 12 Sep 2022 21:27:53 -0700 Subject: [PATCH 10/69] fixed prettier errors --- .../preview/2022-08-31-preview/cloudhsm.json | 2652 +++++++++-------- 1 file changed, 1349 insertions(+), 1303 deletions(-) diff --git a/specification/hardwaresecuritymodules/resource-manager/Microsoft.HardwareSecurityModules/preview/2022-08-31-preview/cloudhsm.json b/specification/hardwaresecuritymodules/resource-manager/Microsoft.HardwareSecurityModules/preview/2022-08-31-preview/cloudhsm.json index 75cd2305824b..93fc463db77a 100644 --- a/specification/hardwaresecuritymodules/resource-manager/Microsoft.HardwareSecurityModules/preview/2022-08-31-preview/cloudhsm.json +++ b/specification/hardwaresecuritymodules/resource-manager/Microsoft.HardwareSecurityModules/preview/2022-08-31-preview/cloudhsm.json @@ -1,1359 +1,1405 @@ { - "swagger": "2.0", - "info": { - "title": "Azure Cloud HSM Resource Provider", - "description": "The Azure management API provides a RESTful set of web services that interact with Azure Cloud HSM RP.", - "version": "2022-08-31-preview" - }, - "host": "management.azure.com", - "schemes": [ - "https" - ], - "produces": [ - "application/json" - ], - "consumes": [ - "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" + "swagger": "2.0", + "info": { + "title": "Azure Cloud HSM Resource Provider", + "description": "The Azure management API provides a RESTful set of web services that interact with Azure Cloud HSM RP.", + "version": "2022-08-31-preview" + }, + "host": "management.azure.com", + "schemes": [ + "https" + ], + "produces": [ + "application/json" + ], + "consumes": [ + "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.HardwareSecurityModules/cloudHsmClusters/{cloudHsmClusterName}": { + "put": { + "tags": [ + "" + ], + "operationId": "CloudHsmCluster_CreateOrUpdate", + "description": "Create or Update a Cloud HSM in the specified subscription.", + "x-ms-long-running-operation": true, + "parameters": [ + { + "$ref": "#/parameters/SubscriptionId" + }, + { + "$ref": "#/parameters/ResourceGroupName" + }, + { + "$ref": "#/parameters/cloudHsmClusterName" + }, + { + "$ref": "#/parameters/ApiVersion" + }, + { + "in": "body", + "name": "body", + "required": true, + "x-ms-client-flatten": true, + "schema": { + "$ref": "#/definitions/CloudHsmResource" + }, + "description": "Parameters to create Cloud HSM" + } + ], + "responses": { + "200": { + "description": "Created Cloud HSM", + "schema": { + "$ref": "#/definitions/CloudHsmResource" + } + }, + "201": { + "description": "Created Cloud HSM", + "schema": { + "$ref": "#/definitions/CloudHsmResource" } + }, + "default": { + "description": "The error response describing why the operation failed.", + "schema": { + "$ref": "#/definitions/CloudHsmError" + } + } + }, + "x-ms-examples": { + "CloudHsm_CreateOrUpdate_MaximumSet_Gen": { + "$ref": "./examples/CloudHsmCluster_CreateOrUpdate_MaximumSet_Gen.json" + } } - }, - "paths": { - "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.HardwareSecurityModules/cloudHsmClusters/{cloudHsmClusterName}": { - "put": { - "tags": [ - "" - ], - "operationId": "CloudHsmCluster_CreateOrUpdate", - "description": "Create or Update a Cloud HSM in the specified subscription.", - "x-ms-long-running-operation": true, - "parameters": [{ - "$ref": "#/parameters/SubscriptionId" - }, { - "$ref": "#/parameters/ResourceGroupName" - }, { - "$ref": "#/parameters/cloudHsmClusterName" - }, { - "$ref": "#/parameters/ApiVersion" - }, { - "in": "body", - "name": "body", - "required": true, - "x-ms-client-flatten": true, - "schema": { - "$ref": "#/definitions/CloudHsmResource" - }, - "description": "Parameters to create Cloud HSM" - } - ], - "responses": { - "200": { - "description": "Created Cloud HSM", - "schema": { - "$ref": "#/definitions/CloudHsmResource" - } - }, - "201": { - "description": "Created Cloud HSM", - "schema": { - "$ref": "#/definitions/CloudHsmResource" - } - }, - "default": { - "description": "The error response describing why the operation failed.", - "schema": { - "$ref": "#/definitions/CloudHsmError" - } - } - }, - "x-ms-examples": { - "CloudHsm_CreateOrUpdate_MaximumSet_Gen": { - "$ref": "./examples/CloudHsmCluster_CreateOrUpdate_MaximumSet_Gen.json" - } - } - }, - "patch": { - "tags": [ - "" - ], - "operationId": "CloudHsmCluster_Update", - "x-ms-long-running-operation": true, - "description": "Update a Cloud HSM in the specified subscription.", - "parameters": [{ - "$ref": "#/parameters/SubscriptionId" - }, { - "$ref": "#/parameters/ResourceGroupName" - }, { - "$ref": "#/parameters/cloudHsmClusterName" - }, { - "$ref": "#/parameters/ApiVersion" - }, { - "in": "body", - "name": "body", - "required": true, - "x-ms-client-flatten": true, - "schema": { - "$ref": "#/definitions/CloudHsmPatchParameters" - }, - "description": "CloudHsmResource Parameters to patch" - } - ], - "responses": { - "200": { - "description": "Patched Cloud HSM", - "schema": { - "$ref": "#/definitions/CloudHsmResource" - } - }, - "202": { - "description": "Accepted and the operation will complete asynchronously.", - "headers": { - "Location": { - "description": "The URI to poll for completion status.", - "type": "string" - } - }, - "schema": { - "$ref": "#/definitions/CloudHsmResource" - } - }, - "default": { - "description": "The error response describing why the operation failed.", - "schema": { - "$ref": "#/definitions/CloudHsmError" - } - } - }, - "x-ms-examples": { - "CloudHsm_Update_MaximumSet_Gen": { - "$ref": "./examples/CloudHsmCluster_Update_MaximumSet_Gen.json" - } - } + }, + "patch": { + "tags": [ + "" + ], + "operationId": "CloudHsmCluster_Update", + "x-ms-long-running-operation": true, + "description": "Update a Cloud HSM in the specified subscription.", + "parameters": [ + { + "$ref": "#/parameters/SubscriptionId" + }, + { + "$ref": "#/parameters/ResourceGroupName" + }, + { + "$ref": "#/parameters/cloudHsmClusterName" + }, + { + "$ref": "#/parameters/ApiVersion" + }, + { + "in": "body", + "name": "body", + "required": true, + "x-ms-client-flatten": true, + "schema": { + "$ref": "#/definitions/CloudHsmPatchParameters" }, - "get": { - "tags": [ - "" - ], - "operationId": "CloudHsmCluster_Get", - "description": "Gets the specified Cloud HSM.", - "x-ms-long-running-operation": true, - "parameters": [{ - "$ref": "#/parameters/SubscriptionId" - }, { - "$ref": "#/parameters/ResourceGroupName" - }, { - "$ref": "#/parameters/cloudHsmClusterName" - }, { - "$ref": "#/parameters/ApiVersion" - } - ], - "responses": { - "200": { - "description": "Retrieved Cloud HSM", - "schema": { - "$ref": "#/definitions/CloudHsmResource" - } - }, - "default": { - "description": "The error response describing why the operation failed.", - "schema": { - "$ref": "#/definitions/CloudHsmError" - } - } - }, - "x-ms-examples": { - "CloudHsm_Get_MaximumSet_Gen": { - "$ref": "./examples/CloudHsmCluster_Get_MaximumSet_Gen.json" - } - } + "description": "CloudHsmResource Parameters to patch" + } + ], + "responses": { + "200": { + "description": "Patched Cloud HSM", + "schema": { + "$ref": "#/definitions/CloudHsmResource" + } + }, + "202": { + "description": "Accepted and the operation will complete asynchronously.", + "headers": { + "Location": { + "description": "The URI to poll for completion status.", + "type": "string" + } }, - "delete": { - "tags": [ - "" - ], - "operationId": "CloudHsmCluster_Delete", - "description": "Deletes the specified Cloud HSM.", - "x-ms-long-running-operation": true, - "parameters": [{ - "$ref": "#/parameters/SubscriptionId" - }, { - "$ref": "#/parameters/ResourceGroupName" - }, { - "$ref": "#/parameters/cloudHsmClusterName" - }, { - "$ref": "#/parameters/ApiVersion" - } - ], - "responses": { - "200": { - "description": "OK Response." - }, - "202": { - "description": "Accepted" - }, - "204": { - "description": "No Content" - }, - "default": { - "description": "The error response describing why the operation failed.", - "schema": { - "$ref": "#/definitions/CloudHsmError" - } - } - }, - "x-ms-examples": { - "CloudHsm_Delete_MaximumSet_Gen": { - "$ref": "./examples/CloudHsmCluster_Delete_MaximumSet_Gen.json" - } - } + "schema": { + "$ref": "#/definitions/CloudHsmResource" } - }, - "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.HardwareSecurityModules/cloudHsmClusters": { - "get": { - "tags": [ - "" - ], - "operationId": "CloudHsmCluster_ListByResourceGroup", - "description": "The List operation gets information about the Cloud HSMs associated with the subscription and within the specified resource group.", - "x-ms-long-running-operation": true, - "parameters": [{ - "$ref": "#/parameters/SubscriptionId" - }, { - "$ref": "#/parameters/ResourceGroupName" - }, { - "in": "query", - "name": "$skiptoken", - "type": "string", - "description": "continuationToken value" - }, { - "$ref": "#/parameters/ApiVersion" - } - ], - "responses": { - "200": { - "description": "Get information about all Cloud HSMs in the specified resource group.", - "schema": { - "$ref": "#/definitions/CloudHsmListResult" - } - }, - "default": { - "description": "The error response describing why the operation failed.", - "schema": { - "$ref": "#/definitions/CloudHsmError" - } - } - }, - "x-ms-pageable": { - "nextLinkName": "nextLink" - }, - "x-ms-examples": { - "CloudHsm_ListByResourceGroup_MaximumSet_Gen": { - "$ref": "./examples/CloudHsmCluster_ListByResourceGroup_MaximumSet_Gen.json" - } - } + }, + "default": { + "description": "The error response describing why the operation failed.", + "schema": { + "$ref": "#/definitions/CloudHsmError" } + } }, - "/subscriptions/{subscriptionId}/providers/Microsoft.HardwareSecurityModules/cloudHsmClusters": { - "get": { - "tags": [ - "" - ], - "operationId": "CloudHsmCluster_ListBySubscription", - "description": "The List operation gets information about the Cloud HSMs associated with the subscription.", - "x-ms-long-running-operation": true, - "parameters": [{ - "$ref": "#/parameters/SubscriptionId" - }, { - "in": "query", - "name": "$skiptoken", - "type": "string", - "description": "continuationToken value" - }, { - "$ref": "#/parameters/ApiVersion" - } - ], - "responses": { - "200": { - "description": "Get information about all Cloud HSMs in the specified subscription.", - "schema": { - "$ref": "#/definitions/CloudHsmListResult" - } - }, - "default": { - "description": "The error response describing why the operation failed.", - "schema": { - "$ref": "#/definitions/CloudHsmError" - } - } - }, - "x-ms-pageable": { - "nextLinkName": "nextLink" - }, - "x-ms-examples": { - "CloudHsm_ListBySubscription_MaximumSet_Gen": { - "$ref": "./examples/CloudHsmCluster_ListBySubscription_MaximumSet_Gen.json" - } - } + "x-ms-examples": { + "CloudHsm_Update_MaximumSet_Gen": { + "$ref": "./examples/CloudHsmCluster_Update_MaximumSet_Gen.json" + } + } + }, + "get": { + "tags": [ + "" + ], + "operationId": "CloudHsmCluster_Get", + "description": "Gets the specified Cloud HSM.", + "x-ms-long-running-operation": true, + "parameters": [ + { + "$ref": "#/parameters/SubscriptionId" + }, + { + "$ref": "#/parameters/ResourceGroupName" + }, + { + "$ref": "#/parameters/cloudHsmClusterName" + }, + { + "$ref": "#/parameters/ApiVersion" + } + ], + "responses": { + "200": { + "description": "Retrieved Cloud HSM", + "schema": { + "$ref": "#/definitions/CloudHsmResource" + } + }, + "default": { + "description": "The error response describing why the operation failed.", + "schema": { + "$ref": "#/definitions/CloudHsmError" } + } }, - "/providers/Microsoft.HardwareSecurityModules/operations": { - "get": { - "tags": [ - "" - ], - "operationId": "Operations_List", - "description": "Get a list of Cloud HSM operations.", - "parameters": [{ - "$ref": "#/parameters/ApiVersion" - } - ], - "responses": { - "200": { - "description": "OK", - "schema": { - "$ref": "#/definitions/CloudHsmOperationListResult" - } - }, - "default": { - "description": "The error response describing why the operation failed.", - "schema": { - "$ref": "#/definitions/CloudHsmError" - } - } - }, - "x-ms-pageable": { - "nextLinkName": "nextLink" - }, - "x-ms-examples": { - "Operations_List_MaximumSet_Gen": { - "$ref": "./examples/Operations_List_MaximumSet_Gen.json" - }, - "Operations_List_MinimumSet_Gen": { - "$ref": "./examples/Operations_List_MinimumSet_Gen.json" - } - } + "x-ms-examples": { + "CloudHsm_Get_MaximumSet_Gen": { + "$ref": "./examples/CloudHsmCluster_Get_MaximumSet_Gen.json" + } + } + }, + "delete": { + "tags": [ + "" + ], + "operationId": "CloudHsmCluster_Delete", + "description": "Deletes the specified Cloud HSM.", + "x-ms-long-running-operation": true, + "parameters": [ + { + "$ref": "#/parameters/SubscriptionId" + }, + { + "$ref": "#/parameters/ResourceGroupName" + }, + { + "$ref": "#/parameters/cloudHsmClusterName" + }, + { + "$ref": "#/parameters/ApiVersion" + } + ], + "responses": { + "200": { + "description": "OK Response." + }, + "202": { + "description": "Accepted" + }, + "204": { + "description": "No Content" + }, + "default": { + "description": "The error response describing why the operation failed.", + "schema": { + "$ref": "#/definitions/CloudHsmError" } + } }, - "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.HardwareSecurityModules/cloudHsmClusters/{cloudHsmClusterName}/privateLinkResources": { - "get": { - "tags": [ - "" - ], - "operationId": "PrivateLinkResources_ListByCloudHsmResource", - "description": "Gets the private link resources supported for the cloud hsm pool.", - "x-ms-long-running-operation": true, - "parameters": [{ - "$ref": "#/parameters/SubscriptionId" - }, { - "$ref": "#/parameters/ResourceGroupName" - }, { - "$ref": "#/parameters/cloudHsmClusterName" - }, { - "$ref": "#/parameters/ApiVersion" - } - ], - "responses": { - "200": { - "description": "Successfully retrieved private link resources.", - "schema": { - "$ref": "#/definitions/CloudHsmPrivateLinkResourceListResult" - } - }, - "default": { - "description": "The error response describing why the operation failed.", - "schema": { - "$ref": "#/definitions/CloudHsmError" - } - } - }, - "x-ms-pageable": { - "nextLinkName": "nextLink" - }, - "x-ms-examples": { - "CloudHsmPrivateLinkResources_ListByResource_MaximumSet_Gen": { - "$ref": "./examples/PrivateLinkResources_ListByCloudHsmResource_MaximumSet_Gen.json" - } - } + "x-ms-examples": { + "CloudHsm_Delete_MaximumSet_Gen": { + "$ref": "./examples/CloudHsmCluster_Delete_MaximumSet_Gen.json" + } + } + } + }, + "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.HardwareSecurityModules/cloudHsmClusters": { + "get": { + "tags": [ + "" + ], + "operationId": "CloudHsmCluster_ListByResourceGroup", + "description": "The List operation gets information about the Cloud HSMs associated with the subscription and within the specified resource group.", + "x-ms-long-running-operation": true, + "parameters": [ + { + "$ref": "#/parameters/SubscriptionId" + }, + { + "$ref": "#/parameters/ResourceGroupName" + }, + { + "in": "query", + "name": "$skiptoken", + "type": "string", + "description": "continuationToken value" + }, + { + "$ref": "#/parameters/ApiVersion" + } + ], + "responses": { + "200": { + "description": "Get information about all Cloud HSMs in the specified resource group.", + "schema": { + "$ref": "#/definitions/CloudHsmListResult" } + }, + "default": { + "description": "The error response describing why the operation failed.", + "schema": { + "$ref": "#/definitions/CloudHsmError" + } + } }, - "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.HardwareSecurityModules/cloudHsmClusters/{cloudHsmClusterName}/privateEndpointConnections/{peConnectionName}": { - "put": { - "tags": [ - "" - ], - "operationId": "CloudHsmPrivateEndpointConnection_Create", - "description": "Creates the private endpoint connection for the cloud hsm pool.", - "parameters": [{ - "$ref": "#/parameters/SubscriptionId" - }, { - "$ref": "#/parameters/ResourceGroupName" - }, { - "$ref": "#/parameters/cloudHsmClusterName" - }, { - "$ref": "#/parameters/ApiVersion" - }, { - "in": "path", - "name": "peConnectionName", - "required": true, - "type": "string", - "description": "PrivateEndpointConnection name" - }, { - "in": "body", - "name": "properties", - "x-ms-client-flatten": true, - "schema": { - "$ref": "#/definitions/PrivateEndpointConnection" - }, - "description": "Parameters to validate the PrivateEndpointConnection" - } - ], - "responses": { - "200": { - "description": "The state of private endpoint connection was updated successfully.", - "headers": { - "Retry-After": { - "description": "(specified only if operation does not finish synchronously) The recommended number of seconds to wait before calling the URI specified in Azure-AsyncOperation.", - "type": "integer", - "format": "int32" - }, - "Azure-AsyncOperation": { - "description": "(specified only if operation does not finish synchronously) The URI to poll for completion status. The response of this URI may be synchronous or asynchronous.", - "type": "string" - } - }, - "schema": { - "$ref": "#/definitions/PrivateEndpointConnection" - } - }, - "default": { - "description": "The error response describing why the operation failed.", - "schema": { - "$ref": "#/definitions/CloudHsmError" - } - } - }, - "x-ms-examples": { - "CloudHsmPrivateEndpointConnection_Create_MaximumSet_Gen": { - "$ref": "./examples/CloudHsmPrivateEndpointConnection_Create_MaximumSet_Gen.json" - } - } - }, - "delete": { - "tags": [ - "" - ], - "operationId": "CloudHsmPrivateEndpointConnection_Delete", - "description": "Deletes the private endpoint connection for the cloud hsm pool.", - "x-ms-long-running-operation": true, - "parameters": [{ - "$ref": "#/parameters/SubscriptionId" - }, { - "$ref": "#/parameters/ResourceGroupName" - }, { - "$ref": "#/parameters/cloudHsmClusterName" - }, { - "$ref": "#/parameters/ApiVersion" - }, { - "in": "path", - "name": "peConnectionName", - "required": true, - "type": "string", - "description": "PrivateEndpointConnection name" - } - ], - "responses": { - "200": { - "description": "The private endpoint connection was successfully deleted.", - "schema": { - "$ref": "#/definitions/PrivateEndpointConnection" - } - }, - "202": { - "description": "The private endpoint connection is being deleted.", - "headers": { - "Location": { - "description": "The URI to poll for completion status.", - "type": "string" - } - } - }, - "204": { - "description": "The private endpoint connection does not exist." - }, - "default": { - "description": "The error response describing why the operation failed.", - "schema": { - "$ref": "#/definitions/CloudHsmError" - } - } - }, - "x-ms-examples": { - "CloudHsmPrivateEndpointConnection_Delete_MaximumSet_Gen": { - "$ref": "./examples/CloudHsmPrivateEndpointConnection_Delete_MaximumSet_Gen.json" - } - } - }, - "get": { - "tags": [ - "" - ], - "operationId": "CloudHsmPrivateEndpointConnection_Get", - "description": "Gets the private endpoint connection for the cloud hsm pool.", - "parameters": [{ - "$ref": "#/parameters/SubscriptionId" - }, { - "$ref": "#/parameters/ResourceGroupName" - }, { - "$ref": "#/parameters/cloudHsmClusterName" - }, { - "$ref": "#/parameters/ApiVersion" - }, { - "in": "path", - "name": "peConnectionName", - "required": true, - "type": "string", - "description": "PrivateEndpointConnection name" - }, { - "in": "query", - "name": "chsm-operation", - "type": "string", - "description": "cloud hsm operation name" - } - ], - "responses": { - "200": { - "description": "Private endpoint connection successfully returned.", - "schema": { - "$ref": "#/definitions/PrivateEndpointConnection" - } - }, - "204": { - "description": "The private endpoint connection does not exist." - }, - "default": { - "description": "The error response describing why the operation failed.", - "schema": { - "$ref": "#/definitions/CloudHsmError" - } - } - }, - "x-ms-examples": { - "CloudHsmPrivateEndpointConnection_Get_MaximumSet_Gen": { - "$ref": "./examples/CloudHsmPrivateEndpointConnection_Get_MaximumSet_Gen.json" - } - } + "x-ms-pageable": { + "nextLinkName": "nextLink" + }, + "x-ms-examples": { + "CloudHsm_ListByResourceGroup_MaximumSet_Gen": { + "$ref": "./examples/CloudHsmCluster_ListByResourceGroup_MaximumSet_Gen.json" + } + } + } + }, + "/subscriptions/{subscriptionId}/providers/Microsoft.HardwareSecurityModules/cloudHsmClusters": { + "get": { + "tags": [ + "" + ], + "operationId": "CloudHsmCluster_ListBySubscription", + "description": "The List operation gets information about the Cloud HSMs associated with the subscription.", + "x-ms-long-running-operation": true, + "parameters": [ + { + "$ref": "#/parameters/SubscriptionId" + }, + { + "in": "query", + "name": "$skiptoken", + "type": "string", + "description": "continuationToken value" + }, + { + "$ref": "#/parameters/ApiVersion" + } + ], + "responses": { + "200": { + "description": "Get information about all Cloud HSMs in the specified subscription.", + "schema": { + "$ref": "#/definitions/CloudHsmListResult" } + }, + "default": { + "description": "The error response describing why the operation failed.", + "schema": { + "$ref": "#/definitions/CloudHsmError" + } + } + }, + "x-ms-pageable": { + "nextLinkName": "nextLink" }, - "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.HardwareSecurityModules/cloudHsmClusters/{cloudHsmClusterName}/privateEndpointConnections": { - "get": { - "tags": [ - "" - ], - "operationId": "PrivateEndpointConnections_ListByCloudHsmResource", - "description": "The List operation gets information about the private endpoint connections associated with the Cloud HSM", - "x-ms-long-running-operation": true, - "parameters": [{ - "$ref": "#/parameters/SubscriptionId" - }, { - "$ref": "#/parameters/ResourceGroupName" - }, { - "$ref": "#/parameters/cloudHsmClusterName" - }, { - "$ref": "#/parameters/ApiVersion" - } - ], - "responses": { - "200": { - "description": "List of all Cloud HSM's private endpoint connections associated with the Cloud HSM.", - "schema": { - "$ref": "#/definitions/CloudHsmPrivateEndpointConnectionsListResult" - } - }, - "default": { - "description": "The error response describing why the operation failed.", - "schema": { - "$ref": "#/definitions/CloudHsmError" - } - } - }, - "x-ms-pageable": { - "nextLinkName": "nextLink" - }, - "x-ms-examples": { - "CloudHsmPrivateEndpointConnection_ListByResource_MaximumSet_Gen": { - "$ref": "./examples/PrivateEndpointConnections_ListByCloudHsmResource_MaximumSet_Gen.json" - } - } + "x-ms-examples": { + "CloudHsm_ListBySubscription_MaximumSet_Gen": { + "$ref": "./examples/CloudHsmCluster_ListBySubscription_MaximumSet_Gen.json" + } + } + } + }, + "/providers/Microsoft.HardwareSecurityModules/operations": { + "get": { + "tags": [ + "" + ], + "operationId": "Operations_List", + "description": "Get a list of Cloud HSM operations.", + "parameters": [ + { + "$ref": "#/parameters/ApiVersion" + } + ], + "responses": { + "200": { + "description": "OK", + "schema": { + "$ref": "#/definitions/CloudHsmOperationListResult" + } + }, + "default": { + "description": "The error response describing why the operation failed.", + "schema": { + "$ref": "#/definitions/CloudHsmError" } + } + }, + "x-ms-pageable": { + "nextLinkName": "nextLink" + }, + "x-ms-examples": { + "Operations_List_MaximumSet_Gen": { + "$ref": "./examples/Operations_List_MaximumSet_Gen.json" + }, + "Operations_List_MinimumSet_Gen": { + "$ref": "./examples/Operations_List_MinimumSet_Gen.json" + } } + } }, - "definitions": { - "CloudHsmPartitionProperties": { - "type": "object", - "description": "The Cloud HSM Partition Properties", - "properties": { - "hsmId": { - "type": "string", - "description": "The Cloud HSM PartitionId" - }, - "state": { - "type": "string", - "description": "The Cloud HSM Partition State" - }, - "stateMessage": { - "type": "string", - "description": "The Cloud HSM Partition State message" - } + "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.HardwareSecurityModules/cloudHsmClusters/{cloudHsmClusterName}/privateLinkResources": { + "get": { + "tags": [ + "" + ], + "operationId": "PrivateLinkResources_ListByCloudHsmResource", + "description": "Gets the private link resources supported for the cloud hsm pool.", + "x-ms-long-running-operation": true, + "parameters": [ + { + "$ref": "#/parameters/SubscriptionId" + }, + { + "$ref": "#/parameters/ResourceGroupName" + }, + { + "$ref": "#/parameters/cloudHsmClusterName" + }, + { + "$ref": "#/parameters/ApiVersion" + } + ], + "responses": { + "200": { + "description": "Successfully retrieved private link resources.", + "schema": { + "$ref": "#/definitions/CloudHsmPrivateLinkResourceListResult" + } + }, + "default": { + "description": "The error response describing why the operation failed.", + "schema": { + "$ref": "#/definitions/CloudHsmError" } + } }, - "CloudHsmResource": { - "required": [ - "location" - ], - "properties": { - "name": { - "type": "string", - "readOnly": true, - "description": "The Cloud HSM resource name" - }, - "location": { - "type": "string", - "description": "The supported Azure location where the dedicated HSM should be created.", - "x-ms-mutability": [ - "create", - "read" - ] - }, - "id": { - "type": "string", - "readOnly": true, - "description": "The Cloud HSM Resource id" - }, - "sku": { - "$ref": "#/definitions/CloudHsmSku" - }, - "tags": { - "type": "object", - "description": "The Cloud HSM Resource tags", - "additionalProperties": { - "type": "string", - "description": "The Cloud HSM Resource tags's additional properties" - } - }, - "type": { - "type": "string", - "readOnly": true, - "description": "The Cloud HSM Resource type" - }, - "systemData": { - "$ref": "#/definitions/SystemData" - }, - "properties": { - "x-ms-client-flatten": true, - "$ref": "#/definitions/CloudHsmClusterProperties" - } - }, - "description": "Cloud HSM resource", - "type": "object", - "x-ms-azure-resource": true - }, - "CloudHsmClusterProperties": { - "properties": { - "provisioningState": { - "type": "string", - "description": "The Cloud HSM Resource provisioningState" - }, - "autoGeneratedDomainNameLabelScope": { - "type": "string", - "description": "The Cloud HSM Resource auto-generated Domain Name Label Scope" - }, - "securityDomain": { - "$ref": "#/definitions/SecurityDomainProperties" - }, - "hsms": { - "type": "array", - "description": "An array of Cloud HSM Resource's HSM partitions", - "x-ms-identifiers": [], - "items": { - "$ref": "#/definitions/CloudHsmPartitionProperties" - } - } + "x-ms-pageable": { + "nextLinkName": "nextLink" + }, + "x-ms-examples": { + "CloudHsmPrivateLinkResources_ListByResource_MaximumSet_Gen": { + "$ref": "./examples/PrivateLinkResources_ListByCloudHsmResource_MaximumSet_Gen.json" + } + } + } + }, + "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.HardwareSecurityModules/cloudHsmClusters/{cloudHsmClusterName}/privateEndpointConnections/{peConnectionName}": { + "put": { + "tags": [ + "" + ], + "operationId": "CloudHsmPrivateEndpointConnection_Create", + "description": "Creates the private endpoint connection for the cloud hsm pool.", + "parameters": [ + { + "$ref": "#/parameters/SubscriptionId" + }, + { + "$ref": "#/parameters/ResourceGroupName" + }, + { + "$ref": "#/parameters/cloudHsmClusterName" + }, + { + "$ref": "#/parameters/ApiVersion" + }, + { + "in": "path", + "name": "peConnectionName", + "required": true, + "type": "string", + "description": "PrivateEndpointConnection name" + }, + { + "in": "body", + "name": "properties", + "x-ms-client-flatten": true, + "schema": { + "$ref": "#/definitions/PrivateEndpointConnection" }, - "description": "Properties of a Cloud HSM resource.", - "type": "object" - }, - "CloudHsmPatchParameters": { - "properties": { - "tags": { - "type": "object", - "additionalProperties": { - "type": "string" - }, - "description": "Resource tags" - } + "description": "Parameters to validate the PrivateEndpointConnection" + } + ], + "responses": { + "200": { + "description": "The state of private endpoint connection was updated successfully.", + "headers": { + "Retry-After": { + "description": "(specified only if operation does not finish synchronously) The recommended number of seconds to wait before calling the URI specified in Azure-AsyncOperation.", + "type": "integer", + "format": "int32" + }, + "Azure-AsyncOperation": { + "description": "(specified only if operation does not finish synchronously) The URI to poll for completion status. The response of this URI may be synchronous or asynchronous.", + "type": "string" + } }, - "description": "Patchable properties of the dedicated HSM", - "type": "object" - }, - "ConnectionDetails": { - "type": "object", - "description": "Connection details for RemotePrivateEndpoint", - "properties": { - "id": { - "type": "string", - "description": "identifier" - }, - "privateIpAddress": { - "type": "string", - "description": "private Ip Address" - }, - "linkIdentifier": { - "type": "string", - "description": "link Identifier value" - }, - "groupId": { - "type": "string", - "description": "group Id" - }, - "memberName": { - "type": "string", - "description": "member name" - } + "schema": { + "$ref": "#/definitions/PrivateEndpointConnection" } - }, - "ExplicitDnsSetting": { - "type": "object", - "description": "DNS settings for GroupConnectivity", - "properties": { - "fqdn": { - "type": "string", - "description": "Fully qualified domain name" - }, - "aRecord": { - "type": "string", - "description": "aRecord value" - }, - "dnsZoneName": { - "type": "string", - "description": "dnsZoneName value" - } + }, + "default": { + "description": "The error response describing why the operation failed.", + "schema": { + "$ref": "#/definitions/CloudHsmError" } + } }, - "GroupConnectivityInformation": { - "type": "object", - "description": "GroupConnectivity information for PrivateLinkServiceProxy", - "properties": { - "groupId": { - "type": "string", - "description": "GroupConnectivity's group id" - }, - "memberName": { - "type": "string", - "description": "GroupConnectivity's member name" - }, - "customerVisibleFqdns": { - "type": "array", - "description": "GroupConnectivity's customer visible Fully qualified domain name", - "items": { - "type": "string" - } - }, - "explicitDnsSettings": { - "type": "array", - "description": "GroupConnectivity's explicit Dns Settings", - "x-ms-identifiers": [], - "items": { - "$ref": "#/definitions/ExplicitDnsSetting" - } - }, - "internalFqdn": { - "type": "string", - "description": "GroupConnectivity's internal Fully qualified domain name" - } + "x-ms-examples": { + "CloudHsmPrivateEndpointConnection_Create_MaximumSet_Gen": { + "$ref": "./examples/CloudHsmPrivateEndpointConnection_Create_MaximumSet_Gen.json" + } + } + }, + "delete": { + "tags": [ + "" + ], + "operationId": "CloudHsmPrivateEndpointConnection_Delete", + "description": "Deletes the private endpoint connection for the cloud hsm pool.", + "x-ms-long-running-operation": true, + "parameters": [ + { + "$ref": "#/parameters/SubscriptionId" + }, + { + "$ref": "#/parameters/ResourceGroupName" + }, + { + "$ref": "#/parameters/cloudHsmClusterName" + }, + { + "$ref": "#/parameters/ApiVersion" + }, + { + "in": "path", + "name": "peConnectionName", + "required": true, + "type": "string", + "description": "PrivateEndpointConnection name" + } + ], + "responses": { + "200": { + "description": "The private endpoint connection was successfully deleted.", + "schema": { + "$ref": "#/definitions/PrivateEndpointConnection" } - }, - "PrivateEndpointConnection": { - "type": "object", - "description": "private endpoint connection details", - "x-ms-azure-resource": true, - "properties": { - "id": { - "type": "string", - "description": "identifier", - "readOnly": true - }, - "name": { - "type": "string", - "description": "Private Endpoint Connection name", - "readOnly": true - }, - "type": { - "type": "string", - "description": "Private Endpoint Connection type", - "readOnly": true - }, - "location": { - "type": "string", - "description": "The supported Azure location where the dedicated HSM should be created.", - "x-ms-mutability": [ - "create", - "read" - ] - }, - "etag": { - "type": "string", - "description": "ETAG value for Private Endpoint Connection entry" - }, - "systemData": { - "$ref": "#/definitions/SystemData" - }, - "properties": { - "x-ms-client-flatten": true, - "$ref": "#/definitions/PrivateEndpointConnectionProperties" - } + }, + "202": { + "description": "The private endpoint connection is being deleted.", + "headers": { + "Location": { + "description": "The URI to poll for completion status.", + "type": "string" + } } - }, - "PrivateEndpointConnectionProperties": { - "type": "object", - "description": "private endpoint connection properties information", - "properties": { - "provisioningState": { - "type": "string", - "description": "provisioning state for Private Endpoint Connection properties" - }, - "privateEndpoint": { - "$ref": "#/definitions/PrivateEndpoint" - }, - "privateLinkServiceConnectionState": { - "$ref": "#/definitions/PrivateLinkServiceConnectionState" - } + }, + "204": { + "description": "The private endpoint connection does not exist." + }, + "default": { + "description": "The error response describing why the operation failed.", + "schema": { + "$ref": "#/definitions/CloudHsmError" } + } }, - "PrivateEndpointConnectionProxy": { - "type": "object", - "description": "private endpoint connection proxy information", - "x-ms-azure-resource": true, - "properties": { - "id": { - "type": "string", - "description": "identifier", - "readOnly": true - }, - "name": { - "type": "string", - "description": "Private Endpoint Connection proxy name", - "readOnly": true - }, - "type": { - "type": "string", - "description": "Private Endpoint Connection proxy type", - "readOnly": true - }, - "location": { - "type": "string", - "description": "The supported Azure location where the dedicated HSM should be created.", - "x-ms-mutability": [ - "create", - "read" - ] - }, - "etag": { - "type": "string", - "description": "ETAG value for Private Endpoint Connection proxy entry" - }, - "systemData": { - "$ref": "#/definitions/SystemData" - }, - "properties": { - "x-ms-client-flatten": true, - "$ref": "#/definitions/RemotePrivateEndpoint" - } + "x-ms-examples": { + "CloudHsmPrivateEndpointConnection_Delete_MaximumSet_Gen": { + "$ref": "./examples/CloudHsmPrivateEndpointConnection_Delete_MaximumSet_Gen.json" + } + } + }, + "get": { + "tags": [ + "" + ], + "operationId": "CloudHsmPrivateEndpointConnection_Get", + "description": "Gets the private endpoint connection for the cloud hsm pool.", + "parameters": [ + { + "$ref": "#/parameters/SubscriptionId" + }, + { + "$ref": "#/parameters/ResourceGroupName" + }, + { + "$ref": "#/parameters/cloudHsmClusterName" + }, + { + "$ref": "#/parameters/ApiVersion" + }, + { + "in": "path", + "name": "peConnectionName", + "required": true, + "type": "string", + "description": "PrivateEndpointConnection name" + } + ], + "responses": { + "200": { + "description": "Private endpoint connection successfully returned.", + "schema": { + "$ref": "#/definitions/PrivateEndpointConnection" } - }, - "PrivateLinkServiceConnection": { - "type": "object", - "description": "private link service connection information", - "properties": { - "name": { - "type": "string", - "description": "Private link service connection name" - }, - "groupIds": { - "type": "array", - "description": "List of Private link service connection group Id", - "items": { - "type": "string", - "description": "item for group id for Private link service connection" - } - }, - "requestMessage": { - "type": "string", - "description": "Request message for Private link service connection" - } + }, + "204": { + "description": "The private endpoint connection does not exist." + }, + "default": { + "description": "The error response describing why the operation failed.", + "schema": { + "$ref": "#/definitions/CloudHsmError" } + } }, - "PrivateLinkServiceProxy": { - "type": "object", - "description": "private link service proxy information", - "properties": { - "id": { - "type": "string", - "description": "identifier for private link service proxy" - }, - "remotePrivateLinkServiceConnectionState": { - "$ref": "#/definitions/RemotePrivateLinkServiceConnectionState" - }, - "remotePrivateEndpointConnection": { - "$ref": "#/definitions/RemotePrivateEndpointConnection" - }, - "groupConnectivityInformation": { - "type": "array", - "description": "list of group connectivity information for private link service proxy", - "x-ms-identifiers": [], - "items": { - "$ref": "#/definitions/GroupConnectivityInformation" - } - } + "x-ms-examples": { + "CloudHsmPrivateEndpointConnection_Get_MaximumSet_Gen": { + "$ref": "./examples/CloudHsmPrivateEndpointConnection_Get_MaximumSet_Gen.json" + } + } + } + }, + "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.HardwareSecurityModules/cloudHsmClusters/{cloudHsmClusterName}/privateEndpointConnections": { + "get": { + "tags": [ + "" + ], + "operationId": "PrivateEndpointConnections_ListByCloudHsmResource", + "description": "The List operation gets information about the private endpoint connections associated with the Cloud HSM", + "x-ms-long-running-operation": true, + "parameters": [ + { + "$ref": "#/parameters/SubscriptionId" + }, + { + "$ref": "#/parameters/ResourceGroupName" + }, + { + "$ref": "#/parameters/cloudHsmClusterName" + }, + { + "$ref": "#/parameters/ApiVersion" + } + ], + "responses": { + "200": { + "description": "List of all CloudHsmCluster private endpoint connections associated with the Cloud HSM.", + "schema": { + "$ref": "#/definitions/CloudHsmPrivateEndpointConnectionsListResult" } - }, - "RemotePrivateEndpoint": { - "type": "object", - "description": "Remote private endpoint information", - "properties": { - "id": { - "type": "string", - "description": "identifier for remote private endpoint" - }, - "manualPrivateLinkServiceConnections": { - "type": "array", - "description": "list of manual private link service connections", - "x-ms-identifiers": [], - "items": { - "$ref": "#/definitions/PrivateLinkServiceConnection" - } - }, - "privateLinkServiceConnections": { - "type": "array", - "description": "list of private link service connections", - "x-ms-identifiers": [], - "items": { - "$ref": "#/definitions/PrivateLinkServiceConnection" - } - }, - "privateLinkServiceProxies": { - "type": "array", - "description": "list of private link service proxies", - "items": { - "$ref": "#/definitions/PrivateLinkServiceProxy" - } - }, - "connectionDetails": { - "type": "array", - "description": "list of connection details for remote private endpoint", - "items": { - "$ref": "#/definitions/ConnectionDetails" - } - } + }, + "default": { + "description": "The error response describing why the operation failed.", + "schema": { + "$ref": "#/definitions/CloudHsmError" } + } }, - "RemotePrivateEndpointConnection": { - "type": "object", - "description": "Remote private endpoint connection information", - "properties": { - "id": { - "type": "string", - "description": "identifier for remote private endpoint connection" - } - } + "x-ms-pageable": { + "nextLinkName": "nextLink" }, - "RemotePrivateLinkServiceConnectionState": { - "type": "object", - "description": "Remote private link service connection state information", - "properties": { - "status": { - "type": "string", - "description": "status of Remote private link service connection state" - }, - "description": { - "type": "string", - "description": "description of Remote private link service connection state" - }, - "actionsRequired": { - "type": "string", - "description": "details of action if any required for Remote private link service connection state" - } - } + "x-ms-examples": { + "CloudHsmPrivateEndpointConnection_ListByResource_MaximumSet_Gen": { + "$ref": "./examples/PrivateEndpointConnections_ListByCloudHsmResource_MaximumSet_Gen.json" + } + } + } + } + }, + "definitions": { + "CloudHsmPartitionProperties": { + "type": "object", + "description": "The Cloud HSM Partition Properties", + "properties": { + "hsmId": { + "type": "string", + "description": "The Cloud HSM PartitionId" }, - "SecurityDomainProperties": { - "type": "object", - "description": "Security domain properties information", - "properties": { - "fipsState": { - "format": "int32", - "type": "integer", - "description": "FIPS state information for security domain" - }, - "activationStatus": { - "type": "string", - "description": "status of security domain activation" - } - } + "state": { + "type": "string", + "description": "The Cloud HSM Partition State" }, - "CloudHsmSku": { - "type": "object", - "description": "Cloud Hsm SKU information", - "properties": { - "family": { - "type": "string", - "description": "Sku family" - }, - "name": { - "type": "string", - "description": "Sku name" - }, - "capacity": { - "format": "int32", - "type": "integer", - "description": "Sku capacity" - } - } + "stateMessage": { + "type": "string", + "description": "The Cloud HSM Partition State message" + } + } + }, + "CloudHsmResource": { + "required": [ + "location" + ], + "properties": { + "name": { + "type": "string", + "readOnly": true, + "description": "The Cloud HSM resource name" }, - "CloudHsmError": { - "properties": { - "error": { - "$ref": "#/definitions/Error" - } + "location": { + "type": "string", + "description": "The supported Azure location where the dedicated HSM should be created.", + "x-ms-mutability": [ + "create", + "read" + ] + }, + "id": { + "type": "string", + "readOnly": true, + "description": "The Cloud HSM Resource id" + }, + "sku": { + "$ref": "#/definitions/CloudHsmSku" + }, + "tags": { + "type": "object", + "description": "The Cloud HSM Resource tags", + "additionalProperties": { + "type": "string", + "description": "The Cloud HSM Resource tags additional properties" + } + }, + "type": { + "type": "string", + "readOnly": true, + "description": "The Cloud HSM Resource type" + }, + "systemData": { + "$ref": "#/definitions/SystemData" + }, + "properties": { + "x-ms-client-flatten": true, + "$ref": "#/definitions/CloudHsmClusterProperties" + } + }, + "description": "Cloud HSM resource", + "type": "object", + "x-ms-azure-resource": true + }, + "CloudHsmClusterProperties": { + "properties": { + "provisioningState": { + "type": "string", + "description": "The Cloud HSM Resource provisioningState" + }, + "autoGeneratedDomainNameLabelScope": { + "type": "string", + "description": "The Cloud HSM Resource auto-generated Domain Name Label Scope" + }, + "securityDomain": { + "$ref": "#/definitions/SecurityDomainProperties" + }, + "hsms": { + "type": "array", + "description": "An array of Cloud HSM Resource's HSM partitions", + "x-ms-identifiers": [], + "items": { + "$ref": "#/definitions/CloudHsmPartitionProperties" + } + } + }, + "description": "Properties of a Cloud HSM resource.", + "type": "object" + }, + "CloudHsmPatchParameters": { + "properties": { + "tags": { + "type": "object", + "additionalProperties": { + "type": "string" + }, + "description": "Resource tags" + } + }, + "description": "Patchable properties of the dedicated HSM", + "type": "object" + }, + "ConnectionDetails": { + "type": "object", + "description": "Connection details for RemotePrivateEndpoint", + "properties": { + "id": { + "type": "string", + "description": "identifier" + }, + "privateIpAddress": { + "type": "string", + "description": "private Ip Address" + }, + "linkIdentifier": { + "type": "string", + "description": "link Identifier value" + }, + "groupId": { + "type": "string", + "description": "group Id" + }, + "memberName": { + "type": "string", + "description": "member name" + } + } + }, + "ExplicitDnsSetting": { + "type": "object", + "description": "DNS settings for GroupConnectivity", + "properties": { + "fqdn": { + "type": "string", + "description": "Fully qualified domain name" + }, + "aRecord": { + "type": "string", + "description": "aRecord value" + }, + "dnsZoneName": { + "type": "string", + "description": "dnsZoneName value" + } + } + }, + "GroupConnectivityInformation": { + "type": "object", + "description": "GroupConnectivity information for PrivateLinkServiceProxy", + "properties": { + "groupId": { + "type": "string", + "description": "GroupConnectivity's group id" + }, + "memberName": { + "type": "string", + "description": "GroupConnectivity's member name" + }, + "customerVisibleFqdns": { + "type": "array", + "description": "GroupConnectivity's customer visible Fully qualified domain name", + "items": { + "type": "string" + } + }, + "explicitDnsSettings": { + "type": "array", + "description": "GroupConnectivity's explicit Dns Settings", + "x-ms-identifiers": [], + "items": { + "$ref": "#/definitions/ExplicitDnsSetting" + } + }, + "internalFqdn": { + "type": "string", + "description": "GroupConnectivity's internal Fully qualified domain name" + } + } + }, + "PrivateEndpointConnection": { + "type": "object", + "description": "private endpoint connection details", + "x-ms-azure-resource": true, + "properties": { + "id": { + "type": "string", + "description": "identifier", + "readOnly": true + }, + "name": { + "type": "string", + "description": "Private Endpoint Connection name", + "readOnly": true + }, + "type": { + "type": "string", + "description": "Private Endpoint Connection type", + "readOnly": true + }, + "location": { + "type": "string", + "description": "The supported Azure location where the dedicated HSM should be created.", + "x-ms-mutability": [ + "create", + "read" + ] + }, + "etag": { + "type": "string", + "description": "ETAG value for Private Endpoint Connection entry" + }, + "systemData": { + "$ref": "#/definitions/SystemData" + }, + "properties": { + "x-ms-client-flatten": true, + "$ref": "#/definitions/PrivateEndpointConnectionProperties" + } + } + }, + "PrivateEndpointConnectionProperties": { + "type": "object", + "description": "private endpoint connection properties information", + "properties": { + "provisioningState": { + "type": "string", + "description": "provisioning state for Private Endpoint Connection properties" + }, + "privateEndpoint": { + "$ref": "#/definitions/PrivateEndpoint" + }, + "privateLinkServiceConnectionState": { + "$ref": "#/definitions/PrivateLinkServiceConnectionState" + } + } + }, + "PrivateEndpointConnectionProxy": { + "type": "object", + "description": "private endpoint connection proxy information", + "x-ms-azure-resource": true, + "properties": { + "id": { + "type": "string", + "description": "identifier", + "readOnly": true + }, + "name": { + "type": "string", + "description": "Private Endpoint Connection proxy name", + "readOnly": true + }, + "type": { + "type": "string", + "description": "Private Endpoint Connection proxy type", + "readOnly": true + }, + "location": { + "type": "string", + "description": "The supported Azure location where the dedicated HSM should be created.", + "x-ms-mutability": [ + "create", + "read" + ] + }, + "etag": { + "type": "string", + "description": "ETAG value for Private Endpoint Connection proxy entry" + }, + "systemData": { + "$ref": "#/definitions/SystemData" + }, + "properties": { + "x-ms-client-flatten": true, + "$ref": "#/definitions/RemotePrivateEndpoint" + } + } + }, + "PrivateLinkServiceConnection": { + "type": "object", + "description": "private link service connection information", + "properties": { + "name": { + "type": "string", + "description": "Private link service connection name" + }, + "groupIds": { + "type": "array", + "description": "List of Private link service connection group Id", + "items": { + "type": "string", + "description": "item for group id for Private link service connection" + } + }, + "requestMessage": { + "type": "string", + "description": "Request message for Private link service connection" + } + } + }, + "PrivateLinkServiceProxy": { + "type": "object", + "description": "private link service proxy information", + "properties": { + "id": { + "type": "string", + "description": "identifier for private link service proxy" + }, + "remotePrivateLinkServiceConnectionState": { + "$ref": "#/definitions/RemotePrivateLinkServiceConnectionState" + }, + "remotePrivateEndpointConnection": { + "$ref": "#/definitions/RemotePrivateEndpointConnection" + }, + "groupConnectivityInformation": { + "type": "array", + "description": "list of group connectivity information for private link service proxy", + "x-ms-identifiers": [], + "items": { + "$ref": "#/definitions/GroupConnectivityInformation" + } + } + } + }, + "RemotePrivateEndpoint": { + "type": "object", + "description": "Remote private endpoint information", + "properties": { + "id": { + "type": "string", + "description": "identifier for remote private endpoint" + }, + "manualPrivateLinkServiceConnections": { + "type": "array", + "description": "list of manual private link service connections", + "x-ms-identifiers": [], + "items": { + "$ref": "#/definitions/PrivateLinkServiceConnection" + } + }, + "privateLinkServiceConnections": { + "type": "array", + "description": "list of private link service connections", + "x-ms-identifiers": [], + "items": { + "$ref": "#/definitions/PrivateLinkServiceConnection" + } + }, + "privateLinkServiceProxies": { + "type": "array", + "description": "list of private link service proxies", + "items": { + "$ref": "#/definitions/PrivateLinkServiceProxy" + } + }, + "connectionDetails": { + "type": "array", + "description": "list of connection details for remote private endpoint", + "items": { + "$ref": "#/definitions/ConnectionDetails" + } + } + } + }, + "RemotePrivateEndpointConnection": { + "type": "object", + "description": "Remote private endpoint connection information", + "properties": { + "id": { + "type": "string", + "description": "identifier for remote private endpoint connection" + } + } + }, + "RemotePrivateLinkServiceConnectionState": { + "type": "object", + "description": "Remote private link service connection state information", + "properties": { + "status": { + "type": "string", + "description": "status of Remote private link service connection state" + }, + "description": { + "type": "string", + "description": "description of Remote private link service connection state" + }, + "actionsRequired": { + "type": "string", + "description": "details of action if any required for Remote private link service connection state" + } + } + }, + "SecurityDomainProperties": { + "type": "object", + "description": "Security domain properties information", + "properties": { + "fipsState": { + "format": "int32", + "type": "integer", + "description": "FIPS state information for security domain" + }, + "activationStatus": { + "type": "string", + "description": "status of security domain activation" + } + } + }, + "CloudHsmSku": { + "type": "object", + "description": "Cloud Hsm SKU information", + "properties": { + "family": { + "type": "string", + "description": "Sku family" + }, + "name": { + "type": "string", + "description": "Sku name" + }, + "capacity": { + "format": "int32", + "type": "integer", + "description": "Sku capacity" + } + } + }, + "CloudHsmError": { + "properties": { + "error": { + "$ref": "#/definitions/Error" + } + }, + "description": "The Cloud HSM error details", + "type": "object" + }, + "Error": { + "properties": { + "code": { + "type": "string", + "readOnly": true, + "description": "The error code." + }, + "message": { + "type": "string", + "readOnly": true, + "description": "The error message." + }, + "innererror": { + "$ref": "#/definitions/Error" + } + }, + "type": "object", + "description": "Error details" + }, + "CloudHsmListResult": { + "properties": { + "value": { + "type": "array", + "items": { + "$ref": "#/definitions/CloudHsmResource" + }, + "description": "The list of Cloud HSMs." + }, + "nextLink": { + "type": "string", + "description": "The URL to get the next set of Cloud HSMs." + } + }, + "description": "List of Cloud HSMs", + "type": "object" + }, + "CloudHsmOperation": { + "description": "REST API operation", + "type": "object", + "properties": { + "name": { + "description": "The name of the Cloud HSM Resource Provider Operation.", + "type": "string" + }, + "isDataAction": { + "description": "Gets or sets a value indicating whether it is a data plane action", + "type": "boolean", + "readOnly": true + }, + "display": { + "properties": { + "provider": { + "description": "The Resource Provider of the operation", + "type": "string" }, - "description": "The Cloud HSM error details", - "type": "object" - }, - "Error": { - "properties": { - "code": { - "type": "string", - "readOnly": true, - "description": "The error code." - }, - "message": { - "type": "string", - "readOnly": true, - "description": "The error message." - }, - "innererror": { - "$ref": "#/definitions/Error" - } + "resource": { + "description": "Resource on which the operation is performed.", + "type": "string" }, - "type": "object", - "description": "Error details" - }, - "CloudHsmListResult": { - "properties": { - "value": { - "type": "array", - "items": { - "$ref": "#/definitions/CloudHsmResource" - }, - "description": "The list of Cloud HSMs." - }, - "nextLink": { - "type": "string", - "description": "The URL to get the next set of Cloud HSMs." - } + "operation": { + "description": "Operation type: Read, write, delete, etc.", + "type": "string" }, - "description": "List of Cloud HSMs", - "type": "object" - }, - "CloudHsmOperation": { - "description": "REST API operation", - "type": "object", - "properties": { - "name": { - "description": "The name of the Cloud HSM Resource Provider Operation.", - "type": "string" - }, - "isDataAction": { - "description": "Gets or sets a value indicating whether it is a data plane action", - "type": "boolean", - "readOnly": true - }, - "display": { - "properties": { - "provider": { - "description": "The Resource Provider of the operation", - "type": "string" - }, - "resource": { - "description": "Resource on which the operation is performed.", - "type": "string" - }, - "operation": { - "description": "Operation type: Read, write, delete, etc.", - "type": "string" - }, - "description": { - "description": "The object that represents the operation.", - "type": "string" - } - }, - "description": "The display string.", - "type": "object" - } + "description": { + "description": "The object that represents the operation.", + "type": "string" } + }, + "description": "The display string.", + "type": "object" + } + } + }, + "CloudHsmOperationListResult": { + "type": "object", + "description": "Result of the request to list Cloud HSM Provider operations. It contains a list of operations.", + "properties": { + "value": { + "type": "array", + "items": { + "$ref": "#/definitions/CloudHsmOperation" + }, + "x-ms-identifiers": [], + "description": "List of Cloud HSM Resource Provider operations." }, - "CloudHsmOperationListResult": { - "type": "object", - "description": "Result of the request to list Cloud HSM Provider operations. It contains a list of operations.", - "properties": { - "value": { - "type": "array", - "items": { - "$ref": "#/definitions/CloudHsmOperation" - }, - "x-ms-identifiers": [], - "description": "List of Cloud HSM Resource Provider operations." - }, - "nextLink": { - "type": "string", - "description": "The URL to get the next set of operations." - } - } + "nextLink": { + "type": "string", + "description": "The URL to get the next set of operations." + } + } + }, + "CloudHsmPrivateLinkResourceListResult": { + "properties": { + "value": { + "type": "array", + "description": "Array of private link resources", + "items": { + "$ref": "#/definitions/PrivateLinkResource" + } }, - "CloudHsmPrivateLinkResourceListResult": { - "properties": { - "value": { - "type": "array", - "description": "Array of private link resources", - "items": { - "$ref": "#/definitions/PrivateLinkResource" - } - }, - "nextLink": { - "type": "string", - "description": "The URL to get the next set of operations." - } - }, - "description": "A list of private link resources", - "type": "object" - }, - "PrivateLinkResource": { - "properties": { - "id": { - "type": "string", - "description": "identifier", - "readOnly": true - }, - "name": { - "type": "string", - "description": "Private Endpoint Connection proxy name", - "readOnly": true - }, - "type": { - "type": "string", - "description": "Private Endpoint Connection proxy type", - "readOnly": true - }, - "properties": { - "x-ms-client-flatten": true, - "$ref": "#/definitions/PrivateLinkResourceProperties" - } - }, - "description": "A private link resource", - "type": "object" - }, - "PrivateLinkResourceProperties": { - "properties": { - "groupId": { - "description": "Group identifier of private link resource.", - "type": "string", - "readOnly": true - }, - "requiredMembers": { - "description": "Required member names of private link resource.", - "type": "array", - "items": { - "type": "string" - }, - "readOnly": true - }, - "requiredZoneNames": { - "type": "array", - "items": { - "type": "string" - }, - "description": "Required DNS zone names of the the private link resource." - } - }, - "description": "Properties of a private link resource.", - "type": "object" - }, - "CloudHsmPrivateEndpointConnectionsListResult": { - "properties": { - "value": { - "type": "array", - "items": { - "$ref": "#/definitions/PrivateEndpointConnection" - }, - "description": "The private endpoint connection associated with a cloud HSM Pools." - }, - "nextLink": { - "type": "string", - "description": "The URL to get the next set of cloud HSM Pools." - } - }, - "description": "List of private endpoint connections associated with a cloud HSM Pools", - "type": "object" - }, - "PrivateEndpoint": { - "properties": { - "id": { - "readOnly": true, - "type": "string", - "description": "Full identifier of the private endpoint resource." - } - }, - "description": "Private endpoint object.", - "type": "object" - }, - "PrivateLinkServiceConnectionState": { - "properties": { - "status": { - "$ref": "#/definitions/PrivateEndpointServiceConnectionStatus", - "description": "Indicates whether the connection has been approved, rejected or removed by the key vault owner." - }, - "description": { - "type": "string", - "description": "The reason for approval or rejection." - }, - "actionsRequired": { - "type": "string", - "description": "A message indicating if changes on the service provider require any updates on the consumer.", - "enum": [ - "None" - ], - "x-ms-enum": { - "name": "ActionsRequired", - "modelAsString": true - } - } - }, - "description": "An object that represents the approval state of the private link connection.", - "type": "object" + "nextLink": { + "type": "string", + "description": "The URL to get the next set of operations." + } + }, + "description": "A list of private link resources", + "type": "object" + }, + "PrivateLinkResource": { + "properties": { + "id": { + "type": "string", + "description": "identifier", + "readOnly": true }, - "PrivateEndpointServiceConnectionStatus": { - "type": "string", - "description": "The private endpoint connection status.", - "enum": [ - "Pending", - "Approved", - "Rejected", - "Disconnected" - ], - "x-ms-enum": { - "name": "PrivateEndpointServiceConnectionStatus", - "modelAsString": true - } + "name": { + "type": "string", + "description": "Private Endpoint Connection proxy name", + "readOnly": true }, - "SystemData": { - "description": "Metadata pertaining to creation and last modification of the key vault resource.", - "readOnly": true, - "properties": { - "createdBy": { - "type": "string", - "description": "The identity that created the key vault resource." - }, - "createdByType": { - "description": "The type of identity that created the key vault resource.", - "$ref": "#/definitions/IdentityType" - }, - "createdAt": { - "type": "string", - "format": "date-time", - "description": "The timestamp of the key vault resource creation (UTC)." - }, - "lastModifiedBy": { - "type": "string", - "description": "The identity that last modified the key vault resource." - }, - "lastModifiedByType": { - "description": "The type of identity that last modified the key vault resource.", - "$ref": "#/definitions/IdentityType" - }, - "lastModifiedAt": { - "type": "string", - "format": "date-time", - "description": "The timestamp of the key vault resource last modification (UTC)." - } - }, - "type": "object" + "type": { + "type": "string", + "description": "Private Endpoint Connection proxy type", + "readOnly": true }, - "IdentityType": { - "type": "string", - "description": "The type of identity.", - "enum": [ - "User", - "Application", - "ManagedIdentity", - "Key" - ], - "x-ms-enum": { - "name": "identityType", - "modelAsString": true - } + "properties": { + "x-ms-client-flatten": true, + "$ref": "#/definitions/PrivateLinkResourceProperties" } + }, + "description": "A private link resource", + "type": "object" }, - "parameters": { - "SubscriptionId": { - "name": "subscriptionId", - "in": "path", - "required": true, - "type": "string", - "format": "uuid", - "description": "The ID of the target subscription.", - "minLength": 1 + "PrivateLinkResourceProperties": { + "properties": { + "groupId": { + "description": "Group identifier of private link resource.", + "type": "string", + "readOnly": true }, - "ApiVersion": { - "name": "api-version", - "in": "query", - "required": true, - "type": "string", - "description": "The API version to use for this operation.", - "minLength": 1 + "requiredMembers": { + "description": "Required member names of private link resource.", + "type": "array", + "items": { + "type": "string" + }, + "readOnly": true }, - "ResourceGroupName": { - "name": "resourceGroupName", - "in": "path", - "required": true, - "type": "string", - "description": "The name of the resource group within the user's subscription. The name is case insensitive.", - "pattern": "^[-\\w\\._\\(\\)]+$", - "minLength": 1, - "maxLength": 90, - "x-ms-parameter-location": "method" - }, - "cloudHsmClusterName": { - "name": "cloudHsmClusterName", - "in": "path", - "required": true, - "type": "string", - "description": "The name of the Cloud HSM within the specified resource group. Cloud HSM names must be between 3 and 24 characters in length.", - "pattern": "^[a-zA-Z0-9-]{3,24}$", - "maxLength": 24, - "minLength": 3, - "x-ms-parameter-location": "method" + "requiredZoneNames": { + "type": "array", + "items": { + "type": "string" + }, + "description": "Required DNS zone names of the the private link resource." + } + }, + "description": "Properties of a private link resource.", + "type": "object" + }, + "CloudHsmPrivateEndpointConnectionsListResult": { + "properties": { + "value": { + "type": "array", + "items": { + "$ref": "#/definitions/PrivateEndpointConnection" + }, + "description": "The private endpoint connection associated with a cloud HSM Pools." + }, + "nextLink": { + "type": "string", + "description": "The URL to get the next set of cloud HSM Pools." + } + }, + "description": "List of private endpoint connections associated with a cloud HSM Pools", + "type": "object" + }, + "PrivateEndpoint": { + "properties": { + "id": { + "readOnly": true, + "type": "string", + "description": "Full identifier of the private endpoint resource." + } + }, + "description": "Private endpoint object.", + "type": "object" + }, + "PrivateLinkServiceConnectionState": { + "properties": { + "status": { + "$ref": "#/definitions/PrivateEndpointServiceConnectionStatus", + "description": "Indicates whether the connection has been approved, rejected or removed by the key vault owner." + }, + "description": { + "type": "string", + "description": "The reason for approval or rejection." + }, + "actionsRequired": { + "type": "string", + "description": "A message indicating if changes on the service provider require any updates on the consumer.", + "enum": [ + "None" + ], + "x-ms-enum": { + "name": "ActionsRequired", + "modelAsString": true + } } + }, + "description": "An object that represents the approval state of the private link connection.", + "type": "object" + }, + "PrivateEndpointServiceConnectionStatus": { + "type": "string", + "description": "The private endpoint connection status.", + "enum": [ + "Pending", + "Approved", + "Rejected", + "Disconnected" + ], + "x-ms-enum": { + "name": "PrivateEndpointServiceConnectionStatus", + "modelAsString": true + } + }, + "SystemData": { + "description": "Metadata pertaining to creation and last modification of the key vault resource.", + "readOnly": true, + "properties": { + "createdBy": { + "type": "string", + "description": "The identity that created the key vault resource." + }, + "createdByType": { + "description": "The type of identity that created the key vault resource.", + "$ref": "#/definitions/IdentityType" + }, + "createdAt": { + "type": "string", + "format": "date-time", + "description": "The timestamp of the key vault resource creation (UTC)." + }, + "lastModifiedBy": { + "type": "string", + "description": "The identity that last modified the key vault resource." + }, + "lastModifiedByType": { + "description": "The type of identity that last modified the key vault resource.", + "$ref": "#/definitions/IdentityType" + }, + "lastModifiedAt": { + "type": "string", + "format": "date-time", + "description": "The timestamp of the key vault resource last modification (UTC)." + } + }, + "type": "object" + }, + "IdentityType": { + "type": "string", + "description": "The type of identity.", + "enum": [ + "User", + "Application", + "ManagedIdentity", + "Key" + ], + "x-ms-enum": { + "name": "identityType", + "modelAsString": true + } + } + }, + "parameters": { + "SubscriptionId": { + "name": "subscriptionId", + "in": "path", + "required": true, + "type": "string", + "format": "uuid", + "description": "The ID of the target subscription.", + "minLength": 1 + }, + "ApiVersion": { + "name": "api-version", + "in": "query", + "required": true, + "type": "string", + "description": "The API version to use for this operation.", + "minLength": 1 + }, + "ResourceGroupName": { + "name": "resourceGroupName", + "in": "path", + "required": true, + "type": "string", + "description": "The name of the resource group within the user's subscription. The name is case insensitive.", + "pattern": "^[-\\w\\._\\(\\)]+$", + "minLength": 1, + "maxLength": 90, + "x-ms-parameter-location": "method" + }, + "cloudHsmClusterName": { + "name": "cloudHsmClusterName", + "in": "path", + "required": true, + "type": "string", + "description": "The name of the Cloud HSM within the specified resource group. Cloud HSM names must be between 3 and 24 characters in length.", + "pattern": "^[a-zA-Z0-9-]{3,24}$", + "maxLength": 24, + "minLength": 3, + "x-ms-parameter-location": "method" } + } } From 78a941f1cca0687e2f0bd9206af5077d1a94a9fc Mon Sep 17 00:00:00 2001 From: GoradeAarti Date: Mon, 12 Sep 2022 21:30:08 -0700 Subject: [PATCH 11/69] fixed prettier errors --- ...Cluster_CreateOrUpdate_MaximumSet_Gen.json | 170 +++++++++--------- ...CloudHsmCluster_Delete_MaximumSet_Gen.json | 2 +- .../CloudHsmCluster_Get_MaximumSet_Gen.json | 78 ++++---- ...er_ListByResourceGroup_MaximumSet_Gen.json | 146 +++++++-------- ...ter_ListBySubscription_MaximumSet_Gen.json | 146 +++++++-------- ...CloudHsmCluster_Update_MaximumSet_Gen.json | 162 ++++++++--------- ...pointConnection_Create_MaximumSet_Gen.json | 4 +- ...pointConnection_Delete_MaximumSet_Gen.json | 4 +- ...EndpointConnection_Get_MaximumSet_Gen.json | 8 +- .../Operations_List_MaximumSet_Gen.json | 24 +-- .../Operations_List_MinimumSet_Gen.json | 2 +- ...ListByCloudHsmResource_MaximumSet_Gen.json | 124 ++++++------- ...ListByCloudHsmResource_MaximumSet_Gen.json | 57 +++--- 13 files changed, 467 insertions(+), 460 deletions(-) diff --git a/specification/hardwaresecuritymodules/resource-manager/Microsoft.HardwareSecurityModules/preview/2022-08-31-preview/examples/CloudHsmCluster_CreateOrUpdate_MaximumSet_Gen.json b/specification/hardwaresecuritymodules/resource-manager/Microsoft.HardwareSecurityModules/preview/2022-08-31-preview/examples/CloudHsmCluster_CreateOrUpdate_MaximumSet_Gen.json index cba93421ba39..001600797e72 100644 --- a/specification/hardwaresecuritymodules/resource-manager/Microsoft.HardwareSecurityModules/preview/2022-08-31-preview/examples/CloudHsmCluster_CreateOrUpdate_MaximumSet_Gen.json +++ b/specification/hardwaresecuritymodules/resource-manager/Microsoft.HardwareSecurityModules/preview/2022-08-31-preview/examples/CloudHsmCluster_CreateOrUpdate_MaximumSet_Gen.json @@ -1,92 +1,92 @@ { - "parameters": { - "subscriptionId": "00000000-0000-0000-0000-000000000000", - "resourceGroupName": "rgcloudhsm", - "cloudHsmClusterName": "chsm1", - "api-version": "2022-08-31-preview", - "body": { - "location": "eastus2", - "sku": { - "family": "B", - "name": "Standard_B1" - }, - "tags": { - "Dept": "hsm", - "Environment": "dogfood" - }, - "properties": { - "securityDomain": { - "fipsState": 2 - } - } + "parameters": { + "subscriptionId": "00000000-0000-0000-0000-000000000000", + "resourceGroupName": "rgcloudhsm", + "cloudHsmClusterName": "chsm1", + "api-version": "2022-08-31-preview", + "body": { + "location": "eastus2", + "sku": { + "family": "B", + "name": "Standard_B1" + }, + "tags": { + "Dept": "hsm", + "Environment": "dogfood" + }, + "properties": { + "securityDomain": { + "fipsState": 2 } + } + } + }, + "responses": { + "200": { + "body": { + "name": "chsm1", + "location": "eastus2", + "id": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/rgcloudhsm/providers/Microsoft.HardwareSecurityModules/cloudHSMClusters/chsm1", + "sku": { + "family": "B", + "name": "Standard_B1" + }, + "tags": { + "Dept": "hsm", + "Environment": "dogfood" + }, + "type": "Microsoft.HardwareSecurityModules/cloudHSM", + "systemData": { + "createdBy": "CHsmUser1", + "createdByType": "User", + "createdAt": "2022-09-12T12:00:00.0000000Z", + "lastModifiedBy": "CHsmUser2", + "lastModifiedByType": "User", + "lastModifiedAt": "2022-09-12T12:00:00.0000000Z" + }, + "properties": { + "provisioningState": "Succeeded", + "autoGeneratedDomainNameLabelScope": "TenantReuse", + "securityDomain": { + "fipsState": 2, + "activationStatus": "null" + }, + "hsms": null + } + } }, - "responses": { - "200": { - "body": { - "name": "chsm1", - "location": "eastus2", - "id": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/rgcloudhsm/providers/Microsoft.HardwareSecurityModules/cloudHSMClusters/chsm1", - "sku": { - "family": "B", - "name": "Standard_B1" - }, - "tags": { - "Dept": "hsm", - "Environment": "dogfood" - }, - "type": "Microsoft.HardwareSecurityModules/cloudHSM", - "systemData": { - "createdBy": "CHsmUser1", - "createdByType": "User", - "createdAt": "2022-09-12T12:00:00.0000000Z", - "lastModifiedBy": "CHsmUser2", - "lastModifiedByType": "User", - "lastModifiedAt": "2022-09-12T12:00:00.0000000Z" - }, - "properties": { - "provisioningState": "Succeeded", - "autoGeneratedDomainNameLabelScope": "TenantReuse", - "securityDomain": { - "fipsState": 2, - "activationStatus": "null" - }, - "hsms": null - } - } + "201": { + "body": { + "name": "chsm1", + "location": "eastus2", + "id": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/rgcloudhsm/providers/Microsoft.HardwareSecurityModules/cloudHSMClusters/chsm1", + "sku": { + "family": "B", + "name": "Standard_B1" + }, + "tags": { + "Dept": "hsm", + "Environment": "dogfood" + }, + "type": "Microsoft.HardwareSecurityModules/cloudHSMClusters", + "systemData": { + "createdBy": "CHsmUser1", + "createdByType": "User", + "createdAt": "2022-09-12T12:00:00.0000000Z", + "lastModifiedBy": "CHsmUser2", + "lastModifiedByType": "User", + "lastModifiedAt": "2022-09-12T12:00:00.0000000Z" }, - "201": { - "body": { - "name": "chsm1", - "location": "eastus2", - "id": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/rgcloudhsm/providers/Microsoft.HardwareSecurityModules/cloudHSMClusters/chsm1", - "sku": { - "family": "B", - "name": "Standard_B1" - }, - "tags": { - "Dept": "hsm", - "Environment": "dogfood" - }, - "type": "Microsoft.HardwareSecurityModules/cloudHSMClusters", - "systemData": { - "createdBy": "CHsmUser1", - "createdByType": "User", - "createdAt": "2022-09-12T12:00:00.0000000Z", - "lastModifiedBy": "CHsmUser2", - "lastModifiedByType": "User", - "lastModifiedAt": "2022-09-12T12:00:00.0000000Z" - }, - "properties": { - "provisioningState": "Succeeded", - "autoGeneratedDomainNameLabelScope": "TenantReuse", - "securityDomain": { - "fipsState": 2, - "activationStatus": "null" - }, - "hsms": null - } - } + "properties": { + "provisioningState": "Succeeded", + "autoGeneratedDomainNameLabelScope": "TenantReuse", + "securityDomain": { + "fipsState": 2, + "activationStatus": "null" + }, + "hsms": null } + } } + } } diff --git a/specification/hardwaresecuritymodules/resource-manager/Microsoft.HardwareSecurityModules/preview/2022-08-31-preview/examples/CloudHsmCluster_Delete_MaximumSet_Gen.json b/specification/hardwaresecuritymodules/resource-manager/Microsoft.HardwareSecurityModules/preview/2022-08-31-preview/examples/CloudHsmCluster_Delete_MaximumSet_Gen.json index ed3b109ad931..1c71d0869b65 100644 --- a/specification/hardwaresecuritymodules/resource-manager/Microsoft.HardwareSecurityModules/preview/2022-08-31-preview/examples/CloudHsmCluster_Delete_MaximumSet_Gen.json +++ b/specification/hardwaresecuritymodules/resource-manager/Microsoft.HardwareSecurityModules/preview/2022-08-31-preview/examples/CloudHsmCluster_Delete_MaximumSet_Gen.json @@ -14,4 +14,4 @@ }, "204": {} } -} \ No newline at end of file +} diff --git a/specification/hardwaresecuritymodules/resource-manager/Microsoft.HardwareSecurityModules/preview/2022-08-31-preview/examples/CloudHsmCluster_Get_MaximumSet_Gen.json b/specification/hardwaresecuritymodules/resource-manager/Microsoft.HardwareSecurityModules/preview/2022-08-31-preview/examples/CloudHsmCluster_Get_MaximumSet_Gen.json index c259834f9271..991e7a6d0c1a 100644 --- a/specification/hardwaresecuritymodules/resource-manager/Microsoft.HardwareSecurityModules/preview/2022-08-31-preview/examples/CloudHsmCluster_Get_MaximumSet_Gen.json +++ b/specification/hardwaresecuritymodules/resource-manager/Microsoft.HardwareSecurityModules/preview/2022-08-31-preview/examples/CloudHsmCluster_Get_MaximumSet_Gen.json @@ -1,43 +1,43 @@ { - "parameters": { - "subscriptionId": "00000000-0000-0000-0000-000000000000", - "resourceGroupName": "rgcloudhsm", - "cloudHsmClusterName": "chsm1", - "api-version": "2022-08-31-preview" - }, - "responses": { - "200": { - "body": { - "name": "chsm1", - "location": "eastus2", - "id": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/rgcloudhsm/providers/Microsoft.HardwareSecurityModules/cloudHSMClusters/chsm1", - "sku": { - "family": "B", - "name": "Standard_B1" - }, - "tags": { - "Dept": "hsm", - "Environment": "dogfood" - }, - "type": "Microsoft.HardwareSecurityModules/cloudHSMClusters", - "systemData": { - "createdBy": "CHsmUser1", - "createdByType": "User", - "createdAt": "2022-09-12T12:00:00.0000000Z", - "lastModifiedBy": "CHsmUser2", - "lastModifiedByType": "User", - "lastModifiedAt": "2022-09-12T12:00:00.0000000Z" - }, - "properties": { - "provisioningState": "Succeeded", - "autoGeneratedDomainNameLabelScope": "TenantReuse", - "securityDomain": { - "fipsState": 2, - "activationStatus": "null" - }, - "hsms": null - } - } + "parameters": { + "subscriptionId": "00000000-0000-0000-0000-000000000000", + "resourceGroupName": "rgcloudhsm", + "cloudHsmClusterName": "chsm1", + "api-version": "2022-08-31-preview" + }, + "responses": { + "200": { + "body": { + "name": "chsm1", + "location": "eastus2", + "id": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/rgcloudhsm/providers/Microsoft.HardwareSecurityModules/cloudHSMClusters/chsm1", + "sku": { + "family": "B", + "name": "Standard_B1" + }, + "tags": { + "Dept": "hsm", + "Environment": "dogfood" + }, + "type": "Microsoft.HardwareSecurityModules/cloudHSMClusters", + "systemData": { + "createdBy": "CHsmUser1", + "createdByType": "User", + "createdAt": "2022-09-12T12:00:00.0000000Z", + "lastModifiedBy": "CHsmUser2", + "lastModifiedByType": "User", + "lastModifiedAt": "2022-09-12T12:00:00.0000000Z" + }, + "properties": { + "provisioningState": "Succeeded", + "autoGeneratedDomainNameLabelScope": "TenantReuse", + "securityDomain": { + "fipsState": 2, + "activationStatus": "null" + }, + "hsms": null } + } } + } } diff --git a/specification/hardwaresecuritymodules/resource-manager/Microsoft.HardwareSecurityModules/preview/2022-08-31-preview/examples/CloudHsmCluster_ListByResourceGroup_MaximumSet_Gen.json b/specification/hardwaresecuritymodules/resource-manager/Microsoft.HardwareSecurityModules/preview/2022-08-31-preview/examples/CloudHsmCluster_ListByResourceGroup_MaximumSet_Gen.json index fc7bcc08db66..c65ee47ffeca 100644 --- a/specification/hardwaresecuritymodules/resource-manager/Microsoft.HardwareSecurityModules/preview/2022-08-31-preview/examples/CloudHsmCluster_ListByResourceGroup_MaximumSet_Gen.json +++ b/specification/hardwaresecuritymodules/resource-manager/Microsoft.HardwareSecurityModules/preview/2022-08-31-preview/examples/CloudHsmCluster_ListByResourceGroup_MaximumSet_Gen.json @@ -1,76 +1,78 @@ { - "parameters": { - "subscriptionId": "00000000-0000-0000-0000-000000000000", - "resourceGroupName": "rgcloudhsm", - "api-version": "2022-08-31-preview" - }, - "responses": { - "200": { - "body": { - "value": [{ - "name": "chsm1", - "location": "eastus2", - "id": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/rgcloudhsm/providers/Microsoft.HardwareSecurityModules/cloudHSMClusters/chsm1", - "sku": { - "family": "B", - "name": "Standard_B1" - }, - "tags": { - "Dept": "hsm", - "Environment": "dogfood" - }, - "type": "Microsoft.HardwareSecurityModules/cloudHSMClusters", - "systemData": { - "createdBy": "CHsmUser1", - "createdByType": "User", - "createdAt": "2022-09-12T12:00:00.0000000Z", - "lastModifiedBy": "CHsmUser2", - "lastModifiedByType": "User", - "lastModifiedAt": "2022-09-12T12:00:00.0000000Z" - }, - "properties": { - "provisioningState": "Succeeded", - "autoGeneratedDomainNameLabelScope": "TenantReuse", - "securityDomain": { - "fipsState": 2, - "activationStatus": "null" - }, - "hsms": null - } - }, { - "name": "chsm2", - "location": "eastus2", - "id": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/rgcloudhsm/providers/Microsoft.HardwareSecurityModules/cloudHSMClusters/chsm2", - "sku": { - "family": "B", - "name": "Standard_B1" - }, - "tags": { - "Dept": "hsm", - "Environment": "dogfood" - }, - "type": "Microsoft.HardwareSecurityModules/cloudHSMClusters", - "systemData": { - "createdBy": "CHsmUser1", - "createdByType": "User", - "createdAt": "2022-09-12T12:00:00.0000000Z", - "lastModifiedBy": "CHsmUser2", - "lastModifiedByType": "User", - "lastModifiedAt": "2022-09-12T12:00:00.0000000Z" - }, - "properties": { - "provisioningState": "Succeeded", - "autoGeneratedDomainNameLabelScope": "TenantReuse", - "securityDomain": { - "fipsState": 2, - "activationStatus": "null" - }, - "hsms": null - } - } - ], - "nextLink": "https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/rgcloudhsm/providers/Microsoft.HardwareSecurityModules/cloudHSMClusters?api-version=2022-03-31&$skiptoken=dmF1bHQtcGVza3ktanVyeS03MzA3Ng==" + "parameters": { + "subscriptionId": "00000000-0000-0000-0000-000000000000", + "resourceGroupName": "rgcloudhsm", + "api-version": "2022-08-31-preview" + }, + "responses": { + "200": { + "body": { + "value": [ + { + "name": "chsm1", + "location": "eastus2", + "id": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/rgcloudhsm/providers/Microsoft.HardwareSecurityModules/cloudHSMClusters/chsm1", + "sku": { + "family": "B", + "name": "Standard_B1" + }, + "tags": { + "Dept": "hsm", + "Environment": "dogfood" + }, + "type": "Microsoft.HardwareSecurityModules/cloudHSMClusters", + "systemData": { + "createdBy": "CHsmUser1", + "createdByType": "User", + "createdAt": "2022-09-12T12:00:00.0000000Z", + "lastModifiedBy": "CHsmUser2", + "lastModifiedByType": "User", + "lastModifiedAt": "2022-09-12T12:00:00.0000000Z" + }, + "properties": { + "provisioningState": "Succeeded", + "autoGeneratedDomainNameLabelScope": "TenantReuse", + "securityDomain": { + "fipsState": 2, + "activationStatus": "null" + }, + "hsms": null } - } + }, + { + "name": "chsm2", + "location": "eastus2", + "id": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/rgcloudhsm/providers/Microsoft.HardwareSecurityModules/cloudHSMClusters/chsm2", + "sku": { + "family": "B", + "name": "Standard_B1" + }, + "tags": { + "Dept": "hsm", + "Environment": "dogfood" + }, + "type": "Microsoft.HardwareSecurityModules/cloudHSMClusters", + "systemData": { + "createdBy": "CHsmUser1", + "createdByType": "User", + "createdAt": "2022-09-12T12:00:00.0000000Z", + "lastModifiedBy": "CHsmUser2", + "lastModifiedByType": "User", + "lastModifiedAt": "2022-09-12T12:00:00.0000000Z" + }, + "properties": { + "provisioningState": "Succeeded", + "autoGeneratedDomainNameLabelScope": "TenantReuse", + "securityDomain": { + "fipsState": 2, + "activationStatus": "null" + }, + "hsms": null + } + } + ], + "nextLink": "https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/rgcloudhsm/providers/Microsoft.HardwareSecurityModules/cloudHSMClusters?api-version=2022-03-31&$skiptoken=dmF1bHQtcGVza3ktanVyeS03MzA3Ng==" + } } + } } diff --git a/specification/hardwaresecuritymodules/resource-manager/Microsoft.HardwareSecurityModules/preview/2022-08-31-preview/examples/CloudHsmCluster_ListBySubscription_MaximumSet_Gen.json b/specification/hardwaresecuritymodules/resource-manager/Microsoft.HardwareSecurityModules/preview/2022-08-31-preview/examples/CloudHsmCluster_ListBySubscription_MaximumSet_Gen.json index 0a7b003a95ad..8975c109f2cf 100644 --- a/specification/hardwaresecuritymodules/resource-manager/Microsoft.HardwareSecurityModules/preview/2022-08-31-preview/examples/CloudHsmCluster_ListBySubscription_MaximumSet_Gen.json +++ b/specification/hardwaresecuritymodules/resource-manager/Microsoft.HardwareSecurityModules/preview/2022-08-31-preview/examples/CloudHsmCluster_ListBySubscription_MaximumSet_Gen.json @@ -1,76 +1,78 @@ { - "parameters": { - "subscriptionId": "00000000-0000-0000-0000-000000000000", - "$skiptoken": "arqhga", - "api-version": "2022-08-31-preview" - }, - "responses": { - "200": { - "body": { - "value": [{ - "name": "chsm1", - "location": "eastus2", - "id": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/rgcloudhsm/providers/Microsoft.HardwareSecurityModules/cloudHSMClusters/chsm1", - "sku": { - "family": "B", - "name": "Standard_B1" - }, - "tags": { - "Dept": "hsm", - "Environment": "dogfood" - }, - "type": "Microsoft.HardwareSecurityModules/cloudHSMClusters", - "systemData": { - "createdBy": "CHsmUser1", - "createdByType": "User", - "createdAt": "2022-09-12T12:00:00.0000000Z", - "lastModifiedBy": "CHsmUser2", - "lastModifiedByType": "User", - "lastModifiedAt": "2022-09-12T12:00:00.0000000Z" - }, - "properties": { - "provisioningState": "Succeeded", - "autoGeneratedDomainNameLabelScope": "TenantReuse", - "securityDomain": { - "fipsState": 2, - "activationStatus": "null" - }, - "hsms": null - } - }, { - "name": "chsm2", - "location": "eastus2", - "id": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/rgcloudhsm/providers/Microsoft.HardwareSecurityModules/cloudHSMClusters/chsm2", - "sku": { - "family": "B", - "name": "Standard_B1" - }, - "tags": { - "Dept": "hsm", - "Environment": "dogfood" - }, - "type": "Microsoft.HardwareSecurityModules/cloudHSMClusters", - "systemData": { - "createdBy": "CHsmUser1", - "createdByType": "User", - "createdAt": "2022-09-12T12:00:00.0000000Z", - "lastModifiedBy": "CHsmUser2", - "lastModifiedByType": "User", - "lastModifiedAt": "2022-09-12T12:00:00.0000000Z" - }, - "properties": { - "provisioningState": "Succeeded", - "autoGeneratedDomainNameLabelScope": "TenantReuse", - "securityDomain": { - "fipsState": 2, - "activationStatus": "null" - }, - "hsms": null - } - } - ], - "nextLink": "https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.HardwareSecurityModules/cloudHSMClusters?api-version=2022-07-01&$skiptoken=dmF1bHQtcGVza3ktanVyeS03MzA3Ng==" + "parameters": { + "subscriptionId": "00000000-0000-0000-0000-000000000000", + "$skiptoken": "arqhga", + "api-version": "2022-08-31-preview" + }, + "responses": { + "200": { + "body": { + "value": [ + { + "name": "chsm1", + "location": "eastus2", + "id": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/rgcloudhsm/providers/Microsoft.HardwareSecurityModules/cloudHSMClusters/chsm1", + "sku": { + "family": "B", + "name": "Standard_B1" + }, + "tags": { + "Dept": "hsm", + "Environment": "dogfood" + }, + "type": "Microsoft.HardwareSecurityModules/cloudHSMClusters", + "systemData": { + "createdBy": "CHsmUser1", + "createdByType": "User", + "createdAt": "2022-09-12T12:00:00.0000000Z", + "lastModifiedBy": "CHsmUser2", + "lastModifiedByType": "User", + "lastModifiedAt": "2022-09-12T12:00:00.0000000Z" + }, + "properties": { + "provisioningState": "Succeeded", + "autoGeneratedDomainNameLabelScope": "TenantReuse", + "securityDomain": { + "fipsState": 2, + "activationStatus": "null" + }, + "hsms": null } - } + }, + { + "name": "chsm2", + "location": "eastus2", + "id": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/rgcloudhsm/providers/Microsoft.HardwareSecurityModules/cloudHSMClusters/chsm2", + "sku": { + "family": "B", + "name": "Standard_B1" + }, + "tags": { + "Dept": "hsm", + "Environment": "dogfood" + }, + "type": "Microsoft.HardwareSecurityModules/cloudHSMClusters", + "systemData": { + "createdBy": "CHsmUser1", + "createdByType": "User", + "createdAt": "2022-09-12T12:00:00.0000000Z", + "lastModifiedBy": "CHsmUser2", + "lastModifiedByType": "User", + "lastModifiedAt": "2022-09-12T12:00:00.0000000Z" + }, + "properties": { + "provisioningState": "Succeeded", + "autoGeneratedDomainNameLabelScope": "TenantReuse", + "securityDomain": { + "fipsState": 2, + "activationStatus": "null" + }, + "hsms": null + } + } + ], + "nextLink": "https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.HardwareSecurityModules/cloudHSMClusters?api-version=2022-07-01&$skiptoken=dmF1bHQtcGVza3ktanVyeS03MzA3Ng==" + } } + } } diff --git a/specification/hardwaresecuritymodules/resource-manager/Microsoft.HardwareSecurityModules/preview/2022-08-31-preview/examples/CloudHsmCluster_Update_MaximumSet_Gen.json b/specification/hardwaresecuritymodules/resource-manager/Microsoft.HardwareSecurityModules/preview/2022-08-31-preview/examples/CloudHsmCluster_Update_MaximumSet_Gen.json index 5468ddcdabd3..03074a4922a6 100644 --- a/specification/hardwaresecuritymodules/resource-manager/Microsoft.HardwareSecurityModules/preview/2022-08-31-preview/examples/CloudHsmCluster_Update_MaximumSet_Gen.json +++ b/specification/hardwaresecuritymodules/resource-manager/Microsoft.HardwareSecurityModules/preview/2022-08-31-preview/examples/CloudHsmCluster_Update_MaximumSet_Gen.json @@ -1,88 +1,88 @@ { - "parameters": { - "subscriptionId": "00000000-0000-0000-0000-000000000000", - "resourceGroupName": "rgcloudhsm", - "cloudHsmClusterName": "chsm1", - "api-version": "2022-08-31-preview", - "body": { - "tags": { - "Dept": "hsm", - "Environment": "dogfood", - "Slice": "A" - } + "parameters": { + "subscriptionId": "00000000-0000-0000-0000-000000000000", + "resourceGroupName": "rgcloudhsm", + "cloudHsmClusterName": "chsm1", + "api-version": "2022-08-31-preview", + "body": { + "tags": { + "Dept": "hsm", + "Environment": "dogfood", + "Slice": "A" + } + } + }, + "responses": { + "200": { + "body": { + "name": "chsm1", + "location": "eastus2", + "id": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/rgcloudhsm/providers/Microsoft.HardwareSecurityModules/cloudHSMClusters/chsm1", + "sku": { + "family": "B", + "name": "Standard_B1" + }, + "tags": { + "Dept": "hsm", + "Environment": "dogfood", + "Slice": "A" + }, + "type": "Microsoft.HardwareSecurityModules/cloudHSMClusters", + "systemData": { + "createdBy": "CHsmUser1", + "createdByType": "User", + "createdAt": "2022-09-12T12:00:00.0000000Z", + "lastModifiedBy": "CHsmUser2", + "lastModifiedByType": "User", + "lastModifiedAt": "2022-09-12T12:00:00.0000000Z" + }, + "properties": { + "provisioningState": "Succeeded", + "autoGeneratedDomainNameLabelScope": "TenantReuse", + "securityDomain": { + "fipsState": 2, + "activationStatus": "null" + }, + "hsms": null } + } }, - "responses": { - "200": { - "body": { - "name": "chsm1", - "location": "eastus2", - "id": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/rgcloudhsm/providers/Microsoft.HardwareSecurityModules/cloudHSMClusters/chsm1", - "sku": { - "family": "B", - "name": "Standard_B1" - }, - "tags": { - "Dept": "hsm", - "Environment": "dogfood", - "Slice": "A" - }, - "type": "Microsoft.HardwareSecurityModules/cloudHSMClusters", - "systemData": { - "createdBy": "CHsmUser1", - "createdByType": "User", - "createdAt": "2022-09-12T12:00:00.0000000Z", - "lastModifiedBy": "CHsmUser2", - "lastModifiedByType": "User", - "lastModifiedAt": "2022-09-12T12:00:00.0000000Z" - }, - "properties": { - "provisioningState": "Succeeded", - "autoGeneratedDomainNameLabelScope": "TenantReuse", - "securityDomain": { - "fipsState": 2, - "activationStatus": "null" - }, - "hsms": null - } - } + "202": { + "headers": { + "Location": "https://some.endpoint.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/rgcloudhsm/providers/Microsoft.HardwareSecurityModules/cloudHSMClusters/chsm1?api-version=2022-07-01&kv-operation=abJjb2RkIjoiAGVsZXRlTWFuYWdlZEhzbUFzeW5jYm9" + }, + "body": { + "name": "chsm1", + "location": "eastus2", + "id": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/rgcloudhsm/providers/Microsoft.HardwareSecurityModules/cloudHSMClusters/chsm1", + "sku": { + "family": "B", + "name": "Standard_B1" + }, + "tags": { + "Dept": "hsm", + "Environment": "dogfood", + "Slice": "A" + }, + "type": "Microsoft.HardwareSecurityModules/cloudHSMClusters", + "systemData": { + "createdBy": "CHsmUser1", + "createdByType": "User", + "createdAt": "2022-09-12T12:00:00.0000000Z", + "lastModifiedBy": "CHsmUser2", + "lastModifiedByType": "User", + "lastModifiedAt": "2022-09-12T12:00:00.0000000Z" }, - "202": { - "headers": { - "Location": "https://some.endpoint.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/rgcloudhsm/providers/Microsoft.HardwareSecurityModules/cloudHSMClusters/chsm1?api-version=2022-07-01&kv-operation=abJjb2RkIjoiAGVsZXRlTWFuYWdlZEhzbUFzeW5jYm9" - }, - "body": { - "name": "chsm1", - "location": "eastus2", - "id": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/rgcloudhsm/providers/Microsoft.HardwareSecurityModules/cloudHSMClusters/chsm1", - "sku": { - "family": "B", - "name": "Standard_B1" - }, - "tags": { - "Dept": "hsm", - "Environment": "dogfood", - "Slice": "A" - }, - "type": "Microsoft.HardwareSecurityModules/cloudHSMClusters", - "systemData": { - "createdBy": "CHsmUser1", - "createdByType": "User", - "createdAt": "2022-09-12T12:00:00.0000000Z", - "lastModifiedBy": "CHsmUser2", - "lastModifiedByType": "User", - "lastModifiedAt": "2022-09-12T12:00:00.0000000Z" - }, - "properties": { - "provisioningState": "Succeeded", - "autoGeneratedDomainNameLabelScope": "TenantReuse", - "securityDomain": { - "fipsState": 2, - "activationStatus": "null" - }, - "hsms": null - } - } + "properties": { + "provisioningState": "Succeeded", + "autoGeneratedDomainNameLabelScope": "TenantReuse", + "securityDomain": { + "fipsState": 2, + "activationStatus": "null" + }, + "hsms": null } + } } + } } diff --git a/specification/hardwaresecuritymodules/resource-manager/Microsoft.HardwareSecurityModules/preview/2022-08-31-preview/examples/CloudHsmPrivateEndpointConnection_Create_MaximumSet_Gen.json b/specification/hardwaresecuritymodules/resource-manager/Microsoft.HardwareSecurityModules/preview/2022-08-31-preview/examples/CloudHsmPrivateEndpointConnection_Create_MaximumSet_Gen.json index c703583ba47e..dfb55e5ddb1b 100644 --- a/specification/hardwaresecuritymodules/resource-manager/Microsoft.HardwareSecurityModules/preview/2022-08-31-preview/examples/CloudHsmPrivateEndpointConnection_Create_MaximumSet_Gen.json +++ b/specification/hardwaresecuritymodules/resource-manager/Microsoft.HardwareSecurityModules/preview/2022-08-31-preview/examples/CloudHsmPrivateEndpointConnection_Create_MaximumSet_Gen.json @@ -20,7 +20,7 @@ "id": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/rgcloudhsm/providers/Microsoft.HardwareSecurityModules/cloudHSMClusters/chsm1/privateEndpointConnections/sample-pec", "name": "sample-pec", "type": "Microsoft.HardwareSecurityModules/cloudHSMClusters/privateEndpointConnections", - "systemData": { + "systemData": { "createdBy": "User1", "createdByType": "User", "createdAt": "2020-01-01T12:00:00.0000000Z", @@ -42,4 +42,4 @@ } } } -} \ No newline at end of file +} diff --git a/specification/hardwaresecuritymodules/resource-manager/Microsoft.HardwareSecurityModules/preview/2022-08-31-preview/examples/CloudHsmPrivateEndpointConnection_Delete_MaximumSet_Gen.json b/specification/hardwaresecuritymodules/resource-manager/Microsoft.HardwareSecurityModules/preview/2022-08-31-preview/examples/CloudHsmPrivateEndpointConnection_Delete_MaximumSet_Gen.json index 37c4a3969678..a8c75513dcd7 100644 --- a/specification/hardwaresecuritymodules/resource-manager/Microsoft.HardwareSecurityModules/preview/2022-08-31-preview/examples/CloudHsmPrivateEndpointConnection_Delete_MaximumSet_Gen.json +++ b/specification/hardwaresecuritymodules/resource-manager/Microsoft.HardwareSecurityModules/preview/2022-08-31-preview/examples/CloudHsmPrivateEndpointConnection_Delete_MaximumSet_Gen.json @@ -9,10 +9,10 @@ "responses": { "200": { "body": { - "id": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/rgcloudhsm/providers/Microsoft.HardwareSecurityModules/cloudHSMClusters/chsm1/privateEndpointConnections/sample-pec", + "id": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/rgcloudhsm/providers/Microsoft.HardwareSecurityModules/cloudHSMClusters/chsm1/privateEndpointConnections/sample-pec", "name": "sample-pec", "type": "Microsoft.HardwareSecurityModules/cloudHSMClusters/privateEndpointConnections", - "systemData": { + "systemData": { "createdBy": "User1", "createdByType": "User", "createdAt": "2020-01-01T12:00:00.0000000Z", diff --git a/specification/hardwaresecuritymodules/resource-manager/Microsoft.HardwareSecurityModules/preview/2022-08-31-preview/examples/CloudHsmPrivateEndpointConnection_Get_MaximumSet_Gen.json b/specification/hardwaresecuritymodules/resource-manager/Microsoft.HardwareSecurityModules/preview/2022-08-31-preview/examples/CloudHsmPrivateEndpointConnection_Get_MaximumSet_Gen.json index cf0be06278da..2224e3daa3f2 100644 --- a/specification/hardwaresecuritymodules/resource-manager/Microsoft.HardwareSecurityModules/preview/2022-08-31-preview/examples/CloudHsmPrivateEndpointConnection_Get_MaximumSet_Gen.json +++ b/specification/hardwaresecuritymodules/resource-manager/Microsoft.HardwareSecurityModules/preview/2022-08-31-preview/examples/CloudHsmPrivateEndpointConnection_Get_MaximumSet_Gen.json @@ -12,7 +12,7 @@ "id": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/rgcloudhsm/providers/Microsoft.HardwareSecurityModules/cloudHSMClusters/chsm1/privateEndpointConnections/sample-pec", "name": "sample-pec", "type": "Microsoft.HardwareSecurityModules/cloudHSMClusters/privateEndpointConnections", - "systemData": { + "systemData": { "createdBy": "User1", "createdByType": "User", "createdAt": "2020-01-01T12:00:00.0000000Z", @@ -34,7 +34,7 @@ } }, "204": { - "headers": {} - } + "headers": {} + } } -} \ No newline at end of file +} diff --git a/specification/hardwaresecuritymodules/resource-manager/Microsoft.HardwareSecurityModules/preview/2022-08-31-preview/examples/Operations_List_MaximumSet_Gen.json b/specification/hardwaresecuritymodules/resource-manager/Microsoft.HardwareSecurityModules/preview/2022-08-31-preview/examples/Operations_List_MaximumSet_Gen.json index 3dfa164a6232..b3fccd3c4924 100644 --- a/specification/hardwaresecuritymodules/resource-manager/Microsoft.HardwareSecurityModules/preview/2022-08-31-preview/examples/Operations_List_MaximumSet_Gen.json +++ b/specification/hardwaresecuritymodules/resource-manager/Microsoft.HardwareSecurityModules/preview/2022-08-31-preview/examples/Operations_List_MaximumSet_Gen.json @@ -36,7 +36,7 @@ }, "isDataAction": false }, - { + { "name": "Microsoft.HardwareSecurityModules/register/action", "display": { "provider": "Microsoft HardwareSecurityModules", @@ -66,7 +66,7 @@ }, "isDataAction": false }, - { + { "name": "Microsoft.HardwareSecurityModules/locations/cloudHsmOperationResults/read", "display": { "provider": "Microsoft HardwareSecurityModules", @@ -76,7 +76,7 @@ }, "isDataAction": false }, - { + { "name": "Microsoft.HardwareSecurityModules/cloudHSMClusters/privateLinkResources/read", "display": { "provider": "Microsoft HardwareSecurityModules", @@ -86,7 +86,7 @@ }, "isDataAction": false }, - { + { "name": "Microsoft.HardwareSecurityModules/cloudHSMClusters/PrivateEndpointConnectionsApproval/action", "display": { "provider": "Microsoft HardwareSecurityModules", @@ -96,7 +96,7 @@ }, "isDataAction": false }, - { + { "name": "Microsoft.HardwareSecurityModules/cloudHSMClusters/privateEndpointConnectionProxies/read", "display": { "provider": "Microsoft HardwareSecurityModules", @@ -106,7 +106,7 @@ }, "isDataAction": false }, - { + { "name": "Microsoft.HardwareSecurityModules/cloudHSMClusters/privateEndpointConnectionProxies/write", "display": { "provider": "Microsoft HardwareSecurityModules", @@ -116,7 +116,7 @@ }, "isDataAction": false }, - { + { "name": "Microsoft.HardwareSecurityModules/cloudHSMClusters/privateEndpointConnectionProxies/delete", "display": { "provider": "Microsoft HardwareSecurityModules", @@ -126,7 +126,7 @@ }, "isDataAction": false }, - { + { "name": "Microsoft.HardwareSecurityModules/cloudHSMClusters/privateEndpointConnectionProxies/validate/action", "display": { "provider": "Microsoft HardwareSecurityModules", @@ -136,7 +136,7 @@ }, "isDataAction": false }, - { + { "name": "Microsoft.HardwareSecurityModules/cloudHSMClusters/privateEndpointConnections/read", "display": { "provider": "Microsoft HardwareSecurityModules", @@ -146,7 +146,7 @@ }, "isDataAction": false }, - { + { "name": "Microsoft.HardwareSecurityModules/cloudHSMClusters/privateEndpointConnections/write", "display": { "provider": "Microsoft HardwareSecurityModules", @@ -156,7 +156,7 @@ }, "isDataAction": false }, - { + { "name": "Microsoft.HardwareSecurityModules/cloudHSMClusters/privateEndpointConnections/delete", "display": { "provider": "Microsoft HardwareSecurityModules", @@ -171,4 +171,4 @@ } } } -} \ No newline at end of file +} diff --git a/specification/hardwaresecuritymodules/resource-manager/Microsoft.HardwareSecurityModules/preview/2022-08-31-preview/examples/Operations_List_MinimumSet_Gen.json b/specification/hardwaresecuritymodules/resource-manager/Microsoft.HardwareSecurityModules/preview/2022-08-31-preview/examples/Operations_List_MinimumSet_Gen.json index 093029c20faa..d9142e2a25f7 100644 --- a/specification/hardwaresecuritymodules/resource-manager/Microsoft.HardwareSecurityModules/preview/2022-08-31-preview/examples/Operations_List_MinimumSet_Gen.json +++ b/specification/hardwaresecuritymodules/resource-manager/Microsoft.HardwareSecurityModules/preview/2022-08-31-preview/examples/Operations_List_MinimumSet_Gen.json @@ -7,4 +7,4 @@ "body": {} } } -} \ No newline at end of file +} diff --git a/specification/hardwaresecuritymodules/resource-manager/Microsoft.HardwareSecurityModules/preview/2022-08-31-preview/examples/PrivateEndpointConnections_ListByCloudHsmResource_MaximumSet_Gen.json b/specification/hardwaresecuritymodules/resource-manager/Microsoft.HardwareSecurityModules/preview/2022-08-31-preview/examples/PrivateEndpointConnections_ListByCloudHsmResource_MaximumSet_Gen.json index 4be52b582d43..7ffa2782bfa7 100644 --- a/specification/hardwaresecuritymodules/resource-manager/Microsoft.HardwareSecurityModules/preview/2022-08-31-preview/examples/PrivateEndpointConnections_ListByCloudHsmResource_MaximumSet_Gen.json +++ b/specification/hardwaresecuritymodules/resource-manager/Microsoft.HardwareSecurityModules/preview/2022-08-31-preview/examples/PrivateEndpointConnections_ListByCloudHsmResource_MaximumSet_Gen.json @@ -1,65 +1,67 @@ { - "parameters": { - "subscriptionId": "00000000-0000-0000-0000-000000000000", - "resourceGroupName": "rgcloudhsm", - "cloudHsmClusterName": "chsm1", - "api-version": "2022-08-31-preview" - }, - "responses": { - "200": { - "body": { - "value": [{ - "id": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/rgcloudhsm/providers/Microsoft.HardwareSecurityModules/cloudHSMClusters/chsm1/privateEndpointConnections/sample-pec1", - "name": "chsm1", - "type": "Microsoft.HardwareSecurityModules/cloudHSMClusters/privateEndpointConnections", - "etag": "", - "systemData": { - "createdBy": "User1", - "createdByType": "User", - "createdAt": "2020-01-01T12:00:00.0000000Z", - "lastModifiedBy": "User2", - "lastModifiedByType": "User", - "lastModifiedAt": "2020-01-01T12:00:00.0000000Z" - }, - "properties": { - "provisioningState": "Succeeded", - "privateEndpoint": { - "id": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/rgcloudhsm/providers/Microsoft.Network/privateEndpoints/sample-pec1" - }, - "privateLinkServiceConnectionState": { - "status": "Approved", - "description": "This was automatically approved by user1234@contoso.com", - "actionsRequired": "None" - } - } - }, { - "id": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/rgcloudhsm/providers/Microsoft.HardwareSecurityModules/cloudHSMClusters/chsm1/privateEndpointConnections/sample-pec2", - "name": "chsm2", - "type": "Microsoft.HardwareSecurityModules/cloudHSMClusters/privateEndpointConnections", - "etag": "", - "systemData": { - "createdBy": "User1", - "createdByType": "User", - "createdAt": "2020-01-01T12:00:00.0000000Z", - "lastModifiedBy": "User2", - "lastModifiedByType": "User", - "lastModifiedAt": "2020-01-01T12:00:00.0000000Z" - }, - "properties": { - "provisioningState": "Succeeded", - "privateEndpoint": { - "id": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/rgcloudhsm/providers/Microsoft.Network/privateEndpoints/sample-pec2" - }, - "privateLinkServiceConnectionState": { - "status": "Approved", - "description": "This was automatically approved by user1234@contoso.com", - "actionsRequired": "None" - } - } - } - ], - "nextLink": "null" + "parameters": { + "subscriptionId": "00000000-0000-0000-0000-000000000000", + "resourceGroupName": "rgcloudhsm", + "cloudHsmClusterName": "chsm1", + "api-version": "2022-08-31-preview" + }, + "responses": { + "200": { + "body": { + "value": [ + { + "id": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/rgcloudhsm/providers/Microsoft.HardwareSecurityModules/cloudHSMClusters/chsm1/privateEndpointConnections/sample-pec1", + "name": "chsm1", + "type": "Microsoft.HardwareSecurityModules/cloudHSMClusters/privateEndpointConnections", + "etag": "", + "systemData": { + "createdBy": "User1", + "createdByType": "User", + "createdAt": "2020-01-01T12:00:00.0000000Z", + "lastModifiedBy": "User2", + "lastModifiedByType": "User", + "lastModifiedAt": "2020-01-01T12:00:00.0000000Z" + }, + "properties": { + "provisioningState": "Succeeded", + "privateEndpoint": { + "id": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/rgcloudhsm/providers/Microsoft.Network/privateEndpoints/sample-pec1" + }, + "privateLinkServiceConnectionState": { + "status": "Approved", + "description": "This was automatically approved by user1234@contoso.com", + "actionsRequired": "None" + } } - } + }, + { + "id": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/rgcloudhsm/providers/Microsoft.HardwareSecurityModules/cloudHSMClusters/chsm1/privateEndpointConnections/sample-pec2", + "name": "chsm2", + "type": "Microsoft.HardwareSecurityModules/cloudHSMClusters/privateEndpointConnections", + "etag": "", + "systemData": { + "createdBy": "User1", + "createdByType": "User", + "createdAt": "2020-01-01T12:00:00.0000000Z", + "lastModifiedBy": "User2", + "lastModifiedByType": "User", + "lastModifiedAt": "2020-01-01T12:00:00.0000000Z" + }, + "properties": { + "provisioningState": "Succeeded", + "privateEndpoint": { + "id": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/rgcloudhsm/providers/Microsoft.Network/privateEndpoints/sample-pec2" + }, + "privateLinkServiceConnectionState": { + "status": "Approved", + "description": "This was automatically approved by user1234@contoso.com", + "actionsRequired": "None" + } + } + } + ], + "nextLink": "null" + } } + } } diff --git a/specification/hardwaresecuritymodules/resource-manager/Microsoft.HardwareSecurityModules/preview/2022-08-31-preview/examples/PrivateLinkResources_ListByCloudHsmResource_MaximumSet_Gen.json b/specification/hardwaresecuritymodules/resource-manager/Microsoft.HardwareSecurityModules/preview/2022-08-31-preview/examples/PrivateLinkResources_ListByCloudHsmResource_MaximumSet_Gen.json index cdf01e9232ad..82fe0c30b449 100644 --- a/specification/hardwaresecuritymodules/resource-manager/Microsoft.HardwareSecurityModules/preview/2022-08-31-preview/examples/PrivateLinkResources_ListByCloudHsmResource_MaximumSet_Gen.json +++ b/specification/hardwaresecuritymodules/resource-manager/Microsoft.HardwareSecurityModules/preview/2022-08-31-preview/examples/PrivateLinkResources_ListByCloudHsmResource_MaximumSet_Gen.json @@ -1,32 +1,33 @@ { - "parameters": { - "subscriptionId": "00000000-0000-0000-0000-000000000000", - "resourceGroupName": "rgcloudhsm", - "cloudHsmClusterName": "chsm1", - "api-version": "2022-08-31-preview" - }, - "responses": { - "200": { - "body": { - "value": [{ - "id": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/rgcloudhsm/providers/Microsoft.HardwareSecurityModules/cloudHSMClusters/chsm1/privateLinkResources/sample-pls", - "name": "sample-pls", - "type": "Microsoft.HardwareSecurityModules/cloudHSMClusters/privateLinkResources", - "properties": { - "groupId": "cloudHsm", - "requiredMembers": [ - "hsm1", - "hsm2", - "hsm3" - ], - "requiredZoneNames": [ - "privatelink.cloudhsm.azure-int.net" - ] - } - } - ], - "nextLink": "https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/rgcloudhsm/providers/Microsoft.HardwareSecurityModules/cloudHSMClusters?api-version=2022-03-31&$skiptoken=dmF1bHQtcGVza3ktanVyeS03MzA3Ng==" + "parameters": { + "subscriptionId": "00000000-0000-0000-0000-000000000000", + "resourceGroupName": "rgcloudhsm", + "cloudHsmClusterName": "chsm1", + "api-version": "2022-08-31-preview" + }, + "responses": { + "200": { + "body": { + "value": [ + { + "id": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/rgcloudhsm/providers/Microsoft.HardwareSecurityModules/cloudHSMClusters/chsm1/privateLinkResources/sample-pls", + "name": "sample-pls", + "type": "Microsoft.HardwareSecurityModules/cloudHSMClusters/privateLinkResources", + "properties": { + "groupId": "cloudHsm", + "requiredMembers": [ + "hsm1", + "hsm2", + "hsm3" + ], + "requiredZoneNames": [ + "privatelink.cloudhsm.azure-int.net" + ] } - } + } + ], + "nextLink": "https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/rgcloudhsm/providers/Microsoft.HardwareSecurityModules/cloudHSMClusters?api-version=2022-03-31&$skiptoken=dmF1bHQtcGVza3ktanVyeS03MzA3Ng==" + } } + } } From 9c0ead0ab3b09303f604965095e333050d96f0df Mon Sep 17 00:00:00 2001 From: GoradeAarti Date: Tue, 13 Sep 2022 11:40:32 -0700 Subject: [PATCH 12/69] fixed validation errors --- .../preview/2022-08-31-preview/cloudhsm.json | 79 +++++++++++----- ...ter_ListBySubscription_MaximumSet_Gen.json | 1 - ...pointConnection_Delete_MaximumSet_Gen.json | 19 +--- ...EndpointConnection_Get_MaximumSet_Gen.json | 3 - .../Operations_List_MaximumSet_Gen.json | 90 ------------------- ...ListByCloudHsmResource_MaximumSet_Gen.json | 3 +- 6 files changed, 57 insertions(+), 138 deletions(-) diff --git a/specification/hardwaresecuritymodules/resource-manager/Microsoft.HardwareSecurityModules/preview/2022-08-31-preview/cloudhsm.json b/specification/hardwaresecuritymodules/resource-manager/Microsoft.HardwareSecurityModules/preview/2022-08-31-preview/cloudhsm.json index 93fc463db77a..faa61093f96b 100644 --- a/specification/hardwaresecuritymodules/resource-manager/Microsoft.HardwareSecurityModules/preview/2022-08-31-preview/cloudhsm.json +++ b/specification/hardwaresecuritymodules/resource-manager/Microsoft.HardwareSecurityModules/preview/2022-08-31-preview/cloudhsm.json @@ -42,6 +42,9 @@ "operationId": "CloudHsmCluster_CreateOrUpdate", "description": "Create or Update a Cloud HSM in the specified subscription.", "x-ms-long-running-operation": true, + "x-ms-long-running-operation-options": { + "final-state-via": "location" + }, "parameters": [ { "$ref": "#/parameters/SubscriptionId" @@ -73,8 +76,14 @@ "$ref": "#/definitions/CloudHsmResource" } }, - "201": { + "202": { "description": "Created Cloud HSM", + "headers": { + "Location": { + "description": "The URI to poll for completion status.", + "type": "string" + } + }, "schema": { "$ref": "#/definitions/CloudHsmResource" } @@ -98,6 +107,9 @@ ], "operationId": "CloudHsmCluster_Update", "x-ms-long-running-operation": true, + "x-ms-long-running-operation-options": { + "final-state-via": "location" + }, "description": "Update a Cloud HSM in the specified subscription.", "parameters": [ { @@ -161,7 +173,6 @@ ], "operationId": "CloudHsmCluster_Get", "description": "Gets the specified Cloud HSM.", - "x-ms-long-running-operation": true, "parameters": [ { "$ref": "#/parameters/SubscriptionId" @@ -203,6 +214,9 @@ "operationId": "CloudHsmCluster_Delete", "description": "Deletes the specified Cloud HSM.", "x-ms-long-running-operation": true, + "x-ms-long-running-operation-options": { + "final-state-via": "location" + }, "parameters": [ { "$ref": "#/parameters/SubscriptionId" @@ -222,7 +236,13 @@ "description": "OK Response." }, "202": { - "description": "Accepted" + "description": "Accepted", + "headers": { + "Location": { + "description": "The URI to poll for completion status.", + "type": "string" + } + } }, "204": { "description": "No Content" @@ -248,7 +268,6 @@ ], "operationId": "CloudHsmCluster_ListByResourceGroup", "description": "The List operation gets information about the Cloud HSMs associated with the subscription and within the specified resource group.", - "x-ms-long-running-operation": true, "parameters": [ { "$ref": "#/parameters/SubscriptionId" @@ -259,8 +278,9 @@ { "in": "query", "name": "$skiptoken", - "type": "string", - "description": "continuationToken value" + "type": "integer", + "format": "int32", + "description": "Maximum number of results to return." }, { "$ref": "#/parameters/ApiVersion" @@ -297,7 +317,6 @@ ], "operationId": "CloudHsmCluster_ListBySubscription", "description": "The List operation gets information about the Cloud HSMs associated with the subscription.", - "x-ms-long-running-operation": true, "parameters": [ { "$ref": "#/parameters/SubscriptionId" @@ -305,8 +324,9 @@ { "in": "query", "name": "$skiptoken", - "type": "string", - "description": "continuationToken value" + "type": "integer", + "format": "int32", + "description": "Maximum number of results to return." }, { "$ref": "#/parameters/ApiVersion" @@ -381,8 +401,7 @@ "" ], "operationId": "PrivateLinkResources_ListByCloudHsmResource", - "description": "Gets the private link resources supported for the cloud hsm pool.", - "x-ms-long-running-operation": true, + "description": "Gets the private link resources supported for the cloud hsm pool." "parameters": [ { "$ref": "#/parameters/SubscriptionId" @@ -411,9 +430,6 @@ } } }, - "x-ms-pageable": { - "nextLinkName": "nextLink" - }, "x-ms-examples": { "CloudHsmPrivateLinkResources_ListByResource_MaximumSet_Gen": { "$ref": "./examples/PrivateLinkResources_ListByCloudHsmResource_MaximumSet_Gen.json" @@ -496,6 +512,9 @@ "operationId": "CloudHsmPrivateEndpointConnection_Delete", "description": "Deletes the private endpoint connection for the cloud hsm pool.", "x-ms-long-running-operation": true, + "x-ms-long-running-operation-options": { + "final-state-via": "location" + }, "parameters": [ { "$ref": "#/parameters/SubscriptionId" @@ -519,10 +538,7 @@ ], "responses": { "200": { - "description": "The private endpoint connection was successfully deleted.", - "schema": { - "$ref": "#/definitions/PrivateEndpointConnection" - } + "description": "The private endpoint connection was successfully deleted." }, "202": { "description": "The private endpoint connection is being deleted.", @@ -583,9 +599,6 @@ "$ref": "#/definitions/PrivateEndpointConnection" } }, - "204": { - "description": "The private endpoint connection does not exist." - }, "default": { "description": "The error response describing why the operation failed.", "schema": { @@ -607,7 +620,6 @@ ], "operationId": "PrivateEndpointConnections_ListByCloudHsmResource", "description": "The List operation gets information about the private endpoint connections associated with the Cloud HSM", - "x-ms-long-running-operation": true, "parameters": [ { "$ref": "#/parameters/SubscriptionId" @@ -1062,14 +1074,33 @@ "CloudHsmSku": { "type": "object", "description": "Cloud Hsm SKU information", + "required": [ + "name", + "family" + ], "properties": { "family": { "type": "string", - "description": "Sku family" + "description": "Sku family of the Cloud HSM Cluster", + "enum": [ + "B" + ], + "x-ms-client-default": "B", + "x-ms-enum": { + "name": "CloudHsmSkuFamily", + "modelAsString": true + } }, "name": { "type": "string", - "description": "Sku name" + "description": "Sku name of the Cloud HSM Cluster", + "enum": [ + "Standard_B1" + ], + "x-ms-enum": { + "name": "CloudHsmSkuName", + "modelAsString": false + } }, "capacity": { "format": "int32", diff --git a/specification/hardwaresecuritymodules/resource-manager/Microsoft.HardwareSecurityModules/preview/2022-08-31-preview/examples/CloudHsmCluster_ListBySubscription_MaximumSet_Gen.json b/specification/hardwaresecuritymodules/resource-manager/Microsoft.HardwareSecurityModules/preview/2022-08-31-preview/examples/CloudHsmCluster_ListBySubscription_MaximumSet_Gen.json index 8975c109f2cf..7f6297523227 100644 --- a/specification/hardwaresecuritymodules/resource-manager/Microsoft.HardwareSecurityModules/preview/2022-08-31-preview/examples/CloudHsmCluster_ListBySubscription_MaximumSet_Gen.json +++ b/specification/hardwaresecuritymodules/resource-manager/Microsoft.HardwareSecurityModules/preview/2022-08-31-preview/examples/CloudHsmCluster_ListBySubscription_MaximumSet_Gen.json @@ -1,7 +1,6 @@ { "parameters": { "subscriptionId": "00000000-0000-0000-0000-000000000000", - "$skiptoken": "arqhga", "api-version": "2022-08-31-preview" }, "responses": { diff --git a/specification/hardwaresecuritymodules/resource-manager/Microsoft.HardwareSecurityModules/preview/2022-08-31-preview/examples/CloudHsmPrivateEndpointConnection_Delete_MaximumSet_Gen.json b/specification/hardwaresecuritymodules/resource-manager/Microsoft.HardwareSecurityModules/preview/2022-08-31-preview/examples/CloudHsmPrivateEndpointConnection_Delete_MaximumSet_Gen.json index a8c75513dcd7..64da9fc175f9 100644 --- a/specification/hardwaresecuritymodules/resource-manager/Microsoft.HardwareSecurityModules/preview/2022-08-31-preview/examples/CloudHsmPrivateEndpointConnection_Delete_MaximumSet_Gen.json +++ b/specification/hardwaresecuritymodules/resource-manager/Microsoft.HardwareSecurityModules/preview/2022-08-31-preview/examples/CloudHsmPrivateEndpointConnection_Delete_MaximumSet_Gen.json @@ -7,24 +7,7 @@ "peConnectionName": "sample-pec" }, "responses": { - "200": { - "body": { - "id": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/rgcloudhsm/providers/Microsoft.HardwareSecurityModules/cloudHSMClusters/chsm1/privateEndpointConnections/sample-pec", - "name": "sample-pec", - "type": "Microsoft.HardwareSecurityModules/cloudHSMClusters/privateEndpointConnections", - "systemData": { - "createdBy": "User1", - "createdByType": "User", - "createdAt": "2020-01-01T12:00:00.0000000Z", - "lastModifiedBy": "User2", - "lastModifiedByType": "User", - "lastModifiedAt": "2020-01-01T12:00:00.0000000Z" - }, - "properties": { - "provisioningState": "Disconnected" - } - } - }, + "200": {}, "202": { "headers": { "location": "https://some.endpoint.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/rgcloudhsm/providers/Microsoft.HardwareSecurityModules/cloudHSMClusters/chsm1/privateEndpointConnections/sample-pec?operationid=25334578" diff --git a/specification/hardwaresecuritymodules/resource-manager/Microsoft.HardwareSecurityModules/preview/2022-08-31-preview/examples/CloudHsmPrivateEndpointConnection_Get_MaximumSet_Gen.json b/specification/hardwaresecuritymodules/resource-manager/Microsoft.HardwareSecurityModules/preview/2022-08-31-preview/examples/CloudHsmPrivateEndpointConnection_Get_MaximumSet_Gen.json index 2224e3daa3f2..fb0e8a0960fa 100644 --- a/specification/hardwaresecuritymodules/resource-manager/Microsoft.HardwareSecurityModules/preview/2022-08-31-preview/examples/CloudHsmPrivateEndpointConnection_Get_MaximumSet_Gen.json +++ b/specification/hardwaresecuritymodules/resource-manager/Microsoft.HardwareSecurityModules/preview/2022-08-31-preview/examples/CloudHsmPrivateEndpointConnection_Get_MaximumSet_Gen.json @@ -32,9 +32,6 @@ } } } - }, - "204": { - "headers": {} } } } diff --git a/specification/hardwaresecuritymodules/resource-manager/Microsoft.HardwareSecurityModules/preview/2022-08-31-preview/examples/Operations_List_MaximumSet_Gen.json b/specification/hardwaresecuritymodules/resource-manager/Microsoft.HardwareSecurityModules/preview/2022-08-31-preview/examples/Operations_List_MaximumSet_Gen.json index b3fccd3c4924..ca741fa38a8f 100644 --- a/specification/hardwaresecuritymodules/resource-manager/Microsoft.HardwareSecurityModules/preview/2022-08-31-preview/examples/Operations_List_MaximumSet_Gen.json +++ b/specification/hardwaresecuritymodules/resource-manager/Microsoft.HardwareSecurityModules/preview/2022-08-31-preview/examples/Operations_List_MaximumSet_Gen.json @@ -75,96 +75,6 @@ "description": "Check the result of a long run operation" }, "isDataAction": false - }, - { - "name": "Microsoft.HardwareSecurityModules/cloudHSMClusters/privateLinkResources/read", - "display": { - "provider": "Microsoft HardwareSecurityModules", - "resource": "CloudHsm", - "operation": "Get the private link resources", - "description": "Get the available private link resources of an existing CloudHsm" - }, - "isDataAction": false - }, - { - "name": "Microsoft.HardwareSecurityModules/cloudHSMClusters/PrivateEndpointConnectionsApproval/action", - "display": { - "provider": "Microsoft HardwareSecurityModules", - "resource": "CloudHsm", - "operation": "Approve or reject a Private Endpoint connection", - "description": "Approve or reject a connection to a Private Endpoint resource of Microsoft.Network provider" - }, - "isDataAction": false - }, - { - "name": "Microsoft.HardwareSecurityModules/cloudHSMClusters/privateEndpointConnectionProxies/read", - "display": { - "provider": "Microsoft HardwareSecurityModules", - "resource": "CloudHsm", - "operation": "View the state of Private Endpoint Connection Proxy", - "description": "View the state of a connection proxy to a Private Endpoint resource of Microsoft.Network provider" - }, - "isDataAction": false - }, - { - "name": "Microsoft.HardwareSecurityModules/cloudHSMClusters/privateEndpointConnectionProxies/write", - "display": { - "provider": "Microsoft HardwareSecurityModules", - "resource": "CloudHsm", - "operation": "Change the state of Private Endpoint Connection Proxy", - "description": "Change the state of a connection proxy to a Private Endpoint resource of Microsoft.Network provider" - }, - "isDataAction": false - }, - { - "name": "Microsoft.HardwareSecurityModules/cloudHSMClusters/privateEndpointConnectionProxies/delete", - "display": { - "provider": "Microsoft HardwareSecurityModules", - "resource": "CloudHsm", - "operation": "Delete the state of Private Endpoint Connection Proxy", - "description": "Delete the state of a connection proxy to a Private Endpoint resource of Microsoft.Network provider" - }, - "isDataAction": false - }, - { - "name": "Microsoft.HardwareSecurityModules/cloudHSMClusters/privateEndpointConnectionProxies/validate/action", - "display": { - "provider": "Microsoft HardwareSecurityModules", - "resource": "CloudHsm", - "operation": "Validate the state of Private Endpoint Connection Proxy", - "description": "Validate the state of a connection proxy to a Private Endpoint resource of Microsoft.Network provider" - }, - "isDataAction": false - }, - { - "name": "Microsoft.HardwareSecurityModules/cloudHSMClusters/privateEndpointConnections/read", - "display": { - "provider": "Microsoft HardwareSecurityModules", - "resource": "CloudHsm", - "operation": "View the state of Private Endpoint Connection", - "description": "View the state of a connection to a Private Endpoint resource of Microsoft.Network provider" - }, - "isDataAction": false - }, - { - "name": "Microsoft.HardwareSecurityModules/cloudHSMClusters/privateEndpointConnections/write", - "display": { - "provider": "Microsoft HardwareSecurityModules", - "resource": "CloudHsm", - "operation": "Change the state of Private Endpoint Connection", - "description": "Change the state of a connection to a Private Endpoint resource of Microsoft.Network provider" - }, - "isDataAction": false - }, - { - "name": "Microsoft.HardwareSecurityModules/cloudHSMClusters/privateEndpointConnections/delete", - "display": { - "provider": "Microsoft HardwareSecurityModules", - "resource": "CloudHsm", - "operation": "Delete the state of Private Endpoint Connection", - "description": "Delete the state of a connection to a Private Endpoint resource of Microsoft.Network provider" - }, - "isDataAction": false } ], "nextLink": "null" diff --git a/specification/hardwaresecuritymodules/resource-manager/Microsoft.HardwareSecurityModules/preview/2022-08-31-preview/examples/PrivateLinkResources_ListByCloudHsmResource_MaximumSet_Gen.json b/specification/hardwaresecuritymodules/resource-manager/Microsoft.HardwareSecurityModules/preview/2022-08-31-preview/examples/PrivateLinkResources_ListByCloudHsmResource_MaximumSet_Gen.json index 82fe0c30b449..187f44fb97a9 100644 --- a/specification/hardwaresecuritymodules/resource-manager/Microsoft.HardwareSecurityModules/preview/2022-08-31-preview/examples/PrivateLinkResources_ListByCloudHsmResource_MaximumSet_Gen.json +++ b/specification/hardwaresecuritymodules/resource-manager/Microsoft.HardwareSecurityModules/preview/2022-08-31-preview/examples/PrivateLinkResources_ListByCloudHsmResource_MaximumSet_Gen.json @@ -25,8 +25,7 @@ ] } } - ], - "nextLink": "https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/rgcloudhsm/providers/Microsoft.HardwareSecurityModules/cloudHSMClusters?api-version=2022-03-31&$skiptoken=dmF1bHQtcGVza3ktanVyeS03MzA3Ng==" + ] } } } From 2a5b19d84da84ea35694a3a64e783b8b647e3d39 Mon Sep 17 00:00:00 2001 From: GoradeAarti Date: Tue, 13 Sep 2022 11:53:44 -0700 Subject: [PATCH 13/69] fixed prettier errors --- .../preview/2022-08-31-preview/cloudhsm.json | 18 +++++++++--------- 1 file changed, 9 insertions(+), 9 deletions(-) diff --git a/specification/hardwaresecuritymodules/resource-manager/Microsoft.HardwareSecurityModules/preview/2022-08-31-preview/cloudhsm.json b/specification/hardwaresecuritymodules/resource-manager/Microsoft.HardwareSecurityModules/preview/2022-08-31-preview/cloudhsm.json index faa61093f96b..7d9d35317524 100644 --- a/specification/hardwaresecuritymodules/resource-manager/Microsoft.HardwareSecurityModules/preview/2022-08-31-preview/cloudhsm.json +++ b/specification/hardwaresecuritymodules/resource-manager/Microsoft.HardwareSecurityModules/preview/2022-08-31-preview/cloudhsm.json @@ -42,7 +42,7 @@ "operationId": "CloudHsmCluster_CreateOrUpdate", "description": "Create or Update a Cloud HSM in the specified subscription.", "x-ms-long-running-operation": true, - "x-ms-long-running-operation-options": { + "x-ms-long-running-operation-options": { "final-state-via": "location" }, "parameters": [ @@ -107,7 +107,7 @@ ], "operationId": "CloudHsmCluster_Update", "x-ms-long-running-operation": true, - "x-ms-long-running-operation-options": { + "x-ms-long-running-operation-options": { "final-state-via": "location" }, "description": "Update a Cloud HSM in the specified subscription.", @@ -214,7 +214,7 @@ "operationId": "CloudHsmCluster_Delete", "description": "Deletes the specified Cloud HSM.", "x-ms-long-running-operation": true, - "x-ms-long-running-operation-options": { + "x-ms-long-running-operation-options": { "final-state-via": "location" }, "parameters": [ @@ -237,7 +237,7 @@ }, "202": { "description": "Accepted", - "headers": { + "headers": { "Location": { "description": "The URI to poll for completion status.", "type": "string" @@ -401,7 +401,7 @@ "" ], "operationId": "PrivateLinkResources_ListByCloudHsmResource", - "description": "Gets the private link resources supported for the cloud hsm pool." + "description": "Gets the private link resources supported for the cloud hsm pool.", "parameters": [ { "$ref": "#/parameters/SubscriptionId" @@ -512,7 +512,7 @@ "operationId": "CloudHsmPrivateEndpointConnection_Delete", "description": "Deletes the private endpoint connection for the cloud hsm pool.", "x-ms-long-running-operation": true, - "x-ms-long-running-operation-options": { + "x-ms-long-running-operation-options": { "final-state-via": "location" }, "parameters": [ @@ -1074,7 +1074,7 @@ "CloudHsmSku": { "type": "object", "description": "Cloud Hsm SKU information", - "required": [ + "required": [ "name", "family" ], @@ -1082,7 +1082,7 @@ "family": { "type": "string", "description": "Sku family of the Cloud HSM Cluster", - "enum": [ + "enum": [ "B" ], "x-ms-client-default": "B", @@ -1094,7 +1094,7 @@ "name": { "type": "string", "description": "Sku name of the Cloud HSM Cluster", - "enum": [ + "enum": [ "Standard_B1" ], "x-ms-enum": { From a718f726aa600882d68d1ef03f833c6cc0179016 Mon Sep 17 00:00:00 2001 From: GoradeAarti Date: Tue, 13 Sep 2022 12:06:05 -0700 Subject: [PATCH 14/69] fixed prettier errors --- ...CloudHsmCluster_CreateOrUpdate_MaximumSet_Gen.json | 11 +++++++---- .../CloudHsmCluster_Delete_MaximumSet_Gen.json | 2 +- .../examples/CloudHsmCluster_Get_MaximumSet_Gen.json | 4 ++-- ...HsmCluster_ListByResourceGroup_MaximumSet_Gen.json | 10 +++++----- ...dHsmCluster_ListBySubscription_MaximumSet_Gen.json | 10 +++++----- .../CloudHsmCluster_Update_MaximumSet_Gen.json | 10 +++++----- ...ivateEndpointConnection_Create_MaximumSet_Gen.json | 4 ++-- ...ivateEndpointConnection_Delete_MaximumSet_Gen.json | 2 +- ...mPrivateEndpointConnection_Get_MaximumSet_Gen.json | 4 ++-- .../examples/Operations_List_MaximumSet_Gen.json | 6 +++--- ...ections_ListByCloudHsmResource_MaximumSet_Gen.json | 8 ++++---- ...sources_ListByCloudHsmResource_MaximumSet_Gen.json | 4 ++-- 12 files changed, 39 insertions(+), 36 deletions(-) diff --git a/specification/hardwaresecuritymodules/resource-manager/Microsoft.HardwareSecurityModules/preview/2022-08-31-preview/examples/CloudHsmCluster_CreateOrUpdate_MaximumSet_Gen.json b/specification/hardwaresecuritymodules/resource-manager/Microsoft.HardwareSecurityModules/preview/2022-08-31-preview/examples/CloudHsmCluster_CreateOrUpdate_MaximumSet_Gen.json index 001600797e72..ee560de88819 100644 --- a/specification/hardwaresecuritymodules/resource-manager/Microsoft.HardwareSecurityModules/preview/2022-08-31-preview/examples/CloudHsmCluster_CreateOrUpdate_MaximumSet_Gen.json +++ b/specification/hardwaresecuritymodules/resource-manager/Microsoft.HardwareSecurityModules/preview/2022-08-31-preview/examples/CloudHsmCluster_CreateOrUpdate_MaximumSet_Gen.json @@ -26,7 +26,7 @@ "body": { "name": "chsm1", "location": "eastus2", - "id": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/rgcloudhsm/providers/Microsoft.HardwareSecurityModules/cloudHSMClusters/chsm1", + "id": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/rgcloudhsm/providers/Microsoft.HardwareSecurityModules/cloudHsmClusters/chsm1", "sku": { "family": "B", "name": "Standard_B1" @@ -55,11 +55,14 @@ } } }, - "201": { + "202": { + "headers": { + "Location": "https://some.endpoint.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/rgcloudhsm/providers/Microsoft.HardwareSecurityModules/cloudHsmClusters/chsm1?api-version=2022-07-01&operation=abJjb2RkIjoiAGVsZXRlTWFuYWdlZEhzbUFzeW5jYm9" + }, "body": { "name": "chsm1", "location": "eastus2", - "id": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/rgcloudhsm/providers/Microsoft.HardwareSecurityModules/cloudHSMClusters/chsm1", + "id": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/rgcloudhsm/providers/Microsoft.HardwareSecurityModules/cloudHsmClusters/chsm1", "sku": { "family": "B", "name": "Standard_B1" @@ -68,7 +71,7 @@ "Dept": "hsm", "Environment": "dogfood" }, - "type": "Microsoft.HardwareSecurityModules/cloudHSMClusters", + "type": "Microsoft.HardwareSecurityModules/cloudHsmClusters", "systemData": { "createdBy": "CHsmUser1", "createdByType": "User", diff --git a/specification/hardwaresecuritymodules/resource-manager/Microsoft.HardwareSecurityModules/preview/2022-08-31-preview/examples/CloudHsmCluster_Delete_MaximumSet_Gen.json b/specification/hardwaresecuritymodules/resource-manager/Microsoft.HardwareSecurityModules/preview/2022-08-31-preview/examples/CloudHsmCluster_Delete_MaximumSet_Gen.json index 1c71d0869b65..3da5a9e388f6 100644 --- a/specification/hardwaresecuritymodules/resource-manager/Microsoft.HardwareSecurityModules/preview/2022-08-31-preview/examples/CloudHsmCluster_Delete_MaximumSet_Gen.json +++ b/specification/hardwaresecuritymodules/resource-manager/Microsoft.HardwareSecurityModules/preview/2022-08-31-preview/examples/CloudHsmCluster_Delete_MaximumSet_Gen.json @@ -9,7 +9,7 @@ "200": {}, "202": { "headers": { - "location": "https://some.endpoint.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/rgcloudhsm/providers/Microsoft.HardwareSecurityModules/cloudHSMClusters/chsm1?api-version=2022-03-31&operation=abJjb2RkIjoiAGVsZXRlTWFuYWdlZEhzbUFzeW5jYm9" + "location": "https://some.endpoint.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/rgcloudhsm/providers/Microsoft.HardwareSecurityModules/cloudHsmClusters/chsm1?api-version=2022-03-31&operation=abJjb2RkIjoiAGVsZXRlTWFuYWdlZEhzbUFzeW5jYm9" } }, "204": {} diff --git a/specification/hardwaresecuritymodules/resource-manager/Microsoft.HardwareSecurityModules/preview/2022-08-31-preview/examples/CloudHsmCluster_Get_MaximumSet_Gen.json b/specification/hardwaresecuritymodules/resource-manager/Microsoft.HardwareSecurityModules/preview/2022-08-31-preview/examples/CloudHsmCluster_Get_MaximumSet_Gen.json index 991e7a6d0c1a..db8f97952869 100644 --- a/specification/hardwaresecuritymodules/resource-manager/Microsoft.HardwareSecurityModules/preview/2022-08-31-preview/examples/CloudHsmCluster_Get_MaximumSet_Gen.json +++ b/specification/hardwaresecuritymodules/resource-manager/Microsoft.HardwareSecurityModules/preview/2022-08-31-preview/examples/CloudHsmCluster_Get_MaximumSet_Gen.json @@ -10,7 +10,7 @@ "body": { "name": "chsm1", "location": "eastus2", - "id": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/rgcloudhsm/providers/Microsoft.HardwareSecurityModules/cloudHSMClusters/chsm1", + "id": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/rgcloudhsm/providers/Microsoft.HardwareSecurityModules/cloudHsmClusters/chsm1", "sku": { "family": "B", "name": "Standard_B1" @@ -19,7 +19,7 @@ "Dept": "hsm", "Environment": "dogfood" }, - "type": "Microsoft.HardwareSecurityModules/cloudHSMClusters", + "type": "Microsoft.HardwareSecurityModules/cloudHsmClusters", "systemData": { "createdBy": "CHsmUser1", "createdByType": "User", diff --git a/specification/hardwaresecuritymodules/resource-manager/Microsoft.HardwareSecurityModules/preview/2022-08-31-preview/examples/CloudHsmCluster_ListByResourceGroup_MaximumSet_Gen.json b/specification/hardwaresecuritymodules/resource-manager/Microsoft.HardwareSecurityModules/preview/2022-08-31-preview/examples/CloudHsmCluster_ListByResourceGroup_MaximumSet_Gen.json index c65ee47ffeca..3d02641647ea 100644 --- a/specification/hardwaresecuritymodules/resource-manager/Microsoft.HardwareSecurityModules/preview/2022-08-31-preview/examples/CloudHsmCluster_ListByResourceGroup_MaximumSet_Gen.json +++ b/specification/hardwaresecuritymodules/resource-manager/Microsoft.HardwareSecurityModules/preview/2022-08-31-preview/examples/CloudHsmCluster_ListByResourceGroup_MaximumSet_Gen.json @@ -11,7 +11,7 @@ { "name": "chsm1", "location": "eastus2", - "id": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/rgcloudhsm/providers/Microsoft.HardwareSecurityModules/cloudHSMClusters/chsm1", + "id": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/rgcloudhsm/providers/Microsoft.HardwareSecurityModules/cloudHsmClusters/chsm1", "sku": { "family": "B", "name": "Standard_B1" @@ -20,7 +20,7 @@ "Dept": "hsm", "Environment": "dogfood" }, - "type": "Microsoft.HardwareSecurityModules/cloudHSMClusters", + "type": "Microsoft.HardwareSecurityModules/cloudHsmClusters", "systemData": { "createdBy": "CHsmUser1", "createdByType": "User", @@ -42,7 +42,7 @@ { "name": "chsm2", "location": "eastus2", - "id": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/rgcloudhsm/providers/Microsoft.HardwareSecurityModules/cloudHSMClusters/chsm2", + "id": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/rgcloudhsm/providers/Microsoft.HardwareSecurityModules/cloudHsmClusters/chsm2", "sku": { "family": "B", "name": "Standard_B1" @@ -51,7 +51,7 @@ "Dept": "hsm", "Environment": "dogfood" }, - "type": "Microsoft.HardwareSecurityModules/cloudHSMClusters", + "type": "Microsoft.HardwareSecurityModules/cloudHsmClusters", "systemData": { "createdBy": "CHsmUser1", "createdByType": "User", @@ -71,7 +71,7 @@ } } ], - "nextLink": "https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/rgcloudhsm/providers/Microsoft.HardwareSecurityModules/cloudHSMClusters?api-version=2022-03-31&$skiptoken=dmF1bHQtcGVza3ktanVyeS03MzA3Ng==" + "nextLink": "https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/rgcloudhsm/providers/Microsoft.HardwareSecurityModules/cloudHsmClusters?api-version=2022-03-31&$skiptoken=dmF1bHQtcGVza3ktanVyeS03MzA3Ng==" } } } diff --git a/specification/hardwaresecuritymodules/resource-manager/Microsoft.HardwareSecurityModules/preview/2022-08-31-preview/examples/CloudHsmCluster_ListBySubscription_MaximumSet_Gen.json b/specification/hardwaresecuritymodules/resource-manager/Microsoft.HardwareSecurityModules/preview/2022-08-31-preview/examples/CloudHsmCluster_ListBySubscription_MaximumSet_Gen.json index 7f6297523227..c60641a6c7d1 100644 --- a/specification/hardwaresecuritymodules/resource-manager/Microsoft.HardwareSecurityModules/preview/2022-08-31-preview/examples/CloudHsmCluster_ListBySubscription_MaximumSet_Gen.json +++ b/specification/hardwaresecuritymodules/resource-manager/Microsoft.HardwareSecurityModules/preview/2022-08-31-preview/examples/CloudHsmCluster_ListBySubscription_MaximumSet_Gen.json @@ -10,7 +10,7 @@ { "name": "chsm1", "location": "eastus2", - "id": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/rgcloudhsm/providers/Microsoft.HardwareSecurityModules/cloudHSMClusters/chsm1", + "id": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/rgcloudhsm/providers/Microsoft.HardwareSecurityModules/cloudHsmClusters/chsm1", "sku": { "family": "B", "name": "Standard_B1" @@ -19,7 +19,7 @@ "Dept": "hsm", "Environment": "dogfood" }, - "type": "Microsoft.HardwareSecurityModules/cloudHSMClusters", + "type": "Microsoft.HardwareSecurityModules/cloudHsmClusters", "systemData": { "createdBy": "CHsmUser1", "createdByType": "User", @@ -41,7 +41,7 @@ { "name": "chsm2", "location": "eastus2", - "id": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/rgcloudhsm/providers/Microsoft.HardwareSecurityModules/cloudHSMClusters/chsm2", + "id": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/rgcloudhsm/providers/Microsoft.HardwareSecurityModules/cloudHsmClusters/chsm2", "sku": { "family": "B", "name": "Standard_B1" @@ -50,7 +50,7 @@ "Dept": "hsm", "Environment": "dogfood" }, - "type": "Microsoft.HardwareSecurityModules/cloudHSMClusters", + "type": "Microsoft.HardwareSecurityModules/cloudHsmClusters", "systemData": { "createdBy": "CHsmUser1", "createdByType": "User", @@ -70,7 +70,7 @@ } } ], - "nextLink": "https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.HardwareSecurityModules/cloudHSMClusters?api-version=2022-07-01&$skiptoken=dmF1bHQtcGVza3ktanVyeS03MzA3Ng==" + "nextLink": "https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.HardwareSecurityModules/cloudHsmClusters?api-version=2022-07-01&$skiptoken=dmF1bHQtcGVza3ktanVyeS03MzA3Ng==" } } } diff --git a/specification/hardwaresecuritymodules/resource-manager/Microsoft.HardwareSecurityModules/preview/2022-08-31-preview/examples/CloudHsmCluster_Update_MaximumSet_Gen.json b/specification/hardwaresecuritymodules/resource-manager/Microsoft.HardwareSecurityModules/preview/2022-08-31-preview/examples/CloudHsmCluster_Update_MaximumSet_Gen.json index 03074a4922a6..d7f3446e5e54 100644 --- a/specification/hardwaresecuritymodules/resource-manager/Microsoft.HardwareSecurityModules/preview/2022-08-31-preview/examples/CloudHsmCluster_Update_MaximumSet_Gen.json +++ b/specification/hardwaresecuritymodules/resource-manager/Microsoft.HardwareSecurityModules/preview/2022-08-31-preview/examples/CloudHsmCluster_Update_MaximumSet_Gen.json @@ -17,7 +17,7 @@ "body": { "name": "chsm1", "location": "eastus2", - "id": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/rgcloudhsm/providers/Microsoft.HardwareSecurityModules/cloudHSMClusters/chsm1", + "id": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/rgcloudhsm/providers/Microsoft.HardwareSecurityModules/cloudHsmClusters/chsm1", "sku": { "family": "B", "name": "Standard_B1" @@ -27,7 +27,7 @@ "Environment": "dogfood", "Slice": "A" }, - "type": "Microsoft.HardwareSecurityModules/cloudHSMClusters", + "type": "Microsoft.HardwareSecurityModules/cloudHsmClusters", "systemData": { "createdBy": "CHsmUser1", "createdByType": "User", @@ -49,12 +49,12 @@ }, "202": { "headers": { - "Location": "https://some.endpoint.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/rgcloudhsm/providers/Microsoft.HardwareSecurityModules/cloudHSMClusters/chsm1?api-version=2022-07-01&kv-operation=abJjb2RkIjoiAGVsZXRlTWFuYWdlZEhzbUFzeW5jYm9" + "Location": "https://some.endpoint.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/rgcloudhsm/providers/Microsoft.HardwareSecurityModules/cloudHsmClusters/chsm1?api-version=2022-07-01&kv-operation=abJjb2RkIjoiAGVsZXRlTWFuYWdlZEhzbUFzeW5jYm9" }, "body": { "name": "chsm1", "location": "eastus2", - "id": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/rgcloudhsm/providers/Microsoft.HardwareSecurityModules/cloudHSMClusters/chsm1", + "id": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/rgcloudhsm/providers/Microsoft.HardwareSecurityModules/cloudHsmClusters/chsm1", "sku": { "family": "B", "name": "Standard_B1" @@ -64,7 +64,7 @@ "Environment": "dogfood", "Slice": "A" }, - "type": "Microsoft.HardwareSecurityModules/cloudHSMClusters", + "type": "Microsoft.HardwareSecurityModules/cloudHsmClusters", "systemData": { "createdBy": "CHsmUser1", "createdByType": "User", diff --git a/specification/hardwaresecuritymodules/resource-manager/Microsoft.HardwareSecurityModules/preview/2022-08-31-preview/examples/CloudHsmPrivateEndpointConnection_Create_MaximumSet_Gen.json b/specification/hardwaresecuritymodules/resource-manager/Microsoft.HardwareSecurityModules/preview/2022-08-31-preview/examples/CloudHsmPrivateEndpointConnection_Create_MaximumSet_Gen.json index dfb55e5ddb1b..d8d6fe03ae23 100644 --- a/specification/hardwaresecuritymodules/resource-manager/Microsoft.HardwareSecurityModules/preview/2022-08-31-preview/examples/CloudHsmPrivateEndpointConnection_Create_MaximumSet_Gen.json +++ b/specification/hardwaresecuritymodules/resource-manager/Microsoft.HardwareSecurityModules/preview/2022-08-31-preview/examples/CloudHsmPrivateEndpointConnection_Create_MaximumSet_Gen.json @@ -17,9 +17,9 @@ "responses": { "200": { "body": { - "id": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/rgcloudhsm/providers/Microsoft.HardwareSecurityModules/cloudHSMClusters/chsm1/privateEndpointConnections/sample-pec", + "id": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/rgcloudhsm/providers/Microsoft.HardwareSecurityModules/cloudHsmClusters/chsm1/privateEndpointConnections/sample-pec", "name": "sample-pec", - "type": "Microsoft.HardwareSecurityModules/cloudHSMClusters/privateEndpointConnections", + "type": "Microsoft.HardwareSecurityModules/cloudHsmClusters/privateEndpointConnections", "systemData": { "createdBy": "User1", "createdByType": "User", diff --git a/specification/hardwaresecuritymodules/resource-manager/Microsoft.HardwareSecurityModules/preview/2022-08-31-preview/examples/CloudHsmPrivateEndpointConnection_Delete_MaximumSet_Gen.json b/specification/hardwaresecuritymodules/resource-manager/Microsoft.HardwareSecurityModules/preview/2022-08-31-preview/examples/CloudHsmPrivateEndpointConnection_Delete_MaximumSet_Gen.json index 64da9fc175f9..46674cbda721 100644 --- a/specification/hardwaresecuritymodules/resource-manager/Microsoft.HardwareSecurityModules/preview/2022-08-31-preview/examples/CloudHsmPrivateEndpointConnection_Delete_MaximumSet_Gen.json +++ b/specification/hardwaresecuritymodules/resource-manager/Microsoft.HardwareSecurityModules/preview/2022-08-31-preview/examples/CloudHsmPrivateEndpointConnection_Delete_MaximumSet_Gen.json @@ -10,7 +10,7 @@ "200": {}, "202": { "headers": { - "location": "https://some.endpoint.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/rgcloudhsm/providers/Microsoft.HardwareSecurityModules/cloudHSMClusters/chsm1/privateEndpointConnections/sample-pec?operationid=25334578" + "location": "https://some.endpoint.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/rgcloudhsm/providers/Microsoft.HardwareSecurityModules/cloudHsmClusters/chsm1/privateEndpointConnections/sample-pec?operationid=25334578" } }, "204": {} diff --git a/specification/hardwaresecuritymodules/resource-manager/Microsoft.HardwareSecurityModules/preview/2022-08-31-preview/examples/CloudHsmPrivateEndpointConnection_Get_MaximumSet_Gen.json b/specification/hardwaresecuritymodules/resource-manager/Microsoft.HardwareSecurityModules/preview/2022-08-31-preview/examples/CloudHsmPrivateEndpointConnection_Get_MaximumSet_Gen.json index fb0e8a0960fa..614acc158a84 100644 --- a/specification/hardwaresecuritymodules/resource-manager/Microsoft.HardwareSecurityModules/preview/2022-08-31-preview/examples/CloudHsmPrivateEndpointConnection_Get_MaximumSet_Gen.json +++ b/specification/hardwaresecuritymodules/resource-manager/Microsoft.HardwareSecurityModules/preview/2022-08-31-preview/examples/CloudHsmPrivateEndpointConnection_Get_MaximumSet_Gen.json @@ -9,9 +9,9 @@ "responses": { "200": { "body": { - "id": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/rgcloudhsm/providers/Microsoft.HardwareSecurityModules/cloudHSMClusters/chsm1/privateEndpointConnections/sample-pec", + "id": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/rgcloudhsm/providers/Microsoft.HardwareSecurityModules/cloudHsmClusters/chsm1/privateEndpointConnections/sample-pec", "name": "sample-pec", - "type": "Microsoft.HardwareSecurityModules/cloudHSMClusters/privateEndpointConnections", + "type": "Microsoft.HardwareSecurityModules/cloudHsmClusters/privateEndpointConnections", "systemData": { "createdBy": "User1", "createdByType": "User", diff --git a/specification/hardwaresecuritymodules/resource-manager/Microsoft.HardwareSecurityModules/preview/2022-08-31-preview/examples/Operations_List_MaximumSet_Gen.json b/specification/hardwaresecuritymodules/resource-manager/Microsoft.HardwareSecurityModules/preview/2022-08-31-preview/examples/Operations_List_MaximumSet_Gen.json index ca741fa38a8f..104b3b9baa7a 100644 --- a/specification/hardwaresecuritymodules/resource-manager/Microsoft.HardwareSecurityModules/preview/2022-08-31-preview/examples/Operations_List_MaximumSet_Gen.json +++ b/specification/hardwaresecuritymodules/resource-manager/Microsoft.HardwareSecurityModules/preview/2022-08-31-preview/examples/Operations_List_MaximumSet_Gen.json @@ -7,7 +7,7 @@ "body": { "value": [ { - "name": "Microsoft.HardwareSecurityModules/cloudHSMClusters/read", + "name": "Microsoft.HardwareSecurityModules/cloudHsmClusters/read", "display": { "provider": "Microsoft HardwareSecurityModules", "resource": "Cloud HSM", @@ -17,7 +17,7 @@ "isDataAction": false }, { - "name": "Microsoft.HardwareSecurityModules/cloudHSMClusters/write", + "name": "Microsoft.HardwareSecurityModules/cloudHsmClusters/write", "display": { "provider": "Microsoft HardwareSecurityModules", "resource": "Cloud HSM", @@ -27,7 +27,7 @@ "isDataAction": false }, { - "name": "Microsoft.HardwareSecurityModules/cloudHSMClusters/delete", + "name": "Microsoft.HardwareSecurityModules/cloudHsmClusters/delete", "display": { "provider": "Microsoft HardwareSecurityModules", "resource": "Cloud HSM", diff --git a/specification/hardwaresecuritymodules/resource-manager/Microsoft.HardwareSecurityModules/preview/2022-08-31-preview/examples/PrivateEndpointConnections_ListByCloudHsmResource_MaximumSet_Gen.json b/specification/hardwaresecuritymodules/resource-manager/Microsoft.HardwareSecurityModules/preview/2022-08-31-preview/examples/PrivateEndpointConnections_ListByCloudHsmResource_MaximumSet_Gen.json index 7ffa2782bfa7..7011c62af634 100644 --- a/specification/hardwaresecuritymodules/resource-manager/Microsoft.HardwareSecurityModules/preview/2022-08-31-preview/examples/PrivateEndpointConnections_ListByCloudHsmResource_MaximumSet_Gen.json +++ b/specification/hardwaresecuritymodules/resource-manager/Microsoft.HardwareSecurityModules/preview/2022-08-31-preview/examples/PrivateEndpointConnections_ListByCloudHsmResource_MaximumSet_Gen.json @@ -10,9 +10,9 @@ "body": { "value": [ { - "id": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/rgcloudhsm/providers/Microsoft.HardwareSecurityModules/cloudHSMClusters/chsm1/privateEndpointConnections/sample-pec1", + "id": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/rgcloudhsm/providers/Microsoft.HardwareSecurityModules/cloudHsmClusters/chsm1/privateEndpointConnections/sample-pec1", "name": "chsm1", - "type": "Microsoft.HardwareSecurityModules/cloudHSMClusters/privateEndpointConnections", + "type": "Microsoft.HardwareSecurityModules/cloudHsmClusters/privateEndpointConnections", "etag": "", "systemData": { "createdBy": "User1", @@ -35,9 +35,9 @@ } }, { - "id": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/rgcloudhsm/providers/Microsoft.HardwareSecurityModules/cloudHSMClusters/chsm1/privateEndpointConnections/sample-pec2", + "id": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/rgcloudhsm/providers/Microsoft.HardwareSecurityModules/cloudHsmClusters/chsm1/privateEndpointConnections/sample-pec2", "name": "chsm2", - "type": "Microsoft.HardwareSecurityModules/cloudHSMClusters/privateEndpointConnections", + "type": "Microsoft.HardwareSecurityModules/cloudHsmClusters/privateEndpointConnections", "etag": "", "systemData": { "createdBy": "User1", diff --git a/specification/hardwaresecuritymodules/resource-manager/Microsoft.HardwareSecurityModules/preview/2022-08-31-preview/examples/PrivateLinkResources_ListByCloudHsmResource_MaximumSet_Gen.json b/specification/hardwaresecuritymodules/resource-manager/Microsoft.HardwareSecurityModules/preview/2022-08-31-preview/examples/PrivateLinkResources_ListByCloudHsmResource_MaximumSet_Gen.json index 187f44fb97a9..aa6de609c537 100644 --- a/specification/hardwaresecuritymodules/resource-manager/Microsoft.HardwareSecurityModules/preview/2022-08-31-preview/examples/PrivateLinkResources_ListByCloudHsmResource_MaximumSet_Gen.json +++ b/specification/hardwaresecuritymodules/resource-manager/Microsoft.HardwareSecurityModules/preview/2022-08-31-preview/examples/PrivateLinkResources_ListByCloudHsmResource_MaximumSet_Gen.json @@ -10,9 +10,9 @@ "body": { "value": [ { - "id": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/rgcloudhsm/providers/Microsoft.HardwareSecurityModules/cloudHSMClusters/chsm1/privateLinkResources/sample-pls", + "id": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/rgcloudhsm/providers/Microsoft.HardwareSecurityModules/cloudHsmClusters/chsm1/privateLinkResources/sample-pls", "name": "sample-pls", - "type": "Microsoft.HardwareSecurityModules/cloudHSMClusters/privateLinkResources", + "type": "Microsoft.HardwareSecurityModules/cloudHsmClusters/privateLinkResources", "properties": { "groupId": "cloudHsm", "requiredMembers": [ From 804ae31ef7d5ea2890433b598beb909cc10bf702 Mon Sep 17 00:00:00 2001 From: GoradeAarti Date: Tue, 13 Sep 2022 15:05:55 -0700 Subject: [PATCH 15/69] fixed linfdiff errors --- .../preview/2022-08-31-preview/cloudhsm.json | 438 ++++-------------- ...ection_ListByCloudHsm_MaximumSet_Gen.json} | 0 ...source_ListByCloudHsm_MaximumSet_Gen.json} | 3 +- 3 files changed, 97 insertions(+), 344 deletions(-) rename specification/hardwaresecuritymodules/resource-manager/Microsoft.HardwareSecurityModules/preview/2022-08-31-preview/examples/{PrivateEndpointConnections_ListByCloudHsmResource_MaximumSet_Gen.json => CloudHsmPrivateEndpointConnection_ListByCloudHsm_MaximumSet_Gen.json} (100%) rename specification/hardwaresecuritymodules/resource-manager/Microsoft.HardwareSecurityModules/preview/2022-08-31-preview/examples/{PrivateLinkResources_ListByCloudHsmResource_MaximumSet_Gen.json => CloudHsmPrivateLinkResource_ListByCloudHsm_MaximumSet_Gen.json} (96%) diff --git a/specification/hardwaresecuritymodules/resource-manager/Microsoft.HardwareSecurityModules/preview/2022-08-31-preview/cloudhsm.json b/specification/hardwaresecuritymodules/resource-manager/Microsoft.HardwareSecurityModules/preview/2022-08-31-preview/cloudhsm.json index 7d9d35317524..ab4adfacb193 100644 --- a/specification/hardwaresecuritymodules/resource-manager/Microsoft.HardwareSecurityModules/preview/2022-08-31-preview/cloudhsm.json +++ b/specification/hardwaresecuritymodules/resource-manager/Microsoft.HardwareSecurityModules/preview/2022-08-31-preview/cloudhsm.json @@ -64,7 +64,7 @@ "required": true, "x-ms-client-flatten": true, "schema": { - "$ref": "#/definitions/CloudHsmResource" + "$ref": "#/definitions/CloudHsm" }, "description": "Parameters to create Cloud HSM" } @@ -73,7 +73,7 @@ "200": { "description": "Created Cloud HSM", "schema": { - "$ref": "#/definitions/CloudHsmResource" + "$ref": "#/definitions/CloudHsm" } }, "202": { @@ -85,7 +85,7 @@ } }, "schema": { - "$ref": "#/definitions/CloudHsmResource" + "$ref": "#/definitions/CloudHsm" } }, "default": { @@ -130,16 +130,16 @@ "required": true, "x-ms-client-flatten": true, "schema": { - "$ref": "#/definitions/CloudHsmPatchParameters" + "$ref": "#/definitions/CloudHsm" }, - "description": "CloudHsmResource Parameters to patch" + "description": "Parameters to create Cloud HSM" } ], "responses": { "200": { "description": "Patched Cloud HSM", "schema": { - "$ref": "#/definitions/CloudHsmResource" + "$ref": "#/definitions/CloudHsm" } }, "202": { @@ -151,7 +151,7 @@ } }, "schema": { - "$ref": "#/definitions/CloudHsmResource" + "$ref": "#/definitions/CloudHsm" } }, "default": { @@ -191,7 +191,7 @@ "200": { "description": "Retrieved Cloud HSM", "schema": { - "$ref": "#/definitions/CloudHsmResource" + "$ref": "#/definitions/CloudHsm" } }, "default": { @@ -400,7 +400,7 @@ "tags": [ "" ], - "operationId": "PrivateLinkResources_ListByCloudHsmResource", + "operationId": "CloudHsmPrivateLinkResources_ListByCloudHsmResource", "description": "Gets the private link resources supported for the cloud hsm pool.", "parameters": [ { @@ -430,9 +430,12 @@ } } }, + "x-ms-pageable": { + "nextLinkName": "nextLink" + }, "x-ms-examples": { "CloudHsmPrivateLinkResources_ListByResource_MaximumSet_Gen": { - "$ref": "./examples/PrivateLinkResources_ListByCloudHsmResource_MaximumSet_Gen.json" + "$ref": "./examples/CloudHsmPrivateLinkResource_ListByCloudHsm_MaximumSet_Gen.json" } } } @@ -442,7 +445,7 @@ "tags": [ "" ], - "operationId": "CloudHsmPrivateEndpointConnection_Create", + "operationId": "CloudHsmPrivateEndpointConnections_Create", "description": "Creates the private endpoint connection for the cloud hsm pool.", "parameters": [ { @@ -469,7 +472,7 @@ "name": "properties", "x-ms-client-flatten": true, "schema": { - "$ref": "#/definitions/PrivateEndpointConnection" + "$ref": "#/definitions/CloudHsmPrivateEndpointConnection" }, "description": "Parameters to validate the PrivateEndpointConnection" } @@ -489,7 +492,7 @@ } }, "schema": { - "$ref": "#/definitions/PrivateEndpointConnection" + "$ref": "#/definitions/CloudHsmPrivateEndpointConnection" } }, "default": { @@ -509,7 +512,7 @@ "tags": [ "" ], - "operationId": "CloudHsmPrivateEndpointConnection_Delete", + "operationId": "CloudHsmPrivateEndpointConnections_Delete", "description": "Deletes the private endpoint connection for the cloud hsm pool.", "x-ms-long-running-operation": true, "x-ms-long-running-operation-options": { @@ -569,7 +572,7 @@ "tags": [ "" ], - "operationId": "CloudHsmPrivateEndpointConnection_Get", + "operationId": "CloudHsmPrivateEndpointConnections_Get", "description": "Gets the private endpoint connection for the cloud hsm pool.", "parameters": [ { @@ -596,7 +599,7 @@ "200": { "description": "Private endpoint connection successfully returned.", "schema": { - "$ref": "#/definitions/PrivateEndpointConnection" + "$ref": "#/definitions/CloudHsmPrivateEndpointConnection" } }, "default": { @@ -618,7 +621,7 @@ "tags": [ "" ], - "operationId": "PrivateEndpointConnections_ListByCloudHsmResource", + "operationId": "PrivateEndpointConnections_ListByCloudHsm", "description": "The List operation gets information about the private endpoint connections associated with the Cloud HSM", "parameters": [ { @@ -653,7 +656,7 @@ }, "x-ms-examples": { "CloudHsmPrivateEndpointConnection_ListByResource_MaximumSet_Gen": { - "$ref": "./examples/PrivateEndpointConnections_ListByCloudHsmResource_MaximumSet_Gen.json" + "$ref": "./examples/CloudHsmPrivateEndpointConnection_ListByCloudHsm_MaximumSet_Gen.json" } } } @@ -678,10 +681,23 @@ } } }, - "CloudHsmResource": { - "required": [ - "location" + "CloudHsm": { + "properties": { + "properties": { + "x-ms-client-flatten": true, + "$ref": "#/definitions/CloudHsmClusterProperties", + "description": "Properties of the Cloud HSM" + } + }, + "allOf": [ + { + "$ref": "#/definitions/CloudHsmResource" + } ], + "description": "Resource information with extended details.", + "type": "object" + }, + "CloudHsmResource": { "properties": { "name": { "type": "string", @@ -702,7 +718,8 @@ "description": "The Cloud HSM Resource id" }, "sku": { - "$ref": "#/definitions/CloudHsmSku" + "$ref": "#/definitions/CloudHsmSku", + "description": "SKU details" }, "tags": { "type": "object", @@ -719,10 +736,6 @@ }, "systemData": { "$ref": "#/definitions/SystemData" - }, - "properties": { - "x-ms-client-flatten": true, - "$ref": "#/definitions/CloudHsmClusterProperties" } }, "description": "Cloud HSM resource", @@ -754,305 +767,41 @@ "description": "Properties of a Cloud HSM resource.", "type": "object" }, - "CloudHsmPatchParameters": { - "properties": { - "tags": { - "type": "object", - "additionalProperties": { - "type": "string" - }, - "description": "Resource tags" - } - }, - "description": "Patchable properties of the dedicated HSM", - "type": "object" - }, - "ConnectionDetails": { - "type": "object", - "description": "Connection details for RemotePrivateEndpoint", - "properties": { - "id": { - "type": "string", - "description": "identifier" - }, - "privateIpAddress": { - "type": "string", - "description": "private Ip Address" - }, - "linkIdentifier": { - "type": "string", - "description": "link Identifier value" - }, - "groupId": { - "type": "string", - "description": "group Id" - }, - "memberName": { - "type": "string", - "description": "member name" - } - } - }, - "ExplicitDnsSetting": { - "type": "object", - "description": "DNS settings for GroupConnectivity", - "properties": { - "fqdn": { - "type": "string", - "description": "Fully qualified domain name" - }, - "aRecord": { - "type": "string", - "description": "aRecord value" - }, - "dnsZoneName": { - "type": "string", - "description": "dnsZoneName value" - } - } - }, - "GroupConnectivityInformation": { + "CloudHsmPrivateEndpointConnection": { "type": "object", - "description": "GroupConnectivity information for PrivateLinkServiceProxy", - "properties": { - "groupId": { - "type": "string", - "description": "GroupConnectivity's group id" - }, - "memberName": { - "type": "string", - "description": "GroupConnectivity's member name" - }, - "customerVisibleFqdns": { - "type": "array", - "description": "GroupConnectivity's customer visible Fully qualified domain name", - "items": { - "type": "string" - } - }, - "explicitDnsSettings": { - "type": "array", - "description": "GroupConnectivity's explicit Dns Settings", - "x-ms-identifiers": [], - "items": { - "$ref": "#/definitions/ExplicitDnsSetting" - } - }, - "internalFqdn": { - "type": "string", - "description": "GroupConnectivity's internal Fully qualified domain name" - } - } - }, - "PrivateEndpointConnection": { - "type": "object", - "description": "private endpoint connection details", + "description": "private endpoint connection resource", "x-ms-azure-resource": true, "properties": { - "id": { - "type": "string", - "description": "identifier", - "readOnly": true - }, - "name": { - "type": "string", - "description": "Private Endpoint Connection name", - "readOnly": true - }, - "type": { - "type": "string", - "description": "Private Endpoint Connection type", - "readOnly": true - }, - "location": { - "type": "string", - "description": "The supported Azure location where the dedicated HSM should be created.", - "x-ms-mutability": [ - "create", - "read" - ] + "properties": { + "x-ms-client-flatten": true, + "$ref": "#/definitions/CloudHsmPrivateEndpointConnectionProperties" }, "etag": { "type": "string", - "description": "ETAG value for Private Endpoint Connection entry" - }, - "systemData": { - "$ref": "#/definitions/SystemData" - }, - "properties": { - "x-ms-client-flatten": true, - "$ref": "#/definitions/PrivateEndpointConnectionProperties" + "description": "Modified whenever there is a change in the state of private endpoint connection." } - } + }, + "allOf": [ + { + "$ref": "#/definitions/CloudHsmResource" + } + ] }, - "PrivateEndpointConnectionProperties": { + "CloudHsmPrivateEndpointConnectionProperties": { "type": "object", "description": "private endpoint connection properties information", "properties": { "provisioningState": { - "type": "string", + "$ref": "#/definitions/CloudHsmPrivateEndpointConnectionProvisioningState", "description": "provisioning state for Private Endpoint Connection properties" }, "privateEndpoint": { - "$ref": "#/definitions/PrivateEndpoint" + "$ref": "#/definitions/CloudHsmPrivateEndpoint", + "description": "Properties of the private endpoint object." }, "privateLinkServiceConnectionState": { - "$ref": "#/definitions/PrivateLinkServiceConnectionState" - } - } - }, - "PrivateEndpointConnectionProxy": { - "type": "object", - "description": "private endpoint connection proxy information", - "x-ms-azure-resource": true, - "properties": { - "id": { - "type": "string", - "description": "identifier", - "readOnly": true - }, - "name": { - "type": "string", - "description": "Private Endpoint Connection proxy name", - "readOnly": true - }, - "type": { - "type": "string", - "description": "Private Endpoint Connection proxy type", - "readOnly": true - }, - "location": { - "type": "string", - "description": "The supported Azure location where the dedicated HSM should be created.", - "x-ms-mutability": [ - "create", - "read" - ] - }, - "etag": { - "type": "string", - "description": "ETAG value for Private Endpoint Connection proxy entry" - }, - "systemData": { - "$ref": "#/definitions/SystemData" - }, - "properties": { - "x-ms-client-flatten": true, - "$ref": "#/definitions/RemotePrivateEndpoint" - } - } - }, - "PrivateLinkServiceConnection": { - "type": "object", - "description": "private link service connection information", - "properties": { - "name": { - "type": "string", - "description": "Private link service connection name" - }, - "groupIds": { - "type": "array", - "description": "List of Private link service connection group Id", - "items": { - "type": "string", - "description": "item for group id for Private link service connection" - } - }, - "requestMessage": { - "type": "string", - "description": "Request message for Private link service connection" - } - } - }, - "PrivateLinkServiceProxy": { - "type": "object", - "description": "private link service proxy information", - "properties": { - "id": { - "type": "string", - "description": "identifier for private link service proxy" - }, - "remotePrivateLinkServiceConnectionState": { - "$ref": "#/definitions/RemotePrivateLinkServiceConnectionState" - }, - "remotePrivateEndpointConnection": { - "$ref": "#/definitions/RemotePrivateEndpointConnection" - }, - "groupConnectivityInformation": { - "type": "array", - "description": "list of group connectivity information for private link service proxy", - "x-ms-identifiers": [], - "items": { - "$ref": "#/definitions/GroupConnectivityInformation" - } - } - } - }, - "RemotePrivateEndpoint": { - "type": "object", - "description": "Remote private endpoint information", - "properties": { - "id": { - "type": "string", - "description": "identifier for remote private endpoint" - }, - "manualPrivateLinkServiceConnections": { - "type": "array", - "description": "list of manual private link service connections", - "x-ms-identifiers": [], - "items": { - "$ref": "#/definitions/PrivateLinkServiceConnection" - } - }, - "privateLinkServiceConnections": { - "type": "array", - "description": "list of private link service connections", - "x-ms-identifiers": [], - "items": { - "$ref": "#/definitions/PrivateLinkServiceConnection" - } - }, - "privateLinkServiceProxies": { - "type": "array", - "description": "list of private link service proxies", - "items": { - "$ref": "#/definitions/PrivateLinkServiceProxy" - } - }, - "connectionDetails": { - "type": "array", - "description": "list of connection details for remote private endpoint", - "items": { - "$ref": "#/definitions/ConnectionDetails" - } - } - } - }, - "RemotePrivateEndpointConnection": { - "type": "object", - "description": "Remote private endpoint connection information", - "properties": { - "id": { - "type": "string", - "description": "identifier for remote private endpoint connection" - } - } - }, - "RemotePrivateLinkServiceConnectionState": { - "type": "object", - "description": "Remote private link service connection state information", - "properties": { - "status": { - "type": "string", - "description": "status of Remote private link service connection state" - }, - "description": { - "type": "string", - "description": "description of Remote private link service connection state" - }, - "actionsRequired": { - "type": "string", - "description": "details of action if any required for Remote private link service connection state" + "$ref": "#/definitions/CloudHsmPrivateLinkServiceConnectionState", + "description": "Approval state of the private link connection." } } }, @@ -1095,7 +844,8 @@ "type": "string", "description": "Sku name of the Cloud HSM Cluster", "enum": [ - "Standard_B1" + "Standard_B1", + "Standard B10" ], "x-ms-enum": { "name": "CloudHsmSkuName", @@ -1142,7 +892,7 @@ "value": { "type": "array", "items": { - "$ref": "#/definitions/CloudHsmResource" + "$ref": "#/definitions/CloudHsm" }, "description": "The list of Cloud HSMs." }, @@ -1215,7 +965,7 @@ "type": "array", "description": "Array of private link resources", "items": { - "$ref": "#/definitions/PrivateLinkResource" + "$ref": "#/definitions/CloudHsmPrivateLinkResource" } }, "nextLink": { @@ -1226,32 +976,23 @@ "description": "A list of private link resources", "type": "object" }, - "PrivateLinkResource": { + "CloudHsmPrivateLinkResource": { "properties": { - "id": { - "type": "string", - "description": "identifier", - "readOnly": true - }, - "name": { - "type": "string", - "description": "Private Endpoint Connection proxy name", - "readOnly": true - }, - "type": { - "type": "string", - "description": "Private Endpoint Connection proxy type", - "readOnly": true - }, "properties": { "x-ms-client-flatten": true, - "$ref": "#/definitions/PrivateLinkResourceProperties" + "description": "Resource properties.", + "$ref": "#/definitions/CloudHsmPrivateLinkResourceProperties" } }, + "allOf": [ + { + "$ref": "#/definitions/CloudHsmResource" + } + ], "description": "A private link resource", "type": "object" }, - "PrivateLinkResourceProperties": { + "CloudHsmPrivateLinkResourceProperties": { "properties": { "groupId": { "description": "Group identifier of private link resource.", @@ -1282,7 +1023,7 @@ "value": { "type": "array", "items": { - "$ref": "#/definitions/PrivateEndpointConnection" + "$ref": "#/definitions/CloudHsmPrivateEndpointConnection" }, "description": "The private endpoint connection associated with a cloud HSM Pools." }, @@ -1294,7 +1035,7 @@ "description": "List of private endpoint connections associated with a cloud HSM Pools", "type": "object" }, - "PrivateEndpoint": { + "CloudHsmPrivateEndpoint": { "properties": { "id": { "readOnly": true, @@ -1305,10 +1046,10 @@ "description": "Private endpoint object.", "type": "object" }, - "PrivateLinkServiceConnectionState": { + "CloudHsmPrivateLinkServiceConnectionState": { "properties": { "status": { - "$ref": "#/definitions/PrivateEndpointServiceConnectionStatus", + "$ref": "#/definitions/CloudHsmPrivateEndpointServiceConnectionStatus", "description": "Indicates whether the connection has been approved, rejected or removed by the key vault owner." }, "description": { @@ -1330,7 +1071,7 @@ "description": "An object that represents the approval state of the private link connection.", "type": "object" }, - "PrivateEndpointServiceConnectionStatus": { + "CloudHsmPrivateEndpointServiceConnectionStatus": { "type": "string", "description": "The private endpoint connection status.", "enum": [ @@ -1344,6 +1085,23 @@ "modelAsString": true } }, + "CloudHsmPrivateEndpointConnectionProvisioningState": { + "type": "string", + "readOnly": true, + "description": "The current provisioning state.", + "enum": [ + "Succeeded", + "Creating", + "Updating", + "Deleting", + "Failed", + "Disconnected" + ], + "x-ms-enum": { + "name": "PrivateEndpointConnectionProvisioningState", + "modelAsString": true + } + }, "SystemData": { "description": "Metadata pertaining to creation and last modification of the key vault resource.", "readOnly": true, @@ -1398,27 +1156,21 @@ "in": "path", "required": true, "type": "string", - "format": "uuid", - "description": "The ID of the target subscription.", - "minLength": 1 + "description": "Subscription credentials which uniquely identify Microsoft Azure subscription. The subscription ID forms part of the URI for every service call." }, "ApiVersion": { "name": "api-version", "in": "query", "required": true, "type": "string", - "description": "The API version to use for this operation.", - "minLength": 1 + "description": "Client Api Version." }, "ResourceGroupName": { "name": "resourceGroupName", "in": "path", "required": true, "type": "string", - "description": "The name of the resource group within the user's subscription. The name is case insensitive.", - "pattern": "^[-\\w\\._\\(\\)]+$", - "minLength": 1, - "maxLength": 90, + "description": "Name of the resource group that contains the managed HSM pool.", "x-ms-parameter-location": "method" }, "cloudHsmClusterName": { diff --git a/specification/hardwaresecuritymodules/resource-manager/Microsoft.HardwareSecurityModules/preview/2022-08-31-preview/examples/PrivateEndpointConnections_ListByCloudHsmResource_MaximumSet_Gen.json b/specification/hardwaresecuritymodules/resource-manager/Microsoft.HardwareSecurityModules/preview/2022-08-31-preview/examples/CloudHsmPrivateEndpointConnection_ListByCloudHsm_MaximumSet_Gen.json similarity index 100% rename from specification/hardwaresecuritymodules/resource-manager/Microsoft.HardwareSecurityModules/preview/2022-08-31-preview/examples/PrivateEndpointConnections_ListByCloudHsmResource_MaximumSet_Gen.json rename to specification/hardwaresecuritymodules/resource-manager/Microsoft.HardwareSecurityModules/preview/2022-08-31-preview/examples/CloudHsmPrivateEndpointConnection_ListByCloudHsm_MaximumSet_Gen.json diff --git a/specification/hardwaresecuritymodules/resource-manager/Microsoft.HardwareSecurityModules/preview/2022-08-31-preview/examples/PrivateLinkResources_ListByCloudHsmResource_MaximumSet_Gen.json b/specification/hardwaresecuritymodules/resource-manager/Microsoft.HardwareSecurityModules/preview/2022-08-31-preview/examples/CloudHsmPrivateLinkResource_ListByCloudHsm_MaximumSet_Gen.json similarity index 96% rename from specification/hardwaresecuritymodules/resource-manager/Microsoft.HardwareSecurityModules/preview/2022-08-31-preview/examples/PrivateLinkResources_ListByCloudHsmResource_MaximumSet_Gen.json rename to specification/hardwaresecuritymodules/resource-manager/Microsoft.HardwareSecurityModules/preview/2022-08-31-preview/examples/CloudHsmPrivateLinkResource_ListByCloudHsm_MaximumSet_Gen.json index aa6de609c537..d9d539effd33 100644 --- a/specification/hardwaresecuritymodules/resource-manager/Microsoft.HardwareSecurityModules/preview/2022-08-31-preview/examples/PrivateLinkResources_ListByCloudHsmResource_MaximumSet_Gen.json +++ b/specification/hardwaresecuritymodules/resource-manager/Microsoft.HardwareSecurityModules/preview/2022-08-31-preview/examples/CloudHsmPrivateLinkResource_ListByCloudHsm_MaximumSet_Gen.json @@ -25,7 +25,8 @@ ] } } - ] + ], + "nextLink": "null" } } } From 03fcb482f986e96f023a81c93d374cd9614314d0 Mon Sep 17 00:00:00 2001 From: GoradeAarti Date: Tue, 13 Sep 2022 15:25:50 -0700 Subject: [PATCH 16/69] fixed LintDiff errors --- .../preview/2022-08-31-preview/cloudhsm.json | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/specification/hardwaresecuritymodules/resource-manager/Microsoft.HardwareSecurityModules/preview/2022-08-31-preview/cloudhsm.json b/specification/hardwaresecuritymodules/resource-manager/Microsoft.HardwareSecurityModules/preview/2022-08-31-preview/cloudhsm.json index ab4adfacb193..e4e2bcd7c630 100644 --- a/specification/hardwaresecuritymodules/resource-manager/Microsoft.HardwareSecurityModules/preview/2022-08-31-preview/cloudhsm.json +++ b/specification/hardwaresecuritymodules/resource-manager/Microsoft.HardwareSecurityModules/preview/2022-08-31-preview/cloudhsm.json @@ -128,7 +128,6 @@ "in": "body", "name": "body", "required": true, - "x-ms-client-flatten": true, "schema": { "$ref": "#/definitions/CloudHsm" }, @@ -1095,7 +1094,8 @@ "Updating", "Deleting", "Failed", - "Disconnected" + "Disconnected", + "Canceled" ], "x-ms-enum": { "name": "PrivateEndpointConnectionProvisioningState", From e7fbce9b5c98775c28b1ac2709ce72bb5ad0ea6a Mon Sep 17 00:00:00 2001 From: GoradeAarti Date: Tue, 13 Sep 2022 15:47:36 -0700 Subject: [PATCH 17/69] fixed linfdiff errors --- .../preview/2022-08-31-preview/cloudhsm.json | 21 ++++++++++++++++++- 1 file changed, 20 insertions(+), 1 deletion(-) diff --git a/specification/hardwaresecuritymodules/resource-manager/Microsoft.HardwareSecurityModules/preview/2022-08-31-preview/cloudhsm.json b/specification/hardwaresecuritymodules/resource-manager/Microsoft.HardwareSecurityModules/preview/2022-08-31-preview/cloudhsm.json index e4e2bcd7c630..64417ff19df8 100644 --- a/specification/hardwaresecuritymodules/resource-manager/Microsoft.HardwareSecurityModules/preview/2022-08-31-preview/cloudhsm.json +++ b/specification/hardwaresecuritymodules/resource-manager/Microsoft.HardwareSecurityModules/preview/2022-08-31-preview/cloudhsm.json @@ -128,8 +128,9 @@ "in": "body", "name": "body", "required": true, + "x-ms-client-flatten": true, "schema": { - "$ref": "#/definitions/CloudHsm" + "$ref": "#/definitions/CloudHsmPatchParameters" }, "description": "Parameters to create Cloud HSM" } @@ -766,6 +767,24 @@ "description": "Properties of a Cloud HSM resource.", "type": "object" }, + "CloudHsmPatchParameters": { + "properties": { + "tags": { + "type": "object", + "description": "The Cloud HSM Resource tags", + "additionalProperties": { + "type": "string", + "description": "The Cloud HSM Resource tags additional properties" + } + }, + "sku": { + "$ref": "#/definitions/CloudHsmSku", + "description": "SKU details" + } + }, + "description": "Patchable properties of the Cloud HSM", + "type": "object" + }, "CloudHsmPrivateEndpointConnection": { "type": "object", "description": "private endpoint connection resource", From eaba1067d8cdf6ea1b74036ae044786d9423d791 Mon Sep 17 00:00:00 2001 From: GoradeAarti Date: Tue, 13 Sep 2022 16:09:46 -0700 Subject: [PATCH 18/69] fixed staging LintDiff errors --- .../preview/2022-08-31-preview/cloudhsm.json | 83 ++++++++++++++++++- ...pointConnection_Update_MaximumSet_Gen.json | 45 ++++++++++ 2 files changed, 127 insertions(+), 1 deletion(-) create mode 100644 specification/hardwaresecuritymodules/resource-manager/Microsoft.HardwareSecurityModules/preview/2022-08-31-preview/examples/CloudHsmPrivateEndpointConnection_Update_MaximumSet_Gen.json diff --git a/specification/hardwaresecuritymodules/resource-manager/Microsoft.HardwareSecurityModules/preview/2022-08-31-preview/cloudhsm.json b/specification/hardwaresecuritymodules/resource-manager/Microsoft.HardwareSecurityModules/preview/2022-08-31-preview/cloudhsm.json index 64417ff19df8..e19aca353b74 100644 --- a/specification/hardwaresecuritymodules/resource-manager/Microsoft.HardwareSecurityModules/preview/2022-08-31-preview/cloudhsm.json +++ b/specification/hardwaresecuritymodules/resource-manager/Microsoft.HardwareSecurityModules/preview/2022-08-31-preview/cloudhsm.json @@ -474,7 +474,7 @@ "schema": { "$ref": "#/definitions/CloudHsmPrivateEndpointConnection" }, - "description": "Parameters to validate the PrivateEndpointConnection" + "description": "Parameters of the PrivateEndpointConnection" } ], "responses": { @@ -508,6 +508,73 @@ } } }, + "patch": { + "tags": [ + "" + ], + "operationId": "CloudHsmPrivateEndpointConnections_Update", + "description": "Updates the private endpoint connection for the cloud hsm pool.", + "parameters": [ + { + "$ref": "#/parameters/SubscriptionId" + }, + { + "$ref": "#/parameters/ResourceGroupName" + }, + { + "$ref": "#/parameters/cloudHsmClusterName" + }, + { + "$ref": "#/parameters/ApiVersion" + }, + { + "in": "path", + "name": "peConnectionName", + "required": true, + "type": "string", + "description": "PrivateEndpointConnection name" + }, + { + "in": "body", + "name": "properties", + "x-ms-client-flatten": true, + "schema": { + "$ref": "#/definitions/CloudHsmPrivateEndpointConnectionPatchParameters" + }, + "description": "Parameters to patch the PrivateEndpointConnection" + } + ], + "responses": { + "200": { + "description": "The state of private endpoint connection was updated successfully.", + "headers": { + "Retry-After": { + "description": "(specified only if operation does not finish synchronously) The recommended number of seconds to wait before calling the URI specified in Azure-AsyncOperation.", + "type": "integer", + "format": "int32" + }, + "Azure-AsyncOperation": { + "description": "(specified only if operation does not finish synchronously) The URI to poll for completion status. The response of this URI may be synchronous or asynchronous.", + "type": "string" + } + }, + "schema": { + "$ref": "#/definitions/CloudHsmPrivateEndpointConnection" + } + }, + "default": { + "description": "The error response describing why the operation failed.", + "schema": { + "$ref": "#/definitions/CloudHsmError" + } + } + }, + "x-ms-examples": { + "CloudHsmPrivateEndpointConnection_Update_MaximumSet_Gen": { + "$ref": "./examples/CloudHsmPrivateEndpointConnection_Update_MaximumSet_Gen.json" + } + } + }, "delete": { "tags": [ "" @@ -785,6 +852,20 @@ "description": "Patchable properties of the Cloud HSM", "type": "object" }, + "CloudHsmPrivateEndpointConnectionPatchParameters": { + "properties": { + "tags": { + "type": "object", + "description": "The Cloud HSM PrivateEndpointConnection tags", + "additionalProperties": { + "type": "string", + "description": "The Cloud HSM PrivateEndpointConnection tags additional properties" + } + } + }, + "description": "Patchable properties of the Cloud HSM PrivateEndpointConnection", + "type": "object" + }, "CloudHsmPrivateEndpointConnection": { "type": "object", "description": "private endpoint connection resource", diff --git a/specification/hardwaresecuritymodules/resource-manager/Microsoft.HardwareSecurityModules/preview/2022-08-31-preview/examples/CloudHsmPrivateEndpointConnection_Update_MaximumSet_Gen.json b/specification/hardwaresecuritymodules/resource-manager/Microsoft.HardwareSecurityModules/preview/2022-08-31-preview/examples/CloudHsmPrivateEndpointConnection_Update_MaximumSet_Gen.json new file mode 100644 index 000000000000..e7693cea0d02 --- /dev/null +++ b/specification/hardwaresecuritymodules/resource-manager/Microsoft.HardwareSecurityModules/preview/2022-08-31-preview/examples/CloudHsmPrivateEndpointConnection_Update_MaximumSet_Gen.json @@ -0,0 +1,45 @@ +{ + "parameters": { + "subscriptionId": "00000000-0000-0000-0000-000000000000", + "resourceGroupName": "rgcloudhsm", + "cloudHsmClusterName": "chsm1", + "api-version": "2022-08-31-preview", + "peConnectionName": "sample-pec", + "properties": { + "tags": { + "Dept": "private" + } + } + }, + "responses": { + "200": { + "body": { + "id": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/rgcloudhsm/providers/Microsoft.HardwareSecurityModules/cloudHsmClusters/chsm1/privateEndpointConnections/sample-pec", + "name": "sample-pec", + "type": "Microsoft.HardwareSecurityModules/cloudHsmClusters/privateEndpointConnections", + "tags": { + "Dept": "private" + }, + "systemData": { + "createdBy": "User1", + "createdByType": "User", + "createdAt": "2020-01-01T12:00:00.0000000Z", + "lastModifiedBy": "User2", + "lastModifiedByType": "User", + "lastModifiedAt": "2020-01-01T12:00:00.0000000Z" + }, + "properties": { + "provisioningState": "Succeeded", + "privateEndpoint": { + "id": "/subscriptions/00000000-0000-0000-1234-000000000000/resourceGroups/rgcloudhsm/providers/Microsoft.Network/privateEndpoints/sample-pec" + }, + "privateLinkServiceConnectionState": { + "status": "Approved", + "description": "My name is Joe and I'm approving this.", + "actionsRequired": "None" + } + } + } + } + } +} From 313b98871d4d9dfa94a3b8321b82a5263829cdd5 Mon Sep 17 00:00:00 2001 From: GoradeAarti Date: Tue, 13 Sep 2022 16:28:52 -0700 Subject: [PATCH 19/69] fixed LintDiff errors --- .../preview/2022-08-31-preview/cloudhsm.json | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/specification/hardwaresecuritymodules/resource-manager/Microsoft.HardwareSecurityModules/preview/2022-08-31-preview/cloudhsm.json b/specification/hardwaresecuritymodules/resource-manager/Microsoft.HardwareSecurityModules/preview/2022-08-31-preview/cloudhsm.json index e19aca353b74..756e70a733f6 100644 --- a/specification/hardwaresecuritymodules/resource-manager/Microsoft.HardwareSecurityModules/preview/2022-08-31-preview/cloudhsm.json +++ b/specification/hardwaresecuritymodules/resource-manager/Microsoft.HardwareSecurityModules/preview/2022-08-31-preview/cloudhsm.json @@ -861,6 +861,10 @@ "type": "string", "description": "The Cloud HSM PrivateEndpointConnection tags additional properties" } + }, + "sku": { + "$ref": "#/definitions/CloudHsmSku", + "description": "SKU details" } }, "description": "Patchable properties of the Cloud HSM PrivateEndpointConnection", From 6a0b9340d94fc656d14c66d2b6aeba7a6a6fbd45 Mon Sep 17 00:00:00 2001 From: GoradeAarti Date: Tue, 13 Sep 2022 20:21:34 -0700 Subject: [PATCH 20/69] fixed lintdiff errors --- .../preview/2022-08-31-preview/cloudhsm.json | 85 ------------------- ...pointConnection_Update_MaximumSet_Gen.json | 45 ---------- 2 files changed, 130 deletions(-) delete mode 100644 specification/hardwaresecuritymodules/resource-manager/Microsoft.HardwareSecurityModules/preview/2022-08-31-preview/examples/CloudHsmPrivateEndpointConnection_Update_MaximumSet_Gen.json diff --git a/specification/hardwaresecuritymodules/resource-manager/Microsoft.HardwareSecurityModules/preview/2022-08-31-preview/cloudhsm.json b/specification/hardwaresecuritymodules/resource-manager/Microsoft.HardwareSecurityModules/preview/2022-08-31-preview/cloudhsm.json index 756e70a733f6..2786d117f275 100644 --- a/specification/hardwaresecuritymodules/resource-manager/Microsoft.HardwareSecurityModules/preview/2022-08-31-preview/cloudhsm.json +++ b/specification/hardwaresecuritymodules/resource-manager/Microsoft.HardwareSecurityModules/preview/2022-08-31-preview/cloudhsm.json @@ -508,73 +508,6 @@ } } }, - "patch": { - "tags": [ - "" - ], - "operationId": "CloudHsmPrivateEndpointConnections_Update", - "description": "Updates the private endpoint connection for the cloud hsm pool.", - "parameters": [ - { - "$ref": "#/parameters/SubscriptionId" - }, - { - "$ref": "#/parameters/ResourceGroupName" - }, - { - "$ref": "#/parameters/cloudHsmClusterName" - }, - { - "$ref": "#/parameters/ApiVersion" - }, - { - "in": "path", - "name": "peConnectionName", - "required": true, - "type": "string", - "description": "PrivateEndpointConnection name" - }, - { - "in": "body", - "name": "properties", - "x-ms-client-flatten": true, - "schema": { - "$ref": "#/definitions/CloudHsmPrivateEndpointConnectionPatchParameters" - }, - "description": "Parameters to patch the PrivateEndpointConnection" - } - ], - "responses": { - "200": { - "description": "The state of private endpoint connection was updated successfully.", - "headers": { - "Retry-After": { - "description": "(specified only if operation does not finish synchronously) The recommended number of seconds to wait before calling the URI specified in Azure-AsyncOperation.", - "type": "integer", - "format": "int32" - }, - "Azure-AsyncOperation": { - "description": "(specified only if operation does not finish synchronously) The URI to poll for completion status. The response of this URI may be synchronous or asynchronous.", - "type": "string" - } - }, - "schema": { - "$ref": "#/definitions/CloudHsmPrivateEndpointConnection" - } - }, - "default": { - "description": "The error response describing why the operation failed.", - "schema": { - "$ref": "#/definitions/CloudHsmError" - } - } - }, - "x-ms-examples": { - "CloudHsmPrivateEndpointConnection_Update_MaximumSet_Gen": { - "$ref": "./examples/CloudHsmPrivateEndpointConnection_Update_MaximumSet_Gen.json" - } - } - }, "delete": { "tags": [ "" @@ -852,24 +785,6 @@ "description": "Patchable properties of the Cloud HSM", "type": "object" }, - "CloudHsmPrivateEndpointConnectionPatchParameters": { - "properties": { - "tags": { - "type": "object", - "description": "The Cloud HSM PrivateEndpointConnection tags", - "additionalProperties": { - "type": "string", - "description": "The Cloud HSM PrivateEndpointConnection tags additional properties" - } - }, - "sku": { - "$ref": "#/definitions/CloudHsmSku", - "description": "SKU details" - } - }, - "description": "Patchable properties of the Cloud HSM PrivateEndpointConnection", - "type": "object" - }, "CloudHsmPrivateEndpointConnection": { "type": "object", "description": "private endpoint connection resource", diff --git a/specification/hardwaresecuritymodules/resource-manager/Microsoft.HardwareSecurityModules/preview/2022-08-31-preview/examples/CloudHsmPrivateEndpointConnection_Update_MaximumSet_Gen.json b/specification/hardwaresecuritymodules/resource-manager/Microsoft.HardwareSecurityModules/preview/2022-08-31-preview/examples/CloudHsmPrivateEndpointConnection_Update_MaximumSet_Gen.json deleted file mode 100644 index e7693cea0d02..000000000000 --- a/specification/hardwaresecuritymodules/resource-manager/Microsoft.HardwareSecurityModules/preview/2022-08-31-preview/examples/CloudHsmPrivateEndpointConnection_Update_MaximumSet_Gen.json +++ /dev/null @@ -1,45 +0,0 @@ -{ - "parameters": { - "subscriptionId": "00000000-0000-0000-0000-000000000000", - "resourceGroupName": "rgcloudhsm", - "cloudHsmClusterName": "chsm1", - "api-version": "2022-08-31-preview", - "peConnectionName": "sample-pec", - "properties": { - "tags": { - "Dept": "private" - } - } - }, - "responses": { - "200": { - "body": { - "id": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/rgcloudhsm/providers/Microsoft.HardwareSecurityModules/cloudHsmClusters/chsm1/privateEndpointConnections/sample-pec", - "name": "sample-pec", - "type": "Microsoft.HardwareSecurityModules/cloudHsmClusters/privateEndpointConnections", - "tags": { - "Dept": "private" - }, - "systemData": { - "createdBy": "User1", - "createdByType": "User", - "createdAt": "2020-01-01T12:00:00.0000000Z", - "lastModifiedBy": "User2", - "lastModifiedByType": "User", - "lastModifiedAt": "2020-01-01T12:00:00.0000000Z" - }, - "properties": { - "provisioningState": "Succeeded", - "privateEndpoint": { - "id": "/subscriptions/00000000-0000-0000-1234-000000000000/resourceGroups/rgcloudhsm/providers/Microsoft.Network/privateEndpoints/sample-pec" - }, - "privateLinkServiceConnectionState": { - "status": "Approved", - "description": "My name is Joe and I'm approving this.", - "actionsRequired": "None" - } - } - } - } - } -} From 4f4a3f76127adb3b2faa985f02838659ea77ca64 Mon Sep 17 00:00:00 2001 From: GoradeAarti Date: Wed, 14 Sep 2022 10:52:54 -0700 Subject: [PATCH 21/69] removed pageable extention from CloudHsmPrivateLinkResource_ListByCloudHsm --- .../preview/2022-08-31-preview/cloudhsm.json | 16 ++++++---------- ...nkResource_ListByCloudHsm_MaximumSet_Gen.json | 3 +-- 2 files changed, 7 insertions(+), 12 deletions(-) diff --git a/specification/hardwaresecuritymodules/resource-manager/Microsoft.HardwareSecurityModules/preview/2022-08-31-preview/cloudhsm.json b/specification/hardwaresecuritymodules/resource-manager/Microsoft.HardwareSecurityModules/preview/2022-08-31-preview/cloudhsm.json index 2786d117f275..3b138613e4dc 100644 --- a/specification/hardwaresecuritymodules/resource-manager/Microsoft.HardwareSecurityModules/preview/2022-08-31-preview/cloudhsm.json +++ b/specification/hardwaresecuritymodules/resource-manager/Microsoft.HardwareSecurityModules/preview/2022-08-31-preview/cloudhsm.json @@ -400,7 +400,7 @@ "tags": [ "" ], - "operationId": "CloudHsmPrivateLinkResources_ListByCloudHsmResource", + "operationId": "CloudHsmPrivateLinkResources_ListByCloudHsm", "description": "Gets the private link resources supported for the cloud hsm pool.", "parameters": [ { @@ -430,9 +430,6 @@ } } }, - "x-ms-pageable": { - "nextLinkName": "nextLink" - }, "x-ms-examples": { "CloudHsmPrivateLinkResources_ListByResource_MaximumSet_Gen": { "$ref": "./examples/CloudHsmPrivateLinkResource_ListByCloudHsm_MaximumSet_Gen.json" @@ -706,7 +703,7 @@ }, "location": { "type": "string", - "description": "The supported Azure location where the dedicated HSM should be created.", + "description": "The supported Azure location where the Cloud HSM should be created.", "x-ms-mutability": [ "create", "read" @@ -899,6 +896,9 @@ "description": "The error message." }, "innererror": { + "x-ms-client-name": "innerError", + "readOnly": true, + "description": "The inner error, contains a more specific error code.", "$ref": "#/definitions/Error" } }, @@ -985,10 +985,6 @@ "items": { "$ref": "#/definitions/CloudHsmPrivateLinkResource" } - }, - "nextLink": { - "type": "string", - "description": "The URL to get the next set of operations." } }, "description": "A list of private link resources", @@ -1058,7 +1054,7 @@ "id": { "readOnly": true, "type": "string", - "description": "Full identifier of the private endpoint resource." + "description": "Full resource identifier of the private endpoint resource." } }, "description": "Private endpoint object.", diff --git a/specification/hardwaresecuritymodules/resource-manager/Microsoft.HardwareSecurityModules/preview/2022-08-31-preview/examples/CloudHsmPrivateLinkResource_ListByCloudHsm_MaximumSet_Gen.json b/specification/hardwaresecuritymodules/resource-manager/Microsoft.HardwareSecurityModules/preview/2022-08-31-preview/examples/CloudHsmPrivateLinkResource_ListByCloudHsm_MaximumSet_Gen.json index d9d539effd33..aa6de609c537 100644 --- a/specification/hardwaresecuritymodules/resource-manager/Microsoft.HardwareSecurityModules/preview/2022-08-31-preview/examples/CloudHsmPrivateLinkResource_ListByCloudHsm_MaximumSet_Gen.json +++ b/specification/hardwaresecuritymodules/resource-manager/Microsoft.HardwareSecurityModules/preview/2022-08-31-preview/examples/CloudHsmPrivateLinkResource_ListByCloudHsm_MaximumSet_Gen.json @@ -25,8 +25,7 @@ ] } } - ], - "nextLink": "null" + ] } } } From 048d0d362b670ed8be386116f29fc6a0f9cb37a0 Mon Sep 17 00:00:00 2001 From: GoradeAarti Date: Wed, 14 Sep 2022 10:59:20 -0700 Subject: [PATCH 22/69] renamings --- .../preview/2022-08-31-preview/cloudhsm.json | 14 +++++++------- 1 file changed, 7 insertions(+), 7 deletions(-) diff --git a/specification/hardwaresecuritymodules/resource-manager/Microsoft.HardwareSecurityModules/preview/2022-08-31-preview/cloudhsm.json b/specification/hardwaresecuritymodules/resource-manager/Microsoft.HardwareSecurityModules/preview/2022-08-31-preview/cloudhsm.json index 3b138613e4dc..9d2b96a61177 100644 --- a/specification/hardwaresecuritymodules/resource-manager/Microsoft.HardwareSecurityModules/preview/2022-08-31-preview/cloudhsm.json +++ b/specification/hardwaresecuritymodules/resource-manager/Microsoft.HardwareSecurityModules/preview/2022-08-31-preview/cloudhsm.json @@ -401,7 +401,7 @@ "" ], "operationId": "CloudHsmPrivateLinkResources_ListByCloudHsm", - "description": "Gets the private link resources supported for the cloud hsm pool.", + "description": "Gets the private link resources supported for the cloud hsm cluster.", "parameters": [ { "$ref": "#/parameters/SubscriptionId" @@ -443,7 +443,7 @@ "" ], "operationId": "CloudHsmPrivateEndpointConnections_Create", - "description": "Creates the private endpoint connection for the cloud hsm pool.", + "description": "Creates or updates the private endpoint connection for the cloud hsm cluster.", "parameters": [ { "$ref": "#/parameters/SubscriptionId" @@ -510,7 +510,7 @@ "" ], "operationId": "CloudHsmPrivateEndpointConnections_Delete", - "description": "Deletes the private endpoint connection for the cloud hsm pool.", + "description": "Deletes the private endpoint connection for the cloud hsm cluster.", "x-ms-long-running-operation": true, "x-ms-long-running-operation-options": { "final-state-via": "location" @@ -570,7 +570,7 @@ "" ], "operationId": "CloudHsmPrivateEndpointConnections_Get", - "description": "Gets the private endpoint connection for the cloud hsm pool.", + "description": "Gets the private endpoint connection for the cloud hsm cluster.", "parameters": [ { "$ref": "#/parameters/SubscriptionId" @@ -1039,14 +1039,14 @@ "items": { "$ref": "#/definitions/CloudHsmPrivateEndpointConnection" }, - "description": "The private endpoint connection associated with a cloud HSM Pools." + "description": "The private endpoint connection associated with a cloud HSM clusters." }, "nextLink": { "type": "string", "description": "The URL to get the next set of cloud HSM Pools." } }, - "description": "List of private endpoint connections associated with a cloud HSM Pools", + "description": "List of private endpoint connections associated with a cloud HSM clusters", "type": "object" }, "CloudHsmPrivateEndpoint": { @@ -1185,7 +1185,7 @@ "in": "path", "required": true, "type": "string", - "description": "Name of the resource group that contains the managed HSM pool.", + "description": "Name of the resource group that contains the Cloud HSM cluster.", "x-ms-parameter-location": "method" }, "cloudHsmClusterName": { From bb4ce4a2b8ca33d26028576e7197415f35eb0bee Mon Sep 17 00:00:00 2001 From: GoradeAarti Date: Wed, 14 Sep 2022 14:41:45 -0700 Subject: [PATCH 23/69] used referecing for private endpoint connection and private link resource under common types --- .../preview/2022-08-31-preview/cloudhsm.json | 343 +++--------------- ...nection_ListByCloudHsm_MaximumSet_Gen.json | 5 +- 2 files changed, 42 insertions(+), 306 deletions(-) diff --git a/specification/hardwaresecuritymodules/resource-manager/Microsoft.HardwareSecurityModules/preview/2022-08-31-preview/cloudhsm.json b/specification/hardwaresecuritymodules/resource-manager/Microsoft.HardwareSecurityModules/preview/2022-08-31-preview/cloudhsm.json index 9d2b96a61177..5d045c1664cd 100644 --- a/specification/hardwaresecuritymodules/resource-manager/Microsoft.HardwareSecurityModules/preview/2022-08-31-preview/cloudhsm.json +++ b/specification/hardwaresecuritymodules/resource-manager/Microsoft.HardwareSecurityModules/preview/2022-08-31-preview/cloudhsm.json @@ -47,16 +47,16 @@ }, "parameters": [ { - "$ref": "#/parameters/SubscriptionId" + "$ref": "../../../../../common-types/resource-management/v3/types.json#/parameters/SubscriptionIdParameter" }, { - "$ref": "#/parameters/ResourceGroupName" + "$ref": "../../../../../common-types/resource-management/v3/types.json#/parameters/ResourceGroupNameParameter" }, { "$ref": "#/parameters/cloudHsmClusterName" }, { - "$ref": "#/parameters/ApiVersion" + "$ref": "../../../../../common-types/resource-management/v3/types.json#/parameters/ApiVersionParameter" }, { "in": "body", @@ -113,16 +113,16 @@ "description": "Update a Cloud HSM in the specified subscription.", "parameters": [ { - "$ref": "#/parameters/SubscriptionId" + "$ref": "../../../../../common-types/resource-management/v3/types.json#/parameters/SubscriptionIdParameter" }, { - "$ref": "#/parameters/ResourceGroupName" + "$ref": "../../../../../common-types/resource-management/v3/types.json#/parameters/ResourceGroupNameParameter" }, { "$ref": "#/parameters/cloudHsmClusterName" }, { - "$ref": "#/parameters/ApiVersion" + "$ref": "../../../../../common-types/resource-management/v3/types.json#/parameters/ApiVersionParameter" }, { "in": "body", @@ -175,16 +175,16 @@ "description": "Gets the specified Cloud HSM.", "parameters": [ { - "$ref": "#/parameters/SubscriptionId" + "$ref": "../../../../../common-types/resource-management/v3/types.json#/parameters/SubscriptionIdParameter" }, { - "$ref": "#/parameters/ResourceGroupName" + "$ref": "../../../../../common-types/resource-management/v3/types.json#/parameters/ResourceGroupNameParameter" }, { "$ref": "#/parameters/cloudHsmClusterName" }, { - "$ref": "#/parameters/ApiVersion" + "$ref": "../../../../../common-types/resource-management/v3/types.json#/parameters/ApiVersionParameter" } ], "responses": { @@ -219,16 +219,16 @@ }, "parameters": [ { - "$ref": "#/parameters/SubscriptionId" + "$ref": "../../../../../common-types/resource-management/v3/types.json#/parameters/SubscriptionIdParameter" }, { - "$ref": "#/parameters/ResourceGroupName" + "$ref": "../../../../../common-types/resource-management/v3/types.json#/parameters/ResourceGroupNameParameter" }, { "$ref": "#/parameters/cloudHsmClusterName" }, { - "$ref": "#/parameters/ApiVersion" + "$ref": "../../../../../common-types/resource-management/v3/types.json#/parameters/ApiVersionParameter" } ], "responses": { @@ -270,10 +270,10 @@ "description": "The List operation gets information about the Cloud HSMs associated with the subscription and within the specified resource group.", "parameters": [ { - "$ref": "#/parameters/SubscriptionId" + "$ref": "../../../../../common-types/resource-management/v3/types.json#/parameters/SubscriptionIdParameter" }, { - "$ref": "#/parameters/ResourceGroupName" + "$ref": "../../../../../common-types/resource-management/v3/types.json#/parameters/ResourceGroupNameParameter" }, { "in": "query", @@ -283,7 +283,7 @@ "description": "Maximum number of results to return." }, { - "$ref": "#/parameters/ApiVersion" + "$ref": "../../../../../common-types/resource-management/v3/types.json#/parameters/ApiVersionParameter" } ], "responses": { @@ -319,7 +319,7 @@ "description": "The List operation gets information about the Cloud HSMs associated with the subscription.", "parameters": [ { - "$ref": "#/parameters/SubscriptionId" + "$ref": "../../../../../common-types/resource-management/v3/types.json#/parameters/SubscriptionIdParameter" }, { "in": "query", @@ -329,7 +329,7 @@ "description": "Maximum number of results to return." }, { - "$ref": "#/parameters/ApiVersion" + "$ref": "../../../../../common-types/resource-management/v3/types.json#/parameters/ApiVersionParameter" } ], "responses": { @@ -365,7 +365,7 @@ "description": "Get a list of Cloud HSM operations.", "parameters": [ { - "$ref": "#/parameters/ApiVersion" + "$ref": "../../../../../common-types/resource-management/v3/types.json#/parameters/ApiVersionParameter" } ], "responses": { @@ -404,23 +404,23 @@ "description": "Gets the private link resources supported for the cloud hsm cluster.", "parameters": [ { - "$ref": "#/parameters/SubscriptionId" + "$ref": "../../../../../common-types/resource-management/v3/types.json#/parameters/SubscriptionIdParameter" }, { - "$ref": "#/parameters/ResourceGroupName" + "$ref": "../../../../../common-types/resource-management/v3/types.json#/parameters/ResourceGroupNameParameter" }, { "$ref": "#/parameters/cloudHsmClusterName" }, { - "$ref": "#/parameters/ApiVersion" + "$ref": "../../../../../common-types/resource-management/v3/types.json#/parameters/ApiVersionParameter" } ], "responses": { "200": { "description": "Successfully retrieved private link resources.", "schema": { - "$ref": "#/definitions/CloudHsmPrivateLinkResourceListResult" + "$ref": "../../../../../common-types/resource-management/v4/privatelinks.json#/definitions/PrivateLinkResourceListResult" } }, "default": { @@ -446,16 +446,16 @@ "description": "Creates or updates the private endpoint connection for the cloud hsm cluster.", "parameters": [ { - "$ref": "#/parameters/SubscriptionId" + "$ref": "../../../../../common-types/resource-management/v3/types.json#/parameters/SubscriptionIdParameter" }, { - "$ref": "#/parameters/ResourceGroupName" + "$ref": "../../../../../common-types/resource-management/v3/types.json#/parameters/ResourceGroupNameParameter" }, { "$ref": "#/parameters/cloudHsmClusterName" }, { - "$ref": "#/parameters/ApiVersion" + "$ref": "../../../../../common-types/resource-management/v3/types.json#/parameters/ApiVersionParameter" }, { "in": "path", @@ -467,29 +467,18 @@ { "in": "body", "name": "properties", - "x-ms-client-flatten": true, + "required": true, "schema": { - "$ref": "#/definitions/CloudHsmPrivateEndpointConnection" + "$ref": "../../../../../common-types/resource-management/v4/privatelinks.json#/definitions/PrivateEndpointConnection" }, "description": "Parameters of the PrivateEndpointConnection" } ], "responses": { "200": { - "description": "The state of private endpoint connection was updated successfully.", - "headers": { - "Retry-After": { - "description": "(specified only if operation does not finish synchronously) The recommended number of seconds to wait before calling the URI specified in Azure-AsyncOperation.", - "type": "integer", - "format": "int32" - }, - "Azure-AsyncOperation": { - "description": "(specified only if operation does not finish synchronously) The URI to poll for completion status. The response of this URI may be synchronous or asynchronous.", - "type": "string" - } - }, + "description": "OK -- Update the private endpoint connection properties successfully.", "schema": { - "$ref": "#/definitions/CloudHsmPrivateEndpointConnection" + "$ref": "../../../../../common-types/resource-management/v4/privatelinks.json#/definitions/PrivateEndpointConnection" } }, "default": { @@ -517,16 +506,16 @@ }, "parameters": [ { - "$ref": "#/parameters/SubscriptionId" + "$ref": "../../../../../common-types/resource-management/v3/types.json#/parameters/SubscriptionIdParameter" }, { - "$ref": "#/parameters/ResourceGroupName" + "$ref": "../../../../../common-types/resource-management/v3/types.json#/parameters/ResourceGroupNameParameter" }, { "$ref": "#/parameters/cloudHsmClusterName" }, { - "$ref": "#/parameters/ApiVersion" + "$ref": "../../../../../common-types/resource-management/v3/types.json#/parameters/ApiVersionParameter" }, { "in": "path", @@ -573,16 +562,16 @@ "description": "Gets the private endpoint connection for the cloud hsm cluster.", "parameters": [ { - "$ref": "#/parameters/SubscriptionId" + "$ref": "../../../../../common-types/resource-management/v3/types.json#/parameters/SubscriptionIdParameter" }, { - "$ref": "#/parameters/ResourceGroupName" + "$ref": "../../../../../common-types/resource-management/v3/types.json#/parameters/ResourceGroupNameParameter" }, { "$ref": "#/parameters/cloudHsmClusterName" }, { - "$ref": "#/parameters/ApiVersion" + "$ref": "../../../../../common-types/resource-management/v3/types.json#/parameters/ApiVersionParameter" }, { "in": "path", @@ -596,7 +585,7 @@ "200": { "description": "Private endpoint connection successfully returned.", "schema": { - "$ref": "#/definitions/CloudHsmPrivateEndpointConnection" + "$ref": "../../../../../common-types/resource-management/v4/privatelinks.json#/definitions/PrivateEndpointConnection" } }, "default": { @@ -622,23 +611,23 @@ "description": "The List operation gets information about the private endpoint connections associated with the Cloud HSM", "parameters": [ { - "$ref": "#/parameters/SubscriptionId" + "$ref": "../../../../../common-types/resource-management/v3/types.json#/parameters/SubscriptionIdParameter" }, { - "$ref": "#/parameters/ResourceGroupName" + "$ref": "../../../../../common-types/resource-management/v3/types.json#/parameters/ResourceGroupNameParameter" }, { "$ref": "#/parameters/cloudHsmClusterName" }, { - "$ref": "#/parameters/ApiVersion" + "$ref": "../../../../../common-types/resource-management/v3/types.json#/parameters/ApiVersionParameter" } ], "responses": { "200": { "description": "List of all CloudHsmCluster private endpoint connections associated with the Cloud HSM.", "schema": { - "$ref": "#/definitions/CloudHsmPrivateEndpointConnectionsListResult" + "$ref": "../../../../../common-types/resource-management/v4/privatelinks.json#/definitions/PrivateEndpointConnectionListResult" } }, "default": { @@ -648,9 +637,6 @@ } } }, - "x-ms-pageable": { - "nextLinkName": "nextLink" - }, "x-ms-examples": { "CloudHsmPrivateEndpointConnection_ListByResource_MaximumSet_Gen": { "$ref": "./examples/CloudHsmPrivateEndpointConnection_ListByCloudHsm_MaximumSet_Gen.json" @@ -732,7 +718,7 @@ "description": "The Cloud HSM Resource type" }, "systemData": { - "$ref": "#/definitions/SystemData" + "$ref": "../../../../../common-types/resource-management/v3/types.json#/definitions/systemData" } }, "description": "Cloud HSM resource", @@ -782,44 +768,6 @@ "description": "Patchable properties of the Cloud HSM", "type": "object" }, - "CloudHsmPrivateEndpointConnection": { - "type": "object", - "description": "private endpoint connection resource", - "x-ms-azure-resource": true, - "properties": { - "properties": { - "x-ms-client-flatten": true, - "$ref": "#/definitions/CloudHsmPrivateEndpointConnectionProperties" - }, - "etag": { - "type": "string", - "description": "Modified whenever there is a change in the state of private endpoint connection." - } - }, - "allOf": [ - { - "$ref": "#/definitions/CloudHsmResource" - } - ] - }, - "CloudHsmPrivateEndpointConnectionProperties": { - "type": "object", - "description": "private endpoint connection properties information", - "properties": { - "provisioningState": { - "$ref": "#/definitions/CloudHsmPrivateEndpointConnectionProvisioningState", - "description": "provisioning state for Private Endpoint Connection properties" - }, - "privateEndpoint": { - "$ref": "#/definitions/CloudHsmPrivateEndpoint", - "description": "Properties of the private endpoint object." - }, - "privateLinkServiceConnectionState": { - "$ref": "#/definitions/CloudHsmPrivateLinkServiceConnectionState", - "description": "Approval state of the private link connection." - } - } - }, "SecurityDomainProperties": { "type": "object", "description": "Security domain properties information", @@ -976,218 +924,9 @@ "description": "The URL to get the next set of operations." } } - }, - "CloudHsmPrivateLinkResourceListResult": { - "properties": { - "value": { - "type": "array", - "description": "Array of private link resources", - "items": { - "$ref": "#/definitions/CloudHsmPrivateLinkResource" - } - } - }, - "description": "A list of private link resources", - "type": "object" - }, - "CloudHsmPrivateLinkResource": { - "properties": { - "properties": { - "x-ms-client-flatten": true, - "description": "Resource properties.", - "$ref": "#/definitions/CloudHsmPrivateLinkResourceProperties" - } - }, - "allOf": [ - { - "$ref": "#/definitions/CloudHsmResource" - } - ], - "description": "A private link resource", - "type": "object" - }, - "CloudHsmPrivateLinkResourceProperties": { - "properties": { - "groupId": { - "description": "Group identifier of private link resource.", - "type": "string", - "readOnly": true - }, - "requiredMembers": { - "description": "Required member names of private link resource.", - "type": "array", - "items": { - "type": "string" - }, - "readOnly": true - }, - "requiredZoneNames": { - "type": "array", - "items": { - "type": "string" - }, - "description": "Required DNS zone names of the the private link resource." - } - }, - "description": "Properties of a private link resource.", - "type": "object" - }, - "CloudHsmPrivateEndpointConnectionsListResult": { - "properties": { - "value": { - "type": "array", - "items": { - "$ref": "#/definitions/CloudHsmPrivateEndpointConnection" - }, - "description": "The private endpoint connection associated with a cloud HSM clusters." - }, - "nextLink": { - "type": "string", - "description": "The URL to get the next set of cloud HSM Pools." - } - }, - "description": "List of private endpoint connections associated with a cloud HSM clusters", - "type": "object" - }, - "CloudHsmPrivateEndpoint": { - "properties": { - "id": { - "readOnly": true, - "type": "string", - "description": "Full resource identifier of the private endpoint resource." - } - }, - "description": "Private endpoint object.", - "type": "object" - }, - "CloudHsmPrivateLinkServiceConnectionState": { - "properties": { - "status": { - "$ref": "#/definitions/CloudHsmPrivateEndpointServiceConnectionStatus", - "description": "Indicates whether the connection has been approved, rejected or removed by the key vault owner." - }, - "description": { - "type": "string", - "description": "The reason for approval or rejection." - }, - "actionsRequired": { - "type": "string", - "description": "A message indicating if changes on the service provider require any updates on the consumer.", - "enum": [ - "None" - ], - "x-ms-enum": { - "name": "ActionsRequired", - "modelAsString": true - } - } - }, - "description": "An object that represents the approval state of the private link connection.", - "type": "object" - }, - "CloudHsmPrivateEndpointServiceConnectionStatus": { - "type": "string", - "description": "The private endpoint connection status.", - "enum": [ - "Pending", - "Approved", - "Rejected", - "Disconnected" - ], - "x-ms-enum": { - "name": "PrivateEndpointServiceConnectionStatus", - "modelAsString": true - } - }, - "CloudHsmPrivateEndpointConnectionProvisioningState": { - "type": "string", - "readOnly": true, - "description": "The current provisioning state.", - "enum": [ - "Succeeded", - "Creating", - "Updating", - "Deleting", - "Failed", - "Disconnected", - "Canceled" - ], - "x-ms-enum": { - "name": "PrivateEndpointConnectionProvisioningState", - "modelAsString": true - } - }, - "SystemData": { - "description": "Metadata pertaining to creation and last modification of the key vault resource.", - "readOnly": true, - "properties": { - "createdBy": { - "type": "string", - "description": "The identity that created the key vault resource." - }, - "createdByType": { - "description": "The type of identity that created the key vault resource.", - "$ref": "#/definitions/IdentityType" - }, - "createdAt": { - "type": "string", - "format": "date-time", - "description": "The timestamp of the key vault resource creation (UTC)." - }, - "lastModifiedBy": { - "type": "string", - "description": "The identity that last modified the key vault resource." - }, - "lastModifiedByType": { - "description": "The type of identity that last modified the key vault resource.", - "$ref": "#/definitions/IdentityType" - }, - "lastModifiedAt": { - "type": "string", - "format": "date-time", - "description": "The timestamp of the key vault resource last modification (UTC)." - } - }, - "type": "object" - }, - "IdentityType": { - "type": "string", - "description": "The type of identity.", - "enum": [ - "User", - "Application", - "ManagedIdentity", - "Key" - ], - "x-ms-enum": { - "name": "identityType", - "modelAsString": true - } } }, "parameters": { - "SubscriptionId": { - "name": "subscriptionId", - "in": "path", - "required": true, - "type": "string", - "description": "Subscription credentials which uniquely identify Microsoft Azure subscription. The subscription ID forms part of the URI for every service call." - }, - "ApiVersion": { - "name": "api-version", - "in": "query", - "required": true, - "type": "string", - "description": "Client Api Version." - }, - "ResourceGroupName": { - "name": "resourceGroupName", - "in": "path", - "required": true, - "type": "string", - "description": "Name of the resource group that contains the Cloud HSM cluster.", - "x-ms-parameter-location": "method" - }, "cloudHsmClusterName": { "name": "cloudHsmClusterName", "in": "path", diff --git a/specification/hardwaresecuritymodules/resource-manager/Microsoft.HardwareSecurityModules/preview/2022-08-31-preview/examples/CloudHsmPrivateEndpointConnection_ListByCloudHsm_MaximumSet_Gen.json b/specification/hardwaresecuritymodules/resource-manager/Microsoft.HardwareSecurityModules/preview/2022-08-31-preview/examples/CloudHsmPrivateEndpointConnection_ListByCloudHsm_MaximumSet_Gen.json index 7011c62af634..150dccf6ec8c 100644 --- a/specification/hardwaresecuritymodules/resource-manager/Microsoft.HardwareSecurityModules/preview/2022-08-31-preview/examples/CloudHsmPrivateEndpointConnection_ListByCloudHsm_MaximumSet_Gen.json +++ b/specification/hardwaresecuritymodules/resource-manager/Microsoft.HardwareSecurityModules/preview/2022-08-31-preview/examples/CloudHsmPrivateEndpointConnection_ListByCloudHsm_MaximumSet_Gen.json @@ -13,7 +13,6 @@ "id": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/rgcloudhsm/providers/Microsoft.HardwareSecurityModules/cloudHsmClusters/chsm1/privateEndpointConnections/sample-pec1", "name": "chsm1", "type": "Microsoft.HardwareSecurityModules/cloudHsmClusters/privateEndpointConnections", - "etag": "", "systemData": { "createdBy": "User1", "createdByType": "User", @@ -38,7 +37,6 @@ "id": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/rgcloudhsm/providers/Microsoft.HardwareSecurityModules/cloudHsmClusters/chsm1/privateEndpointConnections/sample-pec2", "name": "chsm2", "type": "Microsoft.HardwareSecurityModules/cloudHsmClusters/privateEndpointConnections", - "etag": "", "systemData": { "createdBy": "User1", "createdByType": "User", @@ -59,8 +57,7 @@ } } } - ], - "nextLink": "null" + ] } } } From fadfdf41d9afc5e5e415b12ef8eaa946093dd33b Mon Sep 17 00:00:00 2001 From: GoradeAarti Date: Wed, 14 Sep 2022 21:42:26 -0700 Subject: [PATCH 24/69] fixed review comments --- .../preview/2022-08-31-preview/cloudhsm.json | 68 +++++++------------ ...Cluster_CreateOrUpdate_MaximumSet_Gen.json | 7 +- ...nection_ListByCloudHsm_MaximumSet_Gen.json | 2 +- 3 files changed, 26 insertions(+), 51 deletions(-) diff --git a/specification/hardwaresecuritymodules/resource-manager/Microsoft.HardwareSecurityModules/preview/2022-08-31-preview/cloudhsm.json b/specification/hardwaresecuritymodules/resource-manager/Microsoft.HardwareSecurityModules/preview/2022-08-31-preview/cloudhsm.json index 5d045c1664cd..ae860edb6e35 100644 --- a/specification/hardwaresecuritymodules/resource-manager/Microsoft.HardwareSecurityModules/preview/2022-08-31-preview/cloudhsm.json +++ b/specification/hardwaresecuritymodules/resource-manager/Microsoft.HardwareSecurityModules/preview/2022-08-31-preview/cloudhsm.json @@ -76,14 +76,8 @@ "$ref": "#/definitions/CloudHsm" } }, - "202": { + "201": { "description": "Created Cloud HSM", - "headers": { - "Location": { - "description": "The URI to poll for completion status.", - "type": "string" - } - }, "schema": { "$ref": "#/definitions/CloudHsm" } @@ -652,7 +646,7 @@ "properties": { "hsmId": { "type": "string", - "description": "The Cloud HSM PartitionId" + "description": "FQDN of the Cloud HSM Partition" }, "state": { "type": "string", @@ -682,45 +676,16 @@ }, "CloudHsmResource": { "properties": { - "name": { - "type": "string", - "readOnly": true, - "description": "The Cloud HSM resource name" - }, - "location": { - "type": "string", - "description": "The supported Azure location where the Cloud HSM should be created.", - "x-ms-mutability": [ - "create", - "read" - ] - }, - "id": { - "type": "string", - "readOnly": true, - "description": "The Cloud HSM Resource id" - }, "sku": { "$ref": "#/definitions/CloudHsmSku", "description": "SKU details" - }, - "tags": { - "type": "object", - "description": "The Cloud HSM Resource tags", - "additionalProperties": { - "type": "string", - "description": "The Cloud HSM Resource tags additional properties" - } - }, - "type": { - "type": "string", - "readOnly": true, - "description": "The Cloud HSM Resource type" - }, - "systemData": { - "$ref": "../../../../../common-types/resource-management/v3/types.json#/definitions/systemData" } }, + "allOf": [ + { + "$ref": "../../../../../common-types/resource-management/v3/types.json#/definitions/TrackedResource" + } + ], "description": "Cloud HSM resource", "type": "object", "x-ms-azure-resource": true @@ -729,7 +694,16 @@ "properties": { "provisioningState": { "type": "string", - "description": "The Cloud HSM Resource provisioningState" + "description": "The Cloud HSM Resource provisioningState", + "enum": [ + "Succeeded", + "Canceled", + "Failed" + ], + "x-ms-enum": { + "name": "PrivateEndpointConnectionProvisioningState", + "modelAsString": true + } }, "autoGeneratedDomainNameLabelScope": { "type": "string", @@ -741,7 +715,9 @@ "hsms": { "type": "array", "description": "An array of Cloud HSM Resource's HSM partitions", - "x-ms-identifiers": [], + "x-ms-identifiers": [ + "hsmId" + ], "items": { "$ref": "#/definitions/CloudHsmPartitionProperties" } @@ -916,7 +892,9 @@ "items": { "$ref": "#/definitions/CloudHsmOperation" }, - "x-ms-identifiers": [], + "x-ms-identifiers": [ + "name" + ], "description": "List of Cloud HSM Resource Provider operations." }, "nextLink": { diff --git a/specification/hardwaresecuritymodules/resource-manager/Microsoft.HardwareSecurityModules/preview/2022-08-31-preview/examples/CloudHsmCluster_CreateOrUpdate_MaximumSet_Gen.json b/specification/hardwaresecuritymodules/resource-manager/Microsoft.HardwareSecurityModules/preview/2022-08-31-preview/examples/CloudHsmCluster_CreateOrUpdate_MaximumSet_Gen.json index ee560de88819..c204ddfcbfe6 100644 --- a/specification/hardwaresecuritymodules/resource-manager/Microsoft.HardwareSecurityModules/preview/2022-08-31-preview/examples/CloudHsmCluster_CreateOrUpdate_MaximumSet_Gen.json +++ b/specification/hardwaresecuritymodules/resource-manager/Microsoft.HardwareSecurityModules/preview/2022-08-31-preview/examples/CloudHsmCluster_CreateOrUpdate_MaximumSet_Gen.json @@ -55,10 +55,7 @@ } } }, - "202": { - "headers": { - "Location": "https://some.endpoint.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/rgcloudhsm/providers/Microsoft.HardwareSecurityModules/cloudHsmClusters/chsm1?api-version=2022-07-01&operation=abJjb2RkIjoiAGVsZXRlTWFuYWdlZEhzbUFzeW5jYm9" - }, + "201": { "body": { "name": "chsm1", "location": "eastus2", @@ -71,7 +68,7 @@ "Dept": "hsm", "Environment": "dogfood" }, - "type": "Microsoft.HardwareSecurityModules/cloudHsmClusters", + "type": "Microsoft.HardwareSecurityModules/cloudHSM", "systemData": { "createdBy": "CHsmUser1", "createdByType": "User", diff --git a/specification/hardwaresecuritymodules/resource-manager/Microsoft.HardwareSecurityModules/preview/2022-08-31-preview/examples/CloudHsmPrivateEndpointConnection_ListByCloudHsm_MaximumSet_Gen.json b/specification/hardwaresecuritymodules/resource-manager/Microsoft.HardwareSecurityModules/preview/2022-08-31-preview/examples/CloudHsmPrivateEndpointConnection_ListByCloudHsm_MaximumSet_Gen.json index 150dccf6ec8c..94ef451a1af0 100644 --- a/specification/hardwaresecuritymodules/resource-manager/Microsoft.HardwareSecurityModules/preview/2022-08-31-preview/examples/CloudHsmPrivateEndpointConnection_ListByCloudHsm_MaximumSet_Gen.json +++ b/specification/hardwaresecuritymodules/resource-manager/Microsoft.HardwareSecurityModules/preview/2022-08-31-preview/examples/CloudHsmPrivateEndpointConnection_ListByCloudHsm_MaximumSet_Gen.json @@ -34,7 +34,7 @@ } }, { - "id": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/rgcloudhsm/providers/Microsoft.HardwareSecurityModules/cloudHsmClusters/chsm1/privateEndpointConnections/sample-pec2", + "id": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/rgcloudhsm/providers/Microsoft.HardwareSecurityModules/cloudHsmClusters/chsm2/privateEndpointConnections/sample-pec2", "name": "chsm2", "type": "Microsoft.HardwareSecurityModules/cloudHsmClusters/privateEndpointConnections", "systemData": { From a5833d3c14f18f442817387a6d10748ef6daa62b Mon Sep 17 00:00:00 2001 From: GoradeAarti Date: Wed, 14 Sep 2022 21:55:33 -0700 Subject: [PATCH 25/69] fixed resourceType in exmaple --- .../CloudHsmCluster_CreateOrUpdate_MaximumSet_Gen.json | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/specification/hardwaresecuritymodules/resource-manager/Microsoft.HardwareSecurityModules/preview/2022-08-31-preview/examples/CloudHsmCluster_CreateOrUpdate_MaximumSet_Gen.json b/specification/hardwaresecuritymodules/resource-manager/Microsoft.HardwareSecurityModules/preview/2022-08-31-preview/examples/CloudHsmCluster_CreateOrUpdate_MaximumSet_Gen.json index c204ddfcbfe6..8d5a17097bed 100644 --- a/specification/hardwaresecuritymodules/resource-manager/Microsoft.HardwareSecurityModules/preview/2022-08-31-preview/examples/CloudHsmCluster_CreateOrUpdate_MaximumSet_Gen.json +++ b/specification/hardwaresecuritymodules/resource-manager/Microsoft.HardwareSecurityModules/preview/2022-08-31-preview/examples/CloudHsmCluster_CreateOrUpdate_MaximumSet_Gen.json @@ -35,7 +35,7 @@ "Dept": "hsm", "Environment": "dogfood" }, - "type": "Microsoft.HardwareSecurityModules/cloudHSM", + "type": "Microsoft.HardwareSecurityModules/cloudHsmClusters", "systemData": { "createdBy": "CHsmUser1", "createdByType": "User", @@ -68,7 +68,7 @@ "Dept": "hsm", "Environment": "dogfood" }, - "type": "Microsoft.HardwareSecurityModules/cloudHSM", + "type": "Microsoft.HardwareSecurityModules/cloudHsmClusters", "systemData": { "createdBy": "CHsmUser1", "createdByType": "User", From f0bd37801fe6fac27d3bdb303b2ad4d7e5dd9757 Mon Sep 17 00:00:00 2001 From: GoradeAarti Date: Thu, 15 Sep 2022 12:16:31 -0700 Subject: [PATCH 26/69] renamed CloudHsm to CloudHsmCluster --- .../preview/2022-08-31-preview/cloudhsm.json | 224 +++++++++--------- ...ointConnection_Create_MaximumSet_Gen.json} | 0 ...ointConnection_Delete_MaximumSet_Gen.json} | 0 ...ndpointConnection_Get_MaximumSet_Gen.json} | 0 ...ListByCloudHsmCluster_MaximumSet_Gen.json} | 0 ...ListByCloudHsmCluster_MaximumSet_Gen.json} | 0 6 files changed, 112 insertions(+), 112 deletions(-) rename specification/hardwaresecuritymodules/resource-manager/Microsoft.HardwareSecurityModules/preview/2022-08-31-preview/examples/{CloudHsmPrivateEndpointConnection_Create_MaximumSet_Gen.json => CloudHsmClusterPrivateEndpointConnection_Create_MaximumSet_Gen.json} (100%) rename specification/hardwaresecuritymodules/resource-manager/Microsoft.HardwareSecurityModules/preview/2022-08-31-preview/examples/{CloudHsmPrivateEndpointConnection_Delete_MaximumSet_Gen.json => CloudHsmClusterPrivateEndpointConnection_Delete_MaximumSet_Gen.json} (100%) rename specification/hardwaresecuritymodules/resource-manager/Microsoft.HardwareSecurityModules/preview/2022-08-31-preview/examples/{CloudHsmPrivateEndpointConnection_Get_MaximumSet_Gen.json => CloudHsmClusterPrivateEndpointConnection_Get_MaximumSet_Gen.json} (100%) rename specification/hardwaresecuritymodules/resource-manager/Microsoft.HardwareSecurityModules/preview/2022-08-31-preview/examples/{CloudHsmPrivateEndpointConnection_ListByCloudHsm_MaximumSet_Gen.json => CloudHsmClusterPrivateEndpointConnection_ListByCloudHsmCluster_MaximumSet_Gen.json} (100%) rename specification/hardwaresecuritymodules/resource-manager/Microsoft.HardwareSecurityModules/preview/2022-08-31-preview/examples/{CloudHsmPrivateLinkResource_ListByCloudHsm_MaximumSet_Gen.json => CloudHsmClusterPrivateLinkResource_ListByCloudHsmCluster_MaximumSet_Gen.json} (100%) diff --git a/specification/hardwaresecuritymodules/resource-manager/Microsoft.HardwareSecurityModules/preview/2022-08-31-preview/cloudhsm.json b/specification/hardwaresecuritymodules/resource-manager/Microsoft.HardwareSecurityModules/preview/2022-08-31-preview/cloudhsm.json index ae860edb6e35..a43f29c54d0e 100644 --- a/specification/hardwaresecuritymodules/resource-manager/Microsoft.HardwareSecurityModules/preview/2022-08-31-preview/cloudhsm.json +++ b/specification/hardwaresecuritymodules/resource-manager/Microsoft.HardwareSecurityModules/preview/2022-08-31-preview/cloudhsm.json @@ -39,8 +39,8 @@ "tags": [ "" ], - "operationId": "CloudHsmCluster_CreateOrUpdate", - "description": "Create or Update a Cloud HSM in the specified subscription.", + "operationId": "CloudHsmClusters_CreateOrUpdate", + "description": "Create or Update a Cloud HSM Cluster in the specified subscription.", "x-ms-long-running-operation": true, "x-ms-long-running-operation-options": { "final-state-via": "location" @@ -64,33 +64,33 @@ "required": true, "x-ms-client-flatten": true, "schema": { - "$ref": "#/definitions/CloudHsm" + "$ref": "#/definitions/CloudHsmCluster" }, - "description": "Parameters to create Cloud HSM" + "description": "Parameters to create Cloud HSM Cluster" } ], "responses": { "200": { - "description": "Created Cloud HSM", + "description": "Created Cloud HSM Cluster", "schema": { - "$ref": "#/definitions/CloudHsm" + "$ref": "#/definitions/CloudHsmCluster" } }, "201": { - "description": "Created Cloud HSM", + "description": "Created Cloud HSM Cluster", "schema": { - "$ref": "#/definitions/CloudHsm" + "$ref": "#/definitions/CloudHsmCluster" } }, "default": { "description": "The error response describing why the operation failed.", "schema": { - "$ref": "#/definitions/CloudHsmError" + "$ref": "#/definitions/CloudHsmClusterError" } } }, "x-ms-examples": { - "CloudHsm_CreateOrUpdate_MaximumSet_Gen": { + "CloudHsmCluster_CreateOrUpdate_MaximumSet_Gen": { "$ref": "./examples/CloudHsmCluster_CreateOrUpdate_MaximumSet_Gen.json" } } @@ -99,12 +99,12 @@ "tags": [ "" ], - "operationId": "CloudHsmCluster_Update", + "operationId": "CloudHsmClusters_Update", "x-ms-long-running-operation": true, "x-ms-long-running-operation-options": { "final-state-via": "location" }, - "description": "Update a Cloud HSM in the specified subscription.", + "description": "Update a Cloud HSM Cluster in the specified subscription.", "parameters": [ { "$ref": "../../../../../common-types/resource-management/v3/types.json#/parameters/SubscriptionIdParameter" @@ -124,16 +124,16 @@ "required": true, "x-ms-client-flatten": true, "schema": { - "$ref": "#/definitions/CloudHsmPatchParameters" + "$ref": "#/definitions/CloudHsmClusterPatchParameters" }, - "description": "Parameters to create Cloud HSM" + "description": "Parameters to create Cloud HSM Cluster" } ], "responses": { "200": { - "description": "Patched Cloud HSM", + "description": "Patched Cloud HSM Cluster", "schema": { - "$ref": "#/definitions/CloudHsm" + "$ref": "#/definitions/CloudHsmCluster" } }, "202": { @@ -145,18 +145,18 @@ } }, "schema": { - "$ref": "#/definitions/CloudHsm" + "$ref": "#/definitions/CloudHsmCluster" } }, "default": { "description": "The error response describing why the operation failed.", "schema": { - "$ref": "#/definitions/CloudHsmError" + "$ref": "#/definitions/CloudHsmClusterError" } } }, "x-ms-examples": { - "CloudHsm_Update_MaximumSet_Gen": { + "CloudHsmCluster_Update_MaximumSet_Gen": { "$ref": "./examples/CloudHsmCluster_Update_MaximumSet_Gen.json" } } @@ -165,8 +165,8 @@ "tags": [ "" ], - "operationId": "CloudHsmCluster_Get", - "description": "Gets the specified Cloud HSM.", + "operationId": "CloudHsmClusters_Get", + "description": "Gets the specified Cloud HSM Cluster", "parameters": [ { "$ref": "../../../../../common-types/resource-management/v3/types.json#/parameters/SubscriptionIdParameter" @@ -183,20 +183,20 @@ ], "responses": { "200": { - "description": "Retrieved Cloud HSM", + "description": "Retrieved Cloud HSM Cluster", "schema": { - "$ref": "#/definitions/CloudHsm" + "$ref": "#/definitions/CloudHsmCluster" } }, "default": { "description": "The error response describing why the operation failed.", "schema": { - "$ref": "#/definitions/CloudHsmError" + "$ref": "#/definitions/CloudHsmClusterError" } } }, "x-ms-examples": { - "CloudHsm_Get_MaximumSet_Gen": { + "CloudHsmCluster_Get_MaximumSet_Gen": { "$ref": "./examples/CloudHsmCluster_Get_MaximumSet_Gen.json" } } @@ -205,8 +205,8 @@ "tags": [ "" ], - "operationId": "CloudHsmCluster_Delete", - "description": "Deletes the specified Cloud HSM.", + "operationId": "CloudHsmClusters_Delete", + "description": "Deletes the specified Cloud HSM Cluster", "x-ms-long-running-operation": true, "x-ms-long-running-operation-options": { "final-state-via": "location" @@ -244,12 +244,12 @@ "default": { "description": "The error response describing why the operation failed.", "schema": { - "$ref": "#/definitions/CloudHsmError" + "$ref": "#/definitions/CloudHsmClusterError" } } }, "x-ms-examples": { - "CloudHsm_Delete_MaximumSet_Gen": { + "CloudHsmCluster_Delete_MaximumSet_Gen": { "$ref": "./examples/CloudHsmCluster_Delete_MaximumSet_Gen.json" } } @@ -260,8 +260,8 @@ "tags": [ "" ], - "operationId": "CloudHsmCluster_ListByResourceGroup", - "description": "The List operation gets information about the Cloud HSMs associated with the subscription and within the specified resource group.", + "operationId": "CloudHsmClusters_ListByResourceGroup", + "description": "The List operation gets information about the Cloud HSM Clusters associated with the subscription and within the specified resource group.", "parameters": [ { "$ref": "../../../../../common-types/resource-management/v3/types.json#/parameters/SubscriptionIdParameter" @@ -282,15 +282,15 @@ ], "responses": { "200": { - "description": "Get information about all Cloud HSMs in the specified resource group.", + "description": "Get information about all Cloud HSM Clusters in the specified resource group.", "schema": { - "$ref": "#/definitions/CloudHsmListResult" + "$ref": "#/definitions/CloudHsmClusterListResult" } }, "default": { "description": "The error response describing why the operation failed.", "schema": { - "$ref": "#/definitions/CloudHsmError" + "$ref": "#/definitions/CloudHsmClusterError" } } }, @@ -298,7 +298,7 @@ "nextLinkName": "nextLink" }, "x-ms-examples": { - "CloudHsm_ListByResourceGroup_MaximumSet_Gen": { + "CloudHsmCluster_ListByResourceGroup_MaximumSet_Gen": { "$ref": "./examples/CloudHsmCluster_ListByResourceGroup_MaximumSet_Gen.json" } } @@ -309,8 +309,8 @@ "tags": [ "" ], - "operationId": "CloudHsmCluster_ListBySubscription", - "description": "The List operation gets information about the Cloud HSMs associated with the subscription.", + "operationId": "CloudHsmClusters_ListBySubscription", + "description": "The List operation gets information about the Cloud HSM Clusters associated with the subscription.", "parameters": [ { "$ref": "../../../../../common-types/resource-management/v3/types.json#/parameters/SubscriptionIdParameter" @@ -328,15 +328,15 @@ ], "responses": { "200": { - "description": "Get information about all Cloud HSMs in the specified subscription.", + "description": "Get information about all Cloud HSM Clusters in the specified subscription.", "schema": { - "$ref": "#/definitions/CloudHsmListResult" + "$ref": "#/definitions/CloudHsmClusterListResult" } }, "default": { "description": "The error response describing why the operation failed.", "schema": { - "$ref": "#/definitions/CloudHsmError" + "$ref": "#/definitions/CloudHsmClusterError" } } }, @@ -344,7 +344,7 @@ "nextLinkName": "nextLink" }, "x-ms-examples": { - "CloudHsm_ListBySubscription_MaximumSet_Gen": { + "CloudHsmCluster_ListBySubscription_MaximumSet_Gen": { "$ref": "./examples/CloudHsmCluster_ListBySubscription_MaximumSet_Gen.json" } } @@ -356,7 +356,7 @@ "" ], "operationId": "Operations_List", - "description": "Get a list of Cloud HSM operations.", + "description": "Get a list of Cloud HSM Cluster operations.", "parameters": [ { "$ref": "../../../../../common-types/resource-management/v3/types.json#/parameters/ApiVersionParameter" @@ -366,13 +366,13 @@ "200": { "description": "OK", "schema": { - "$ref": "#/definitions/CloudHsmOperationListResult" + "$ref": "#/definitions/CloudHsmClusterOperationListResult" } }, "default": { "description": "The error response describing why the operation failed.", "schema": { - "$ref": "#/definitions/CloudHsmError" + "$ref": "#/definitions/CloudHsmClusterError" } } }, @@ -394,8 +394,8 @@ "tags": [ "" ], - "operationId": "CloudHsmPrivateLinkResources_ListByCloudHsm", - "description": "Gets the private link resources supported for the cloud hsm cluster.", + "operationId": "CloudHsmClusterPrivateLinkResources_ListByCloudHsmCluster", + "description": "Gets the private link resources supported for the Cloud Hsm Cluster.", "parameters": [ { "$ref": "../../../../../common-types/resource-management/v3/types.json#/parameters/SubscriptionIdParameter" @@ -420,13 +420,13 @@ "default": { "description": "The error response describing why the operation failed.", "schema": { - "$ref": "#/definitions/CloudHsmError" + "$ref": "#/definitions/CloudHsmClusterError" } } }, "x-ms-examples": { - "CloudHsmPrivateLinkResources_ListByResource_MaximumSet_Gen": { - "$ref": "./examples/CloudHsmPrivateLinkResource_ListByCloudHsm_MaximumSet_Gen.json" + "CloudHsmClusterPrivateLinkResources_ListByResource_MaximumSet_Gen": { + "$ref": "./examples/CloudHsmClusterPrivateLinkResource_ListByCloudHsmCluster_MaximumSet_Gen.json" } } } @@ -436,8 +436,8 @@ "tags": [ "" ], - "operationId": "CloudHsmPrivateEndpointConnections_Create", - "description": "Creates or updates the private endpoint connection for the cloud hsm cluster.", + "operationId": "CloudHsmClusterPrivateEndpointConnections_Create", + "description": "Creates or updates the private endpoint connection for the Cloud Hsm Cluster.", "parameters": [ { "$ref": "../../../../../common-types/resource-management/v3/types.json#/parameters/SubscriptionIdParameter" @@ -478,13 +478,13 @@ "default": { "description": "The error response describing why the operation failed.", "schema": { - "$ref": "#/definitions/CloudHsmError" + "$ref": "#/definitions/CloudHsmClusterError" } } }, "x-ms-examples": { - "CloudHsmPrivateEndpointConnection_Create_MaximumSet_Gen": { - "$ref": "./examples/CloudHsmPrivateEndpointConnection_Create_MaximumSet_Gen.json" + "CloudHsmClusterPrivateEndpointConnection_Create_MaximumSet_Gen": { + "$ref": "./examples/CloudHsmClusterPrivateEndpointConnection_Create_MaximumSet_Gen.json" } } }, @@ -492,8 +492,8 @@ "tags": [ "" ], - "operationId": "CloudHsmPrivateEndpointConnections_Delete", - "description": "Deletes the private endpoint connection for the cloud hsm cluster.", + "operationId": "CloudHsmClusterPrivateEndpointConnections_Delete", + "description": "Deletes the private endpoint connection for the Cloud Hsm Cluster.", "x-ms-long-running-operation": true, "x-ms-long-running-operation-options": { "final-state-via": "location" @@ -538,13 +538,13 @@ "default": { "description": "The error response describing why the operation failed.", "schema": { - "$ref": "#/definitions/CloudHsmError" + "$ref": "#/definitions/CloudHsmClusterError" } } }, "x-ms-examples": { - "CloudHsmPrivateEndpointConnection_Delete_MaximumSet_Gen": { - "$ref": "./examples/CloudHsmPrivateEndpointConnection_Delete_MaximumSet_Gen.json" + "CloudHsmClusterPrivateEndpointConnection_Delete_MaximumSet_Gen": { + "$ref": "./examples/CloudHsmClusterPrivateEndpointConnection_Delete_MaximumSet_Gen.json" } } }, @@ -552,8 +552,8 @@ "tags": [ "" ], - "operationId": "CloudHsmPrivateEndpointConnections_Get", - "description": "Gets the private endpoint connection for the cloud hsm cluster.", + "operationId": "CloudHsmClusterPrivateEndpointConnections_Get", + "description": "Gets the private endpoint connection for the Cloud Hsm Cluster.", "parameters": [ { "$ref": "../../../../../common-types/resource-management/v3/types.json#/parameters/SubscriptionIdParameter" @@ -585,13 +585,13 @@ "default": { "description": "The error response describing why the operation failed.", "schema": { - "$ref": "#/definitions/CloudHsmError" + "$ref": "#/definitions/CloudHsmClusterError" } } }, "x-ms-examples": { - "CloudHsmPrivateEndpointConnection_Get_MaximumSet_Gen": { - "$ref": "./examples/CloudHsmPrivateEndpointConnection_Get_MaximumSet_Gen.json" + "CloudHsmClusterPrivateEndpointConnection_Get_MaximumSet_Gen": { + "$ref": "./examples/CloudHsmClusterPrivateEndpointConnection_Get_MaximumSet_Gen.json" } } } @@ -601,8 +601,8 @@ "tags": [ "" ], - "operationId": "PrivateEndpointConnections_ListByCloudHsm", - "description": "The List operation gets information about the private endpoint connections associated with the Cloud HSM", + "operationId": "PrivateEndpointConnections_ListByCloudHsmCluster", + "description": "The List operation gets information about the private endpoint connections associated with the Cloud HSM Cluster", "parameters": [ { "$ref": "../../../../../common-types/resource-management/v3/types.json#/parameters/SubscriptionIdParameter" @@ -619,7 +619,7 @@ ], "responses": { "200": { - "description": "List of all CloudHsmCluster private endpoint connections associated with the Cloud HSM.", + "description": "List of all CloudHsmCluster private endpoint connections associated with the Cloud HSM Cluster.", "schema": { "$ref": "../../../../../common-types/resource-management/v4/privatelinks.json#/definitions/PrivateEndpointConnectionListResult" } @@ -627,57 +627,57 @@ "default": { "description": "The error response describing why the operation failed.", "schema": { - "$ref": "#/definitions/CloudHsmError" + "$ref": "#/definitions/CloudHsmClusterError" } } }, "x-ms-examples": { - "CloudHsmPrivateEndpointConnection_ListByResource_MaximumSet_Gen": { - "$ref": "./examples/CloudHsmPrivateEndpointConnection_ListByCloudHsm_MaximumSet_Gen.json" + "CloudHsmClusterPrivateEndpointConnection_ListByResource_MaximumSet_Gen": { + "$ref": "./examples/CloudHsmClusterPrivateEndpointConnection_ListByCloudHsmCluster_MaximumSet_Gen.json" } } } } }, "definitions": { - "CloudHsmPartitionProperties": { + "CloudHsmProperties": { "type": "object", - "description": "The Cloud HSM Partition Properties", + "description": "The Cloud HSM Properties", "properties": { "hsmId": { "type": "string", - "description": "FQDN of the Cloud HSM Partition" + "description": "FQDN of the Cloud HSM" }, "state": { "type": "string", - "description": "The Cloud HSM Partition State" + "description": "The Cloud HSM State" }, "stateMessage": { "type": "string", - "description": "The Cloud HSM Partition State message" + "description": "The Cloud HSM State message" } } }, - "CloudHsm": { + "CloudHsmCluster": { "properties": { "properties": { "x-ms-client-flatten": true, "$ref": "#/definitions/CloudHsmClusterProperties", - "description": "Properties of the Cloud HSM" + "description": "Properties of the Cloud HSM Cluster" } }, "allOf": [ { - "$ref": "#/definitions/CloudHsmResource" + "$ref": "#/definitions/CloudHsmClusterResource" } ], "description": "Resource information with extended details.", "type": "object" }, - "CloudHsmResource": { + "CloudHsmClusterResource": { "properties": { "sku": { - "$ref": "#/definitions/CloudHsmSku", + "$ref": "#/definitions/CloudHsmClusterSku", "description": "SKU details" } }, @@ -686,7 +686,7 @@ "$ref": "../../../../../common-types/resource-management/v3/types.json#/definitions/TrackedResource" } ], - "description": "Cloud HSM resource", + "description": "Cloud HSM Cluster Resource", "type": "object", "x-ms-azure-resource": true }, @@ -694,7 +694,7 @@ "properties": { "provisioningState": { "type": "string", - "description": "The Cloud HSM Resource provisioningState", + "description": "The Cloud HSM Cluster Resource provisioningState", "enum": [ "Succeeded", "Canceled", @@ -707,46 +707,46 @@ }, "autoGeneratedDomainNameLabelScope": { "type": "string", - "description": "The Cloud HSM Resource auto-generated Domain Name Label Scope" + "description": "The Cloud HSM Cluster Resource auto-generated Domain Name Label Scope" }, "securityDomain": { - "$ref": "#/definitions/SecurityDomainProperties" + "$ref": "#/definitions/CloudHsmClusterSecurityDomainProperties" }, "hsms": { "type": "array", - "description": "An array of Cloud HSM Resource's HSM partitions", + "description": "An array of Cloud HSM Cluster Resource's HSM partitions", "x-ms-identifiers": [ "hsmId" ], "items": { - "$ref": "#/definitions/CloudHsmPartitionProperties" + "$ref": "#/definitions/CloudHsmProperties" } } }, - "description": "Properties of a Cloud HSM resource.", + "description": "Properties of a Cloud HSM Cluster resource.", "type": "object" }, - "CloudHsmPatchParameters": { + "CloudHsmClusterPatchParameters": { "properties": { "tags": { "type": "object", - "description": "The Cloud HSM Resource tags", + "description": "The Cloud HSM Cluster Resource tags", "additionalProperties": { "type": "string", - "description": "The Cloud HSM Resource tags additional properties" + "description": "The Cloud HSM Cluster Resource tags additional properties" } }, "sku": { - "$ref": "#/definitions/CloudHsmSku", + "$ref": "#/definitions/CloudHsmClusterSku", "description": "SKU details" } }, - "description": "Patchable properties of the Cloud HSM", + "description": "Patchable properties of the Cloud HSM Cluster", "type": "object" }, - "SecurityDomainProperties": { + "CloudHsmClusterSecurityDomainProperties": { "type": "object", - "description": "Security domain properties information", + "description": "Security domain properties information for Cloud HSM cluster", "properties": { "fipsState": { "format": "int32", @@ -759,9 +759,9 @@ } } }, - "CloudHsmSku": { + "CloudHsmClusterSku": { "type": "object", - "description": "Cloud Hsm SKU information", + "description": "Cloud Hsm Cluster SKU information", "required": [ "name", "family" @@ -775,7 +775,7 @@ ], "x-ms-client-default": "B", "x-ms-enum": { - "name": "CloudHsmSkuFamily", + "name": "CloudHsmClusterSkuFamily", "modelAsString": true } }, @@ -787,7 +787,7 @@ "Standard B10" ], "x-ms-enum": { - "name": "CloudHsmSkuName", + "name": "CloudHsmClusterSkuName", "modelAsString": false } }, @@ -798,13 +798,13 @@ } } }, - "CloudHsmError": { + "CloudHsmClusterError": { "properties": { "error": { "$ref": "#/definitions/Error" } }, - "description": "The Cloud HSM error details", + "description": "The Cloud HSM Cluster error details", "type": "object" }, "Error": { @@ -829,29 +829,29 @@ "type": "object", "description": "Error details" }, - "CloudHsmListResult": { + "CloudHsmClusterListResult": { "properties": { "value": { "type": "array", "items": { - "$ref": "#/definitions/CloudHsm" + "$ref": "#/definitions/CloudHsmCluster" }, - "description": "The list of Cloud HSMs." + "description": "The list of Cloud HSM Clusters." }, "nextLink": { "type": "string", - "description": "The URL to get the next set of Cloud HSMs." + "description": "The URL to get the next set of Cloud HSM Clusters." } }, - "description": "List of Cloud HSMs", + "description": "List of Cloud HSM Clusters", "type": "object" }, - "CloudHsmOperation": { + "CloudHsmClusterOperation": { "description": "REST API operation", "type": "object", "properties": { "name": { - "description": "The name of the Cloud HSM Resource Provider Operation.", + "description": "The name of the Cloud HSM Cluster Resource Provider Operation.", "type": "string" }, "isDataAction": { @@ -883,19 +883,19 @@ } } }, - "CloudHsmOperationListResult": { + "CloudHsmClusterOperationListResult": { "type": "object", - "description": "Result of the request to list Cloud HSM Provider operations. It contains a list of operations.", + "description": "Result of the request to list Cloud HSM Cluster Provider operations. It contains a list of operations.", "properties": { "value": { "type": "array", "items": { - "$ref": "#/definitions/CloudHsmOperation" + "$ref": "#/definitions/CloudHsmClusterOperation" }, "x-ms-identifiers": [ "name" ], - "description": "List of Cloud HSM Resource Provider operations." + "description": "List of Cloud HSM Cluster Resource Provider operations." }, "nextLink": { "type": "string", @@ -910,7 +910,7 @@ "in": "path", "required": true, "type": "string", - "description": "The name of the Cloud HSM within the specified resource group. Cloud HSM names must be between 3 and 24 characters in length.", + "description": "The name of the Cloud HSM Cluster within the specified resource group. Cloud HSM Cluster names must be between 3 and 24 characters in length.", "pattern": "^[a-zA-Z0-9-]{3,24}$", "maxLength": 24, "minLength": 3, diff --git a/specification/hardwaresecuritymodules/resource-manager/Microsoft.HardwareSecurityModules/preview/2022-08-31-preview/examples/CloudHsmPrivateEndpointConnection_Create_MaximumSet_Gen.json b/specification/hardwaresecuritymodules/resource-manager/Microsoft.HardwareSecurityModules/preview/2022-08-31-preview/examples/CloudHsmClusterPrivateEndpointConnection_Create_MaximumSet_Gen.json similarity index 100% rename from specification/hardwaresecuritymodules/resource-manager/Microsoft.HardwareSecurityModules/preview/2022-08-31-preview/examples/CloudHsmPrivateEndpointConnection_Create_MaximumSet_Gen.json rename to specification/hardwaresecuritymodules/resource-manager/Microsoft.HardwareSecurityModules/preview/2022-08-31-preview/examples/CloudHsmClusterPrivateEndpointConnection_Create_MaximumSet_Gen.json diff --git a/specification/hardwaresecuritymodules/resource-manager/Microsoft.HardwareSecurityModules/preview/2022-08-31-preview/examples/CloudHsmPrivateEndpointConnection_Delete_MaximumSet_Gen.json b/specification/hardwaresecuritymodules/resource-manager/Microsoft.HardwareSecurityModules/preview/2022-08-31-preview/examples/CloudHsmClusterPrivateEndpointConnection_Delete_MaximumSet_Gen.json similarity index 100% rename from specification/hardwaresecuritymodules/resource-manager/Microsoft.HardwareSecurityModules/preview/2022-08-31-preview/examples/CloudHsmPrivateEndpointConnection_Delete_MaximumSet_Gen.json rename to specification/hardwaresecuritymodules/resource-manager/Microsoft.HardwareSecurityModules/preview/2022-08-31-preview/examples/CloudHsmClusterPrivateEndpointConnection_Delete_MaximumSet_Gen.json diff --git a/specification/hardwaresecuritymodules/resource-manager/Microsoft.HardwareSecurityModules/preview/2022-08-31-preview/examples/CloudHsmPrivateEndpointConnection_Get_MaximumSet_Gen.json b/specification/hardwaresecuritymodules/resource-manager/Microsoft.HardwareSecurityModules/preview/2022-08-31-preview/examples/CloudHsmClusterPrivateEndpointConnection_Get_MaximumSet_Gen.json similarity index 100% rename from specification/hardwaresecuritymodules/resource-manager/Microsoft.HardwareSecurityModules/preview/2022-08-31-preview/examples/CloudHsmPrivateEndpointConnection_Get_MaximumSet_Gen.json rename to specification/hardwaresecuritymodules/resource-manager/Microsoft.HardwareSecurityModules/preview/2022-08-31-preview/examples/CloudHsmClusterPrivateEndpointConnection_Get_MaximumSet_Gen.json diff --git a/specification/hardwaresecuritymodules/resource-manager/Microsoft.HardwareSecurityModules/preview/2022-08-31-preview/examples/CloudHsmPrivateEndpointConnection_ListByCloudHsm_MaximumSet_Gen.json b/specification/hardwaresecuritymodules/resource-manager/Microsoft.HardwareSecurityModules/preview/2022-08-31-preview/examples/CloudHsmClusterPrivateEndpointConnection_ListByCloudHsmCluster_MaximumSet_Gen.json similarity index 100% rename from specification/hardwaresecuritymodules/resource-manager/Microsoft.HardwareSecurityModules/preview/2022-08-31-preview/examples/CloudHsmPrivateEndpointConnection_ListByCloudHsm_MaximumSet_Gen.json rename to specification/hardwaresecuritymodules/resource-manager/Microsoft.HardwareSecurityModules/preview/2022-08-31-preview/examples/CloudHsmClusterPrivateEndpointConnection_ListByCloudHsmCluster_MaximumSet_Gen.json diff --git a/specification/hardwaresecuritymodules/resource-manager/Microsoft.HardwareSecurityModules/preview/2022-08-31-preview/examples/CloudHsmPrivateLinkResource_ListByCloudHsm_MaximumSet_Gen.json b/specification/hardwaresecuritymodules/resource-manager/Microsoft.HardwareSecurityModules/preview/2022-08-31-preview/examples/CloudHsmClusterPrivateLinkResource_ListByCloudHsmCluster_MaximumSet_Gen.json similarity index 100% rename from specification/hardwaresecuritymodules/resource-manager/Microsoft.HardwareSecurityModules/preview/2022-08-31-preview/examples/CloudHsmPrivateLinkResource_ListByCloudHsm_MaximumSet_Gen.json rename to specification/hardwaresecuritymodules/resource-manager/Microsoft.HardwareSecurityModules/preview/2022-08-31-preview/examples/CloudHsmClusterPrivateLinkResource_ListByCloudHsmCluster_MaximumSet_Gen.json From 8316f2104bea17c64db8e819d358cd551cb6b47a Mon Sep 17 00:00:00 2001 From: GoradeAarti Date: Thu, 15 Sep 2022 12:25:26 -0700 Subject: [PATCH 27/69] renamed hsmId to fqdn --- .../preview/2022-08-31-preview/cloudhsm.json | 16 ++++++++-------- 1 file changed, 8 insertions(+), 8 deletions(-) diff --git a/specification/hardwaresecuritymodules/resource-manager/Microsoft.HardwareSecurityModules/preview/2022-08-31-preview/cloudhsm.json b/specification/hardwaresecuritymodules/resource-manager/Microsoft.HardwareSecurityModules/preview/2022-08-31-preview/cloudhsm.json index a43f29c54d0e..522aa19ea52a 100644 --- a/specification/hardwaresecuritymodules/resource-manager/Microsoft.HardwareSecurityModules/preview/2022-08-31-preview/cloudhsm.json +++ b/specification/hardwaresecuritymodules/resource-manager/Microsoft.HardwareSecurityModules/preview/2022-08-31-preview/cloudhsm.json @@ -644,7 +644,7 @@ "type": "object", "description": "The Cloud HSM Properties", "properties": { - "hsmId": { + "fqdn": { "type": "string", "description": "FQDN of the Cloud HSM" }, @@ -694,7 +694,7 @@ "properties": { "provisioningState": { "type": "string", - "description": "The Cloud HSM Cluster Resource provisioningState", + "description": "The Cloud HSM Cluster's provisioningState", "enum": [ "Succeeded", "Canceled", @@ -707,33 +707,33 @@ }, "autoGeneratedDomainNameLabelScope": { "type": "string", - "description": "The Cloud HSM Cluster Resource auto-generated Domain Name Label Scope" + "description": "The Cloud HSM Cluster's auto-generated Domain Name Label Scope" }, "securityDomain": { "$ref": "#/definitions/CloudHsmClusterSecurityDomainProperties" }, "hsms": { "type": "array", - "description": "An array of Cloud HSM Cluster Resource's HSM partitions", + "description": "An array of Cloud HSM Cluster's HSMs", "x-ms-identifiers": [ - "hsmId" + "fqdn" ], "items": { "$ref": "#/definitions/CloudHsmProperties" } } }, - "description": "Properties of a Cloud HSM Cluster resource.", + "description": "Properties of a Cloud HSM Cluster.", "type": "object" }, "CloudHsmClusterPatchParameters": { "properties": { "tags": { "type": "object", - "description": "The Cloud HSM Cluster Resource tags", + "description": "The Cloud HSM Cluster's tags", "additionalProperties": { "type": "string", - "description": "The Cloud HSM Cluster Resource tags additional properties" + "description": "The Cloud HSM Cluster's tag's additional properties" } }, "sku": { From 38e2c9ecb042ac63a9eb0a8677dab0cf573cb0bd Mon Sep 17 00:00:00 2001 From: GoradeAarti Date: Mon, 19 Sep 2022 15:12:42 -0700 Subject: [PATCH 28/69] fixed description --- .../preview/2022-08-31-preview/cloudhsm.json | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/specification/hardwaresecuritymodules/resource-manager/Microsoft.HardwareSecurityModules/preview/2022-08-31-preview/cloudhsm.json b/specification/hardwaresecuritymodules/resource-manager/Microsoft.HardwareSecurityModules/preview/2022-08-31-preview/cloudhsm.json index 522aa19ea52a..890fdb396484 100644 --- a/specification/hardwaresecuritymodules/resource-manager/Microsoft.HardwareSecurityModules/preview/2022-08-31-preview/cloudhsm.json +++ b/specification/hardwaresecuritymodules/resource-manager/Microsoft.HardwareSecurityModules/preview/2022-08-31-preview/cloudhsm.json @@ -701,7 +701,7 @@ "Failed" ], "x-ms-enum": { - "name": "PrivateEndpointConnectionProvisioningState", + "name": "ProvisioningState", "modelAsString": true } }, From b541027e2c5e3e9bb7da1c2ff0f0d39c1a9c86ec Mon Sep 17 00:00:00 2001 From: GoradeAarti Date: Sun, 25 Sep 2022 20:52:27 -0700 Subject: [PATCH 29/69] modified default tag in Readme.md --- .../hardwaresecuritymodules/resource-manager/readme.md | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/specification/hardwaresecuritymodules/resource-manager/readme.md b/specification/hardwaresecuritymodules/resource-manager/readme.md index d6dd33d12931..e1cf463f3d13 100644 --- a/specification/hardwaresecuritymodules/resource-manager/readme.md +++ b/specification/hardwaresecuritymodules/resource-manager/readme.md @@ -26,7 +26,7 @@ These are the global settings for the Hardware Security Modules API. ``` yaml openapi-type: arm -tag: package-2021-11 +tag: package-2022-08 ``` From 348b4e4cb190e3832168db0457e6343d21654359 Mon Sep 17 00:00:00 2001 From: GoradeAarti Date: Sun, 25 Sep 2022 21:04:07 -0700 Subject: [PATCH 30/69] changed tag value to package-2022-08-preview --- .../hardwaresecuritymodules/resource-manager/readme.go.md | 7 ++++--- .../hardwaresecuritymodules/resource-manager/readme.md | 8 ++++---- 2 files changed, 8 insertions(+), 7 deletions(-) diff --git a/specification/hardwaresecuritymodules/resource-manager/readme.go.md b/specification/hardwaresecuritymodules/resource-manager/readme.go.md index 728069507662..eb5c64901fdd 100644 --- a/specification/hardwaresecuritymodules/resource-manager/readme.go.md +++ b/specification/hardwaresecuritymodules/resource-manager/readme.go.md @@ -23,6 +23,7 @@ azure-arm: true batch: - tag: package-2021-11 - tag: package-2018-10 + - tag: package-2022-08-preview ``` ### Tag: package-2021-11 and go @@ -45,8 +46,8 @@ output-folder: $(go-sdk-folder)/services/preview/$(namespace)/mgmt/2018-10-31-pr ### Tag: package-2022-08 and go -These settings apply only when `--tag=package-2022-08 --go` is specified on the command line. +These settings apply only when `--tag=package-2022-08-preview --go` is specified on the command line. Please also specify `--go-sdk-folder=`. -```yaml $(tag)=='package-2022-08' && $(go) -output-folder: $(go-sdk-folder)/services/$(namespace)/mgmt/2022-08-31/$(namespace) \ No newline at end of file +```yaml $(tag)=='package-2022-08-preview' && $(go) +output-folder: $(go-sdk-folder)/services/$(namespace)/mgmt/2022-08-31-preview/$(namespace) \ No newline at end of file diff --git a/specification/hardwaresecuritymodules/resource-manager/readme.md b/specification/hardwaresecuritymodules/resource-manager/readme.md index e1cf463f3d13..ab539ae89ece 100644 --- a/specification/hardwaresecuritymodules/resource-manager/readme.md +++ b/specification/hardwaresecuritymodules/resource-manager/readme.md @@ -26,7 +26,7 @@ These are the global settings for the Hardware Security Modules API. ``` yaml openapi-type: arm -tag: package-2022-08 +tag: package-2022-08-preview ``` @@ -48,11 +48,11 @@ input-file: - Microsoft.HardwareSecurityModules/stable/2021-11-30/dedicatedhsm.json ``` -### Tag: package-2022-08 +### Tag: package-2022-08-preview -These settings apply only when `--tag=package-2022-08` is specified on the command line. +These settings apply only when `--tag=package-2022-08-preview` is specified on the command line. -``` yaml $(tag) == 'package-2022-08' +``` yaml $(tag) == 'package-2022-08-preview' input-file: - Microsoft.HardwareSecurityModules/preview/2022-08-31-preview/cloudhsm.json ``` From bd95e64c13e7134a845a9271326a3d02ceef4819 Mon Sep 17 00:00:00 2001 From: GoradeAarti <88678992+GoradeAarti@users.noreply.github.com> Date: Mon, 26 Sep 2022 10:00:02 -0700 Subject: [PATCH 31/69] Update specification/hardwaresecuritymodules/resource-manager/readme.md Co-authored-by: Chenjie Shi --- .../hardwaresecuritymodules/resource-manager/readme.md | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/specification/hardwaresecuritymodules/resource-manager/readme.md b/specification/hardwaresecuritymodules/resource-manager/readme.md index ab539ae89ece..d1a8c35a207b 100644 --- a/specification/hardwaresecuritymodules/resource-manager/readme.md +++ b/specification/hardwaresecuritymodules/resource-manager/readme.md @@ -55,7 +55,7 @@ These settings apply only when `--tag=package-2022-08-preview` is specified on t ``` yaml $(tag) == 'package-2022-08-preview' input-file: - Microsoft.HardwareSecurityModules/preview/2022-08-31-preview/cloudhsm.json -``` +- Microsoft.HardwareSecurityModules/stable/2021-11-30/dedicatedhsm.json # Code Generation From 9f0f1fd924903e2d295b0e2607be5f78c2a76564 Mon Sep 17 00:00:00 2001 From: Chenjie Shi Date: Tue, 27 Sep 2022 09:54:09 +0800 Subject: [PATCH 32/69] Update readme.md --- specification/hardwaresecuritymodules/resource-manager/readme.md | 1 + 1 file changed, 1 insertion(+) diff --git a/specification/hardwaresecuritymodules/resource-manager/readme.md b/specification/hardwaresecuritymodules/resource-manager/readme.md index d1a8c35a207b..6fb4c7ac3958 100644 --- a/specification/hardwaresecuritymodules/resource-manager/readme.md +++ b/specification/hardwaresecuritymodules/resource-manager/readme.md @@ -56,6 +56,7 @@ These settings apply only when `--tag=package-2022-08-preview` is specified on t input-file: - Microsoft.HardwareSecurityModules/preview/2022-08-31-preview/cloudhsm.json - Microsoft.HardwareSecurityModules/stable/2021-11-30/dedicatedhsm.json +``` # Code Generation From 2f115f0c06481e1805eccfdd11a89a641cccf827 Mon Sep 17 00:00:00 2001 From: Chenjie Shi Date: Tue, 27 Sep 2022 10:05:54 +0800 Subject: [PATCH 33/69] Update readme.md --- .../hardwaresecuritymodules/resource-manager/readme.md | 2 ++ 1 file changed, 2 insertions(+) diff --git a/specification/hardwaresecuritymodules/resource-manager/readme.md b/specification/hardwaresecuritymodules/resource-manager/readme.md index 6fb4c7ac3958..95abf20b05c4 100644 --- a/specification/hardwaresecuritymodules/resource-manager/readme.md +++ b/specification/hardwaresecuritymodules/resource-manager/readme.md @@ -25,6 +25,8 @@ To see additional help and options, run: These are the global settings for the Hardware Security Modules API. ``` yaml +title: Azure HSM Resource Provider +description: The Azure management API provides a RESTful set of web services that interact with Azure HSM RP. openapi-type: arm tag: package-2022-08-preview ``` From c7fad894151a3ccdbe58622f9ffaf3a7818face8 Mon Sep 17 00:00:00 2001 From: GoradeAarti Date: Tue, 27 Sep 2022 20:56:08 -0700 Subject: [PATCH 34/69] fixing lintdiff errors, also fixing old DHSM errors --- .../preview/2022-08-31-preview/cloudhsm.json | 45 ----------- .../stable/2021-11-30/dedicatedhsm.json | 76 ++++++++++--------- 2 files changed, 41 insertions(+), 80 deletions(-) diff --git a/specification/hardwaresecuritymodules/resource-manager/Microsoft.HardwareSecurityModules/preview/2022-08-31-preview/cloudhsm.json b/specification/hardwaresecuritymodules/resource-manager/Microsoft.HardwareSecurityModules/preview/2022-08-31-preview/cloudhsm.json index 890fdb396484..ce720e9368c4 100644 --- a/specification/hardwaresecuritymodules/resource-manager/Microsoft.HardwareSecurityModules/preview/2022-08-31-preview/cloudhsm.json +++ b/specification/hardwaresecuritymodules/resource-manager/Microsoft.HardwareSecurityModules/preview/2022-08-31-preview/cloudhsm.json @@ -350,45 +350,6 @@ } } }, - "/providers/Microsoft.HardwareSecurityModules/operations": { - "get": { - "tags": [ - "" - ], - "operationId": "Operations_List", - "description": "Get a list of Cloud HSM Cluster operations.", - "parameters": [ - { - "$ref": "../../../../../common-types/resource-management/v3/types.json#/parameters/ApiVersionParameter" - } - ], - "responses": { - "200": { - "description": "OK", - "schema": { - "$ref": "#/definitions/CloudHsmClusterOperationListResult" - } - }, - "default": { - "description": "The error response describing why the operation failed.", - "schema": { - "$ref": "#/definitions/CloudHsmClusterError" - } - } - }, - "x-ms-pageable": { - "nextLinkName": "nextLink" - }, - "x-ms-examples": { - "Operations_List_MaximumSet_Gen": { - "$ref": "./examples/Operations_List_MaximumSet_Gen.json" - }, - "Operations_List_MinimumSet_Gen": { - "$ref": "./examples/Operations_List_MinimumSet_Gen.json" - } - } - } - }, "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.HardwareSecurityModules/cloudHsmClusters/{cloudHsmClusterName}/privateLinkResources": { "get": { "tags": [ @@ -818,12 +779,6 @@ "type": "string", "readOnly": true, "description": "The error message." - }, - "innererror": { - "x-ms-client-name": "innerError", - "readOnly": true, - "description": "The inner error, contains a more specific error code.", - "$ref": "#/definitions/Error" } }, "type": "object", diff --git a/specification/hardwaresecuritymodules/resource-manager/Microsoft.HardwareSecurityModules/stable/2021-11-30/dedicatedhsm.json b/specification/hardwaresecuritymodules/resource-manager/Microsoft.HardwareSecurityModules/stable/2021-11-30/dedicatedhsm.json index fdca7e2f9760..8fba4cbddd9e 100644 --- a/specification/hardwaresecuritymodules/resource-manager/Microsoft.HardwareSecurityModules/stable/2021-11-30/dedicatedhsm.json +++ b/specification/hardwaresecuritymodules/resource-manager/Microsoft.HardwareSecurityModules/stable/2021-11-30/dedicatedhsm.json @@ -110,7 +110,7 @@ "$ref": "#/parameters/ApiVersionParameter" }, { - "$ref": "#/parameters/SubscriptionIdParameter" + "$ref": "../../../../../common-types/resource-management/v3/types.json#/parameters/SubscriptionIdParameter" } ], "responses": { @@ -182,7 +182,7 @@ "$ref": "#/parameters/ApiVersionParameter" }, { - "$ref": "#/parameters/SubscriptionIdParameter" + "$ref": "../../../../../common-types/resource-management/v3/types.json#/parameters/SubscriptionIdParameter" } ], "responses": { @@ -234,7 +234,7 @@ "$ref": "#/parameters/ApiVersionParameter" }, { - "$ref": "#/parameters/SubscriptionIdParameter" + "$ref": "../../../../../common-types/resource-management/v3/types.json#/parameters/SubscriptionIdParameter" } ], "responses": { @@ -285,7 +285,7 @@ "$ref": "#/parameters/ApiVersionParameter" }, { - "$ref": "#/parameters/SubscriptionIdParameter" + "$ref": "../../../../../common-types/resource-management/v3/types.json#/parameters/SubscriptionIdParameter" } ], "responses": { @@ -341,7 +341,7 @@ "$ref": "#/parameters/ApiVersionParameter" }, { - "$ref": "#/parameters/SubscriptionIdParameter" + "$ref": "../../../../../common-types/resource-management/v3/types.json#/parameters/SubscriptionIdParameter" } ], "responses": { @@ -390,7 +390,7 @@ "$ref": "#/parameters/ApiVersionParameter" }, { - "$ref": "#/parameters/SubscriptionIdParameter" + "$ref": "../../../../../common-types/resource-management/v3/types.json#/parameters/SubscriptionIdParameter" } ], "responses": { @@ -447,7 +447,7 @@ "$ref": "#/parameters/ApiVersionParameter" }, { - "$ref": "#/parameters/SubscriptionIdParameter" + "$ref": "../../../../../common-types/resource-management/v3/types.json#/parameters/SubscriptionIdParameter" } ], "responses": { @@ -508,11 +508,13 @@ "type": "string" } }, - "description": "The display string." + "description": "The display string.", + "type": "object" } } }, "DedicatedHsmOperationListResult": { + "type": "object", "description": "Result of the request to list Dedicated HSM Provider operations. It contains a list of operations.", "properties": { "value": { @@ -534,7 +536,8 @@ "description": "The ARM resource id in the form of /subscriptions/{SubscriptionId}/resourceGroups/{ResourceGroupName}/..." } }, - "description": "The API entity reference." + "description": "The API entity reference.", + "type": "object" }, "NetworkInterface": { "properties": { @@ -548,7 +551,8 @@ "description": "Private Ip address of the interface" } }, - "description": "The network interface definition." + "description": "The network interface definition.", + "type": "object" }, "NetworkProfile": { "properties": { @@ -564,9 +568,11 @@ "description": "Specifies the list of resource Ids for the network interfaces associated with the dedicated HSM." } }, - "description": "The network profile definition." + "description": "The network profile definition.", + "type": "object" }, "Sku": { + "type": "object", "description": "SKU of the dedicated HSM", "properties": { "name": { @@ -686,13 +692,14 @@ } } }, - "description": "Properties of the dedicated hsm" + "description": "Properties of the dedicated hsm", + "type": "object" }, "DedicatedHsm": { "properties": { "systemData": { "description": "Metadata pertaining to creation and last modification of the resource", - "$ref": "#/definitions/SystemData" + "$ref": "#/definitions/DHsmSystemData" }, "properties": { "x-ms-client-flatten": true, @@ -702,7 +709,7 @@ }, "allOf": [ { - "$ref": "#/definitions/Resource" + "$ref": "#/definitions/DHsmResource" } ], "required": [ @@ -710,7 +717,8 @@ "sku", "properties" ], - "description": "Resource information with extended details." + "description": "Resource information with extended details.", + "type": "object" }, "DedicatedHsmPatchParameters": { "properties": { @@ -722,7 +730,8 @@ "description": "Resource tags" } }, - "description": "Patchable properties of the dedicated HSM" + "description": "Patchable properties of the dedicated HSM", + "type": "object" }, "DedicatedHsmListResult": { "properties": { @@ -738,14 +747,15 @@ "description": "The URL to get the next set of dedicated hsms." } }, - "description": "List of dedicated HSMs" + "description": "List of dedicated HSMs", + "type": "object" }, "ResourceListResult": { "properties": { "value": { "type": "array", "items": { - "$ref": "#/definitions/Resource" + "$ref": "#/definitions/DHsmResource" }, "description": "The list of dedicated HSM resources." }, @@ -754,19 +764,21 @@ "description": "The URL to get the next set of dedicated HSM resources." } }, - "description": "List of dedicated HSM resources." + "description": "List of dedicated HSM resources.", + "type": "object" }, "DedicatedHsmError": { "properties": { "error": { "description": "The error detail of the operation if any.", "readOnly": true, - "$ref": "#/definitions/Error" + "$ref": "#/definitions/DHsmError" } }, - "description": "The error exception." + "description": "The error exception.", + "type": "object" }, - "Error": { + "DHsmError": { "properties": { "code": { "type": "string", @@ -782,12 +794,13 @@ "description": "Contains more specific error that narrows down the cause. May be null.", "x-ms-client-name": "innerError", "readOnly": true, - "$ref": "#/definitions/Error" + "$ref": "#/definitions/DHsmError" } }, - "description": "The key vault server error." + "description": "The key vault server error.", + "type": "object" }, - "Resource": { + "DHsmResource": { "properties": { "id": { "readOnly": true, @@ -831,13 +844,13 @@ "description": "Resource tags" } }, - "description": "Dedicated HSM resource", "required": [ "location" ], - "x-ms-azure-resource": true + "x-ms-azure-resource": true, + "type": "object" }, - "SystemData": { + "DHsmSystemData": { "description": "Metadata pertaining to creation and last modification of dedicated hsm resource.", "type": "object", "readOnly": true, @@ -967,13 +980,6 @@ } }, "parameters": { - "SubscriptionIdParameter": { - "name": "subscriptionId", - "in": "path", - "required": true, - "type": "string", - "description": "Subscription credentials which uniquely identify Microsoft Azure subscription. The subscription ID forms part of the URI for every service call." - }, "ApiVersionParameter": { "name": "api-version", "in": "query", From b030791a47150001e5a8595a578b8449560c877d Mon Sep 17 00:00:00 2001 From: GoradeAarti Date: Tue, 27 Sep 2022 21:04:49 -0700 Subject: [PATCH 35/69] fixing syntax errors --- .../stable/2021-11-30/dedicatedhsm.json | 28 +++++++++---------- 1 file changed, 14 insertions(+), 14 deletions(-) diff --git a/specification/hardwaresecuritymodules/resource-manager/Microsoft.HardwareSecurityModules/stable/2021-11-30/dedicatedhsm.json b/specification/hardwaresecuritymodules/resource-manager/Microsoft.HardwareSecurityModules/stable/2021-11-30/dedicatedhsm.json index 8fba4cbddd9e..da581c1fb839 100644 --- a/specification/hardwaresecuritymodules/resource-manager/Microsoft.HardwareSecurityModules/stable/2021-11-30/dedicatedhsm.json +++ b/specification/hardwaresecuritymodules/resource-manager/Microsoft.HardwareSecurityModules/stable/2021-11-30/dedicatedhsm.json @@ -509,12 +509,12 @@ } }, "description": "The display string.", - "type": "object" + "type": "object" } } }, "DedicatedHsmOperationListResult": { - "type": "object", + "type": "object", "description": "Result of the request to list Dedicated HSM Provider operations. It contains a list of operations.", "properties": { "value": { @@ -537,7 +537,7 @@ } }, "description": "The API entity reference.", - "type": "object" + "type": "object" }, "NetworkInterface": { "properties": { @@ -552,7 +552,7 @@ } }, "description": "The network interface definition.", - "type": "object" + "type": "object" }, "NetworkProfile": { "properties": { @@ -569,10 +569,10 @@ } }, "description": "The network profile definition.", - "type": "object" + "type": "object" }, "Sku": { - "type": "object", + "type": "object", "description": "SKU of the dedicated HSM", "properties": { "name": { @@ -693,7 +693,7 @@ } }, "description": "Properties of the dedicated hsm", - "type": "object" + "type": "object" }, "DedicatedHsm": { "properties": { @@ -718,7 +718,7 @@ "properties" ], "description": "Resource information with extended details.", - "type": "object" + "type": "object" }, "DedicatedHsmPatchParameters": { "properties": { @@ -731,7 +731,7 @@ } }, "description": "Patchable properties of the dedicated HSM", - "type": "object" + "type": "object" }, "DedicatedHsmListResult": { "properties": { @@ -748,7 +748,7 @@ } }, "description": "List of dedicated HSMs", - "type": "object" + "type": "object" }, "ResourceListResult": { "properties": { @@ -765,7 +765,7 @@ } }, "description": "List of dedicated HSM resources.", - "type": "object" + "type": "object" }, "DedicatedHsmError": { "properties": { @@ -776,7 +776,7 @@ } }, "description": "The error exception.", - "type": "object" + "type": "object" }, "DHsmError": { "properties": { @@ -798,7 +798,7 @@ } }, "description": "The key vault server error.", - "type": "object" + "type": "object" }, "DHsmResource": { "properties": { @@ -848,7 +848,7 @@ "location" ], "x-ms-azure-resource": true, - "type": "object" + "type": "object" }, "DHsmSystemData": { "description": "Metadata pertaining to creation and last modification of dedicated hsm resource.", From c40cafd555038b7e6786a654b481b194d1400b4d Mon Sep 17 00:00:00 2001 From: GoradeAarti Date: Tue, 27 Sep 2022 21:31:43 -0700 Subject: [PATCH 36/69] removed operations examples from cloudhsm --- .../Operations_List_MaximumSet_Gen.json | 84 ------------------- .../Operations_List_MinimumSet_Gen.json | 10 --- 2 files changed, 94 deletions(-) delete mode 100644 specification/hardwaresecuritymodules/resource-manager/Microsoft.HardwareSecurityModules/preview/2022-08-31-preview/examples/Operations_List_MaximumSet_Gen.json delete mode 100644 specification/hardwaresecuritymodules/resource-manager/Microsoft.HardwareSecurityModules/preview/2022-08-31-preview/examples/Operations_List_MinimumSet_Gen.json diff --git a/specification/hardwaresecuritymodules/resource-manager/Microsoft.HardwareSecurityModules/preview/2022-08-31-preview/examples/Operations_List_MaximumSet_Gen.json b/specification/hardwaresecuritymodules/resource-manager/Microsoft.HardwareSecurityModules/preview/2022-08-31-preview/examples/Operations_List_MaximumSet_Gen.json deleted file mode 100644 index 104b3b9baa7a..000000000000 --- a/specification/hardwaresecuritymodules/resource-manager/Microsoft.HardwareSecurityModules/preview/2022-08-31-preview/examples/Operations_List_MaximumSet_Gen.json +++ /dev/null @@ -1,84 +0,0 @@ -{ - "parameters": { - "api-version": "2022-08-31-preview" - }, - "responses": { - "200": { - "body": { - "value": [ - { - "name": "Microsoft.HardwareSecurityModules/cloudHsmClusters/read", - "display": { - "provider": "Microsoft HardwareSecurityModules", - "resource": "Cloud HSM", - "operation": "View Cloud HSM", - "description": "View the properties of a Cloud HSM" - }, - "isDataAction": false - }, - { - "name": "Microsoft.HardwareSecurityModules/cloudHsmClusters/write", - "display": { - "provider": "Microsoft HardwareSecurityModules", - "resource": "Cloud HSM", - "operation": "Create or Update Cloud HSM", - "description": "Create a new Cloud HSM of update the properties of an existing Cloud HSM" - }, - "isDataAction": false - }, - { - "name": "Microsoft.HardwareSecurityModules/cloudHsmClusters/delete", - "display": { - "provider": "Microsoft HardwareSecurityModules", - "resource": "Cloud HSM", - "operation": "Delete Cloud HSM", - "description": "Delete a Cloud HSM" - }, - "isDataAction": false - }, - { - "name": "Microsoft.HardwareSecurityModules/register/action", - "display": { - "provider": "Microsoft HardwareSecurityModules", - "resource": "Subscription", - "operation": "Register Subscription", - "description": "Registers a subscription" - }, - "isDataAction": false - }, - { - "name": "Microsoft.HardwareSecurityModules/unregister/action", - "display": { - "provider": "Microsoft HardwareSecurityModules", - "resource": "Subscription", - "operation": "Unregister Subscription", - "description": "Unregisters a subscription" - }, - "isDataAction": false - }, - { - "name": "Microsoft.HardwareSecurityModules/operations/read", - "display": { - "provider": "Microsoft HardwareSecurityModules", - "resource": "Operations", - "operation": "Available HardwareSecurityModules Operations", - "description": "Lists operations available on Microsoft.HardwareSecurityModules resource provider" - }, - "isDataAction": false - }, - { - "name": "Microsoft.HardwareSecurityModules/locations/cloudHsmOperationResults/read", - "display": { - "provider": "Microsoft HardwareSecurityModules", - "resource": "Long Run Operation Result", - "operation": "Check Operation Result", - "description": "Check the result of a long run operation" - }, - "isDataAction": false - } - ], - "nextLink": "null" - } - } - } -} diff --git a/specification/hardwaresecuritymodules/resource-manager/Microsoft.HardwareSecurityModules/preview/2022-08-31-preview/examples/Operations_List_MinimumSet_Gen.json b/specification/hardwaresecuritymodules/resource-manager/Microsoft.HardwareSecurityModules/preview/2022-08-31-preview/examples/Operations_List_MinimumSet_Gen.json deleted file mode 100644 index d9142e2a25f7..000000000000 --- a/specification/hardwaresecuritymodules/resource-manager/Microsoft.HardwareSecurityModules/preview/2022-08-31-preview/examples/Operations_List_MinimumSet_Gen.json +++ /dev/null @@ -1,10 +0,0 @@ -{ - "parameters": { - "api-version": "2022-08-31-preview" - }, - "responses": { - "200": { - "body": {} - } - } -} From f152816fff3f698ab3b87acae28dcfb52bef62ea Mon Sep 17 00:00:00 2001 From: GoradeAarti Date: Tue, 27 Sep 2022 21:36:24 -0700 Subject: [PATCH 37/69] added ResourceNameRestriction for peConnectionName --- .../preview/2022-08-31-preview/cloudhsm.json | 8 ++++++++ 1 file changed, 8 insertions(+) diff --git a/specification/hardwaresecuritymodules/resource-manager/Microsoft.HardwareSecurityModules/preview/2022-08-31-preview/cloudhsm.json b/specification/hardwaresecuritymodules/resource-manager/Microsoft.HardwareSecurityModules/preview/2022-08-31-preview/cloudhsm.json index ce720e9368c4..5ae6e912b2c4 100644 --- a/specification/hardwaresecuritymodules/resource-manager/Microsoft.HardwareSecurityModules/preview/2022-08-31-preview/cloudhsm.json +++ b/specification/hardwaresecuritymodules/resource-manager/Microsoft.HardwareSecurityModules/preview/2022-08-31-preview/cloudhsm.json @@ -870,6 +870,14 @@ "maxLength": 24, "minLength": 3, "x-ms-parameter-location": "method" + }, + "peConnectionName": { + "name": "peConnectionName", + "in": "path", + "required": true, + "type": "string", + "description": "Name of the private endpoint connection associated with the Cloud HSM Cluster.", + "x-ms-parameter-location": "method" } } } From eb2fd02976f8e317544634ab68a666a01c851766 Mon Sep 17 00:00:00 2001 From: GoradeAarti Date: Tue, 27 Sep 2022 21:38:16 -0700 Subject: [PATCH 38/69] added ResourceNameRestriction for peConnectionName --- .../preview/2022-08-31-preview/cloudhsm.json | 18 +++--------------- 1 file changed, 3 insertions(+), 15 deletions(-) diff --git a/specification/hardwaresecuritymodules/resource-manager/Microsoft.HardwareSecurityModules/preview/2022-08-31-preview/cloudhsm.json b/specification/hardwaresecuritymodules/resource-manager/Microsoft.HardwareSecurityModules/preview/2022-08-31-preview/cloudhsm.json index 5ae6e912b2c4..cf4b75f3dba4 100644 --- a/specification/hardwaresecuritymodules/resource-manager/Microsoft.HardwareSecurityModules/preview/2022-08-31-preview/cloudhsm.json +++ b/specification/hardwaresecuritymodules/resource-manager/Microsoft.HardwareSecurityModules/preview/2022-08-31-preview/cloudhsm.json @@ -413,11 +413,7 @@ "$ref": "../../../../../common-types/resource-management/v3/types.json#/parameters/ApiVersionParameter" }, { - "in": "path", - "name": "peConnectionName", - "required": true, - "type": "string", - "description": "PrivateEndpointConnection name" + "$ref": "#/parameters/peConnectionName" }, { "in": "body", @@ -473,11 +469,7 @@ "$ref": "../../../../../common-types/resource-management/v3/types.json#/parameters/ApiVersionParameter" }, { - "in": "path", - "name": "peConnectionName", - "required": true, - "type": "string", - "description": "PrivateEndpointConnection name" + "$ref": "#/parameters/peConnectionName" } ], "responses": { @@ -529,11 +521,7 @@ "$ref": "../../../../../common-types/resource-management/v3/types.json#/parameters/ApiVersionParameter" }, { - "in": "path", - "name": "peConnectionName", - "required": true, - "type": "string", - "description": "PrivateEndpointConnection name" + "$ref": "#/parameters/peConnectionName" } ], "responses": { From 309c3d54c18eaeabe4010509e5415f59b2a5f878 Mon Sep 17 00:00:00 2001 From: GoradeAarti Date: Tue, 27 Sep 2022 21:56:07 -0700 Subject: [PATCH 39/69] added pattern for peConnectionName --- .../preview/2022-08-31-preview/cloudhsm.json | 3 +++ 1 file changed, 3 insertions(+) diff --git a/specification/hardwaresecuritymodules/resource-manager/Microsoft.HardwareSecurityModules/preview/2022-08-31-preview/cloudhsm.json b/specification/hardwaresecuritymodules/resource-manager/Microsoft.HardwareSecurityModules/preview/2022-08-31-preview/cloudhsm.json index cf4b75f3dba4..69a63d2ff916 100644 --- a/specification/hardwaresecuritymodules/resource-manager/Microsoft.HardwareSecurityModules/preview/2022-08-31-preview/cloudhsm.json +++ b/specification/hardwaresecuritymodules/resource-manager/Microsoft.HardwareSecurityModules/preview/2022-08-31-preview/cloudhsm.json @@ -865,6 +865,9 @@ "required": true, "type": "string", "description": "Name of the private endpoint connection associated with the Cloud HSM Cluster.", + "pattern": "^[a-zA-Z0-9-]{3,24}$", + "maxLength": 24, + "minLength": 3, "x-ms-parameter-location": "method" } } From ddc340eb84ee01623ddf9ee882df4c1c6855c554 Mon Sep 17 00:00:00 2001 From: GoradeAarti Date: Tue, 27 Sep 2022 22:16:16 -0700 Subject: [PATCH 40/69] fixing prettier check --- .../preview/2022-08-31-preview/cloudhsm.json | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/specification/hardwaresecuritymodules/resource-manager/Microsoft.HardwareSecurityModules/preview/2022-08-31-preview/cloudhsm.json b/specification/hardwaresecuritymodules/resource-manager/Microsoft.HardwareSecurityModules/preview/2022-08-31-preview/cloudhsm.json index 69a63d2ff916..6703236e2dc5 100644 --- a/specification/hardwaresecuritymodules/resource-manager/Microsoft.HardwareSecurityModules/preview/2022-08-31-preview/cloudhsm.json +++ b/specification/hardwaresecuritymodules/resource-manager/Microsoft.HardwareSecurityModules/preview/2022-08-31-preview/cloudhsm.json @@ -865,7 +865,7 @@ "required": true, "type": "string", "description": "Name of the private endpoint connection associated with the Cloud HSM Cluster.", - "pattern": "^[a-zA-Z0-9-]{3,24}$", + "pattern": "^[a-zA-Z0-9-]{3,24}$", "maxLength": 24, "minLength": 3, "x-ms-parameter-location": "method" From 557ed8849b84c55d998d3bb229889e4f09f7678d Mon Sep 17 00:00:00 2001 From: GoradeAarti Date: Wed, 28 Sep 2022 10:35:46 -0700 Subject: [PATCH 41/69] Using Common-types definitions for TrackedResource --- .../stable/2021-11-30/dedicatedhsm.json | 138 +++--------------- 1 file changed, 18 insertions(+), 120 deletions(-) diff --git a/specification/hardwaresecuritymodules/resource-manager/Microsoft.HardwareSecurityModules/stable/2021-11-30/dedicatedhsm.json b/specification/hardwaresecuritymodules/resource-manager/Microsoft.HardwareSecurityModules/stable/2021-11-30/dedicatedhsm.json index da581c1fb839..eaf7eced1b82 100644 --- a/specification/hardwaresecuritymodules/resource-manager/Microsoft.HardwareSecurityModules/stable/2021-11-30/dedicatedhsm.json +++ b/specification/hardwaresecuritymodules/resource-manager/Microsoft.HardwareSecurityModules/stable/2021-11-30/dedicatedhsm.json @@ -697,19 +697,15 @@ }, "DedicatedHsm": { "properties": { - "systemData": { - "description": "Metadata pertaining to creation and last modification of the resource", - "$ref": "#/definitions/DHsmSystemData" - }, "properties": { "x-ms-client-flatten": true, "$ref": "#/definitions/DedicatedHsmProperties", - "description": "Properties of the dedicated HSM" + "description": "Properties of the Dedicated HSM" } }, "allOf": [ { - "$ref": "#/definitions/DHsmResource" + "$ref": "#/definitions/DedicatedHsmResource" } ], "required": [ @@ -720,6 +716,22 @@ "description": "Resource information with extended details.", "type": "object" }, + "DedicatedHsmResource": { + "properties": { + "sku": { + "$ref": "#/definitions/Sku", + "description": "SKU details" + } + }, + "allOf": [ + { + "$ref": "../../../../../common-types/resource-management/v3/types.json#/definitions/TrackedResource" + } + ], + "description": "Dedicated HSM Resource", + "type": "object", + "x-ms-azure-resource": true + }, "DedicatedHsmPatchParameters": { "properties": { "tags": { @@ -750,23 +762,6 @@ "description": "List of dedicated HSMs", "type": "object" }, - "ResourceListResult": { - "properties": { - "value": { - "type": "array", - "items": { - "$ref": "#/definitions/DHsmResource" - }, - "description": "The list of dedicated HSM resources." - }, - "nextLink": { - "type": "string", - "description": "The URL to get the next set of dedicated HSM resources." - } - }, - "description": "List of dedicated HSM resources.", - "type": "object" - }, "DedicatedHsmError": { "properties": { "error": { @@ -800,103 +795,6 @@ "description": "The key vault server error.", "type": "object" }, - "DHsmResource": { - "properties": { - "id": { - "readOnly": true, - "type": "string", - "description": "The Azure Resource Manager resource ID for the dedicated HSM." - }, - "name": { - "readOnly": true, - "type": "string", - "description": "The name of the dedicated HSM." - }, - "type": { - "readOnly": true, - "type": "string", - "description": "The resource type of the dedicated HSM." - }, - "location": { - "type": "string", - "description": "The supported Azure location where the dedicated HSM should be created.", - "x-ms-mutability": [ - "create", - "read" - ] - }, - "sku": { - "$ref": "#/definitions/Sku", - "description": "SKU details" - }, - "zones": { - "type": "array", - "items": { - "type": "string" - }, - "description": "The Dedicated Hsm zones." - }, - "tags": { - "type": "object", - "additionalProperties": { - "type": "string" - }, - "description": "Resource tags" - } - }, - "required": [ - "location" - ], - "x-ms-azure-resource": true, - "type": "object" - }, - "DHsmSystemData": { - "description": "Metadata pertaining to creation and last modification of dedicated hsm resource.", - "type": "object", - "readOnly": true, - "properties": { - "createdBy": { - "type": "string", - "description": "The identity that created dedicated hsm resource." - }, - "createdByType": { - "description": "The type of identity that created dedicated hsm resource.", - "$ref": "#/definitions/IdentityType" - }, - "createdAt": { - "type": "string", - "format": "date-time", - "description": "The timestamp of dedicated hsm resource creation (UTC)." - }, - "lastModifiedBy": { - "type": "string", - "description": "The identity that last modified dedicated hsm resource." - }, - "lastModifiedByType": { - "description": "The type of identity that last modified dedicated hsm resource.", - "$ref": "#/definitions/IdentityType" - }, - "lastModifiedAt": { - "type": "string", - "format": "date-time", - "description": "The timestamp of dedicated hsm resource last modification (UTC)." - } - } - }, - "IdentityType": { - "type": "string", - "description": "The type of identity.", - "enum": [ - "User", - "Application", - "ManagedIdentity", - "Key" - ], - "x-ms-enum": { - "name": "identityType", - "modelAsString": true - } - }, "OutboundEnvironmentEndpointCollection": { "description": "Collection of OutboundEnvironmentEndpoint", "required": [ From 426f58ca1339d72ff239608966f5e361a856c19b Mon Sep 17 00:00:00 2001 From: GoradeAarti Date: Wed, 28 Sep 2022 12:33:17 -0700 Subject: [PATCH 42/69] created separate folders for different sub services --- .../preview/2022-08-31-preview/cloudhsm.json | 76 ++++----- ...pointConnection_Create_MaximumSet_Gen.json | 0 ...pointConnection_Delete_MaximumSet_Gen.json | 0 ...EndpointConnection_Get_MaximumSet_Gen.json | 0 ..._ListByCloudHsmCluster_MaximumSet_Gen.json | 0 ..._ListByCloudHsmCluster_MaximumSet_Gen.json | 0 ...Cluster_CreateOrUpdate_MaximumSet_Gen.json | 0 ...CloudHsmCluster_Delete_MaximumSet_Gen.json | 0 .../CloudHsmCluster_Get_MaximumSet_Gen.json | 0 ...er_ListByResourceGroup_MaximumSet_Gen.json | 0 ...ter_ListBySubscription_MaximumSet_Gen.json | 0 ...CloudHsmCluster_Update_MaximumSet_Gen.json | 0 .../2018-10-31-preview/dedicatedhsm.json | 0 .../examples/DedicatedHsm_CreateOrUpdate.json | 0 .../examples/DedicatedHsm_Delete.json | 0 .../examples/DedicatedHsm_Get.json | 0 .../DedicatedHsm_ListByResourceGroup.json | 0 .../DedicatedHsm_ListBySubscription.json | 0 .../examples/DedicatedHsm_OperationsList.json | 0 .../examples/DedicatedHsm_Update.json | 0 .../examples/PaymentHsm_CreateOrUpdate.json | 0 .../examples/PaymentHsm_Get.json | 0 .../examples/PaymentHsm_Update.json | 0 .../stable/2021-11-30/dedicatedhsm.json | 155 +++++++++++++++--- .../examples/DedicatedHsm_CreateOrUpdate.json | 0 .../examples/DedicatedHsm_Delete.json | 0 .../2021-11-30/examples/DedicatedHsm_Get.json | 0 .../DedicatedHsm_ListByResourceGroup.json | 0 .../DedicatedHsm_ListBySubscription.json | 0 .../examples/DedicatedHsm_OperationsList.json | 0 .../examples/DedicatedHsm_Update.json | 0 ...boundNetworkDependenciesEndpointsList.json | 0 .../examples/PaymentHsm_CreateOrUpdate.json | 0 ..._CreateOrUpdate_WithManagementProfile.json | 0 .../2021-11-30/examples/PaymentHsm_Get.json | 0 ...sm_Get_With_2018-10-31Preview_Version.json | 0 .../PaymentHsm_ListByResourceGroup.json | 0 .../PaymentHsm_ListBySubscription.json | 0 .../examples/PaymentHsm_OperationsList.json | 0 .../examples/PaymentHsm_Update.json | 0 .../resource-manager/readme.md | 8 +- 41 files changed, 171 insertions(+), 68 deletions(-) rename specification/hardwaresecuritymodules/resource-manager/Microsoft.HardwareSecurityModules/{ => CloudHsm}/preview/2022-08-31-preview/cloudhsm.json (84%) rename specification/hardwaresecuritymodules/resource-manager/Microsoft.HardwareSecurityModules/{ => CloudHsm}/preview/2022-08-31-preview/examples/CloudHsmClusterPrivateEndpointConnection_Create_MaximumSet_Gen.json (100%) rename specification/hardwaresecuritymodules/resource-manager/Microsoft.HardwareSecurityModules/{ => CloudHsm}/preview/2022-08-31-preview/examples/CloudHsmClusterPrivateEndpointConnection_Delete_MaximumSet_Gen.json (100%) rename specification/hardwaresecuritymodules/resource-manager/Microsoft.HardwareSecurityModules/{ => CloudHsm}/preview/2022-08-31-preview/examples/CloudHsmClusterPrivateEndpointConnection_Get_MaximumSet_Gen.json (100%) rename specification/hardwaresecuritymodules/resource-manager/Microsoft.HardwareSecurityModules/{ => CloudHsm}/preview/2022-08-31-preview/examples/CloudHsmClusterPrivateEndpointConnection_ListByCloudHsmCluster_MaximumSet_Gen.json (100%) rename specification/hardwaresecuritymodules/resource-manager/Microsoft.HardwareSecurityModules/{ => CloudHsm}/preview/2022-08-31-preview/examples/CloudHsmClusterPrivateLinkResource_ListByCloudHsmCluster_MaximumSet_Gen.json (100%) rename specification/hardwaresecuritymodules/resource-manager/Microsoft.HardwareSecurityModules/{ => CloudHsm}/preview/2022-08-31-preview/examples/CloudHsmCluster_CreateOrUpdate_MaximumSet_Gen.json (100%) rename specification/hardwaresecuritymodules/resource-manager/Microsoft.HardwareSecurityModules/{ => CloudHsm}/preview/2022-08-31-preview/examples/CloudHsmCluster_Delete_MaximumSet_Gen.json (100%) rename specification/hardwaresecuritymodules/resource-manager/Microsoft.HardwareSecurityModules/{ => CloudHsm}/preview/2022-08-31-preview/examples/CloudHsmCluster_Get_MaximumSet_Gen.json (100%) rename specification/hardwaresecuritymodules/resource-manager/Microsoft.HardwareSecurityModules/{ => CloudHsm}/preview/2022-08-31-preview/examples/CloudHsmCluster_ListByResourceGroup_MaximumSet_Gen.json (100%) rename specification/hardwaresecuritymodules/resource-manager/Microsoft.HardwareSecurityModules/{ => CloudHsm}/preview/2022-08-31-preview/examples/CloudHsmCluster_ListBySubscription_MaximumSet_Gen.json (100%) rename specification/hardwaresecuritymodules/resource-manager/Microsoft.HardwareSecurityModules/{ => CloudHsm}/preview/2022-08-31-preview/examples/CloudHsmCluster_Update_MaximumSet_Gen.json (100%) rename specification/hardwaresecuritymodules/resource-manager/Microsoft.HardwareSecurityModules/{ => DedicatedHsm}/preview/2018-10-31-preview/dedicatedhsm.json (100%) rename specification/hardwaresecuritymodules/resource-manager/Microsoft.HardwareSecurityModules/{ => DedicatedHsm}/preview/2018-10-31-preview/examples/DedicatedHsm_CreateOrUpdate.json (100%) rename specification/hardwaresecuritymodules/resource-manager/Microsoft.HardwareSecurityModules/{ => DedicatedHsm}/preview/2018-10-31-preview/examples/DedicatedHsm_Delete.json (100%) rename specification/hardwaresecuritymodules/resource-manager/Microsoft.HardwareSecurityModules/{ => DedicatedHsm}/preview/2018-10-31-preview/examples/DedicatedHsm_Get.json (100%) rename specification/hardwaresecuritymodules/resource-manager/Microsoft.HardwareSecurityModules/{ => DedicatedHsm}/preview/2018-10-31-preview/examples/DedicatedHsm_ListByResourceGroup.json (100%) rename specification/hardwaresecuritymodules/resource-manager/Microsoft.HardwareSecurityModules/{ => DedicatedHsm}/preview/2018-10-31-preview/examples/DedicatedHsm_ListBySubscription.json (100%) rename specification/hardwaresecuritymodules/resource-manager/Microsoft.HardwareSecurityModules/{ => DedicatedHsm}/preview/2018-10-31-preview/examples/DedicatedHsm_OperationsList.json (100%) rename specification/hardwaresecuritymodules/resource-manager/Microsoft.HardwareSecurityModules/{ => DedicatedHsm}/preview/2018-10-31-preview/examples/DedicatedHsm_Update.json (100%) rename specification/hardwaresecuritymodules/resource-manager/Microsoft.HardwareSecurityModules/{ => DedicatedHsm}/preview/2018-10-31-preview/examples/PaymentHsm_CreateOrUpdate.json (100%) rename specification/hardwaresecuritymodules/resource-manager/Microsoft.HardwareSecurityModules/{ => DedicatedHsm}/preview/2018-10-31-preview/examples/PaymentHsm_Get.json (100%) rename specification/hardwaresecuritymodules/resource-manager/Microsoft.HardwareSecurityModules/{ => DedicatedHsm}/preview/2018-10-31-preview/examples/PaymentHsm_Update.json (100%) rename specification/hardwaresecuritymodules/resource-manager/Microsoft.HardwareSecurityModules/{ => DedicatedHsm}/stable/2021-11-30/dedicatedhsm.json (86%) rename specification/hardwaresecuritymodules/resource-manager/Microsoft.HardwareSecurityModules/{ => DedicatedHsm}/stable/2021-11-30/examples/DedicatedHsm_CreateOrUpdate.json (100%) rename specification/hardwaresecuritymodules/resource-manager/Microsoft.HardwareSecurityModules/{ => DedicatedHsm}/stable/2021-11-30/examples/DedicatedHsm_Delete.json (100%) rename specification/hardwaresecuritymodules/resource-manager/Microsoft.HardwareSecurityModules/{ => DedicatedHsm}/stable/2021-11-30/examples/DedicatedHsm_Get.json (100%) rename specification/hardwaresecuritymodules/resource-manager/Microsoft.HardwareSecurityModules/{ => DedicatedHsm}/stable/2021-11-30/examples/DedicatedHsm_ListByResourceGroup.json (100%) rename specification/hardwaresecuritymodules/resource-manager/Microsoft.HardwareSecurityModules/{ => DedicatedHsm}/stable/2021-11-30/examples/DedicatedHsm_ListBySubscription.json (100%) rename specification/hardwaresecuritymodules/resource-manager/Microsoft.HardwareSecurityModules/{ => DedicatedHsm}/stable/2021-11-30/examples/DedicatedHsm_OperationsList.json (100%) rename specification/hardwaresecuritymodules/resource-manager/Microsoft.HardwareSecurityModules/{ => DedicatedHsm}/stable/2021-11-30/examples/DedicatedHsm_Update.json (100%) rename specification/hardwaresecuritymodules/resource-manager/Microsoft.HardwareSecurityModules/{ => DedicatedHsm}/stable/2021-11-30/examples/GetOutboundNetworkDependenciesEndpointsList.json (100%) rename specification/hardwaresecuritymodules/resource-manager/Microsoft.HardwareSecurityModules/{ => DedicatedHsm}/stable/2021-11-30/examples/PaymentHsm_CreateOrUpdate.json (100%) rename specification/hardwaresecuritymodules/resource-manager/Microsoft.HardwareSecurityModules/{ => DedicatedHsm}/stable/2021-11-30/examples/PaymentHsm_CreateOrUpdate_WithManagementProfile.json (100%) rename specification/hardwaresecuritymodules/resource-manager/Microsoft.HardwareSecurityModules/{ => DedicatedHsm}/stable/2021-11-30/examples/PaymentHsm_Get.json (100%) rename specification/hardwaresecuritymodules/resource-manager/Microsoft.HardwareSecurityModules/{ => DedicatedHsm}/stable/2021-11-30/examples/PaymentHsm_Get_With_2018-10-31Preview_Version.json (100%) rename specification/hardwaresecuritymodules/resource-manager/Microsoft.HardwareSecurityModules/{ => DedicatedHsm}/stable/2021-11-30/examples/PaymentHsm_ListByResourceGroup.json (100%) rename specification/hardwaresecuritymodules/resource-manager/Microsoft.HardwareSecurityModules/{ => DedicatedHsm}/stable/2021-11-30/examples/PaymentHsm_ListBySubscription.json (100%) rename specification/hardwaresecuritymodules/resource-manager/Microsoft.HardwareSecurityModules/{ => DedicatedHsm}/stable/2021-11-30/examples/PaymentHsm_OperationsList.json (100%) rename specification/hardwaresecuritymodules/resource-manager/Microsoft.HardwareSecurityModules/{ => DedicatedHsm}/stable/2021-11-30/examples/PaymentHsm_Update.json (100%) diff --git a/specification/hardwaresecuritymodules/resource-manager/Microsoft.HardwareSecurityModules/preview/2022-08-31-preview/cloudhsm.json b/specification/hardwaresecuritymodules/resource-manager/Microsoft.HardwareSecurityModules/CloudHsm/preview/2022-08-31-preview/cloudhsm.json similarity index 84% rename from specification/hardwaresecuritymodules/resource-manager/Microsoft.HardwareSecurityModules/preview/2022-08-31-preview/cloudhsm.json rename to specification/hardwaresecuritymodules/resource-manager/Microsoft.HardwareSecurityModules/CloudHsm/preview/2022-08-31-preview/cloudhsm.json index 6703236e2dc5..7fb86a0665cb 100644 --- a/specification/hardwaresecuritymodules/resource-manager/Microsoft.HardwareSecurityModules/preview/2022-08-31-preview/cloudhsm.json +++ b/specification/hardwaresecuritymodules/resource-manager/Microsoft.HardwareSecurityModules/CloudHsm/preview/2022-08-31-preview/cloudhsm.json @@ -47,16 +47,16 @@ }, "parameters": [ { - "$ref": "../../../../../common-types/resource-management/v3/types.json#/parameters/SubscriptionIdParameter" + "$ref": "../../../../../../common-types/resource-management/v3/types.json#/parameters/SubscriptionIdParameter" }, { - "$ref": "../../../../../common-types/resource-management/v3/types.json#/parameters/ResourceGroupNameParameter" + "$ref": "../../../../../../common-types/resource-management/v3/types.json#/parameters/ResourceGroupNameParameter" }, { "$ref": "#/parameters/cloudHsmClusterName" }, { - "$ref": "../../../../../common-types/resource-management/v3/types.json#/parameters/ApiVersionParameter" + "$ref": "../../../../../../common-types/resource-management/v3/types.json#/parameters/ApiVersionParameter" }, { "in": "body", @@ -107,16 +107,16 @@ "description": "Update a Cloud HSM Cluster in the specified subscription.", "parameters": [ { - "$ref": "../../../../../common-types/resource-management/v3/types.json#/parameters/SubscriptionIdParameter" + "$ref": "../../../../../../common-types/resource-management/v3/types.json#/parameters/SubscriptionIdParameter" }, { - "$ref": "../../../../../common-types/resource-management/v3/types.json#/parameters/ResourceGroupNameParameter" + "$ref": "../../../../../../common-types/resource-management/v3/types.json#/parameters/ResourceGroupNameParameter" }, { "$ref": "#/parameters/cloudHsmClusterName" }, { - "$ref": "../../../../../common-types/resource-management/v3/types.json#/parameters/ApiVersionParameter" + "$ref": "../../../../../../common-types/resource-management/v3/types.json#/parameters/ApiVersionParameter" }, { "in": "body", @@ -169,16 +169,16 @@ "description": "Gets the specified Cloud HSM Cluster", "parameters": [ { - "$ref": "../../../../../common-types/resource-management/v3/types.json#/parameters/SubscriptionIdParameter" + "$ref": "../../../../../../common-types/resource-management/v3/types.json#/parameters/SubscriptionIdParameter" }, { - "$ref": "../../../../../common-types/resource-management/v3/types.json#/parameters/ResourceGroupNameParameter" + "$ref": "../../../../../../common-types/resource-management/v3/types.json#/parameters/ResourceGroupNameParameter" }, { "$ref": "#/parameters/cloudHsmClusterName" }, { - "$ref": "../../../../../common-types/resource-management/v3/types.json#/parameters/ApiVersionParameter" + "$ref": "../../../../../../common-types/resource-management/v3/types.json#/parameters/ApiVersionParameter" } ], "responses": { @@ -213,16 +213,16 @@ }, "parameters": [ { - "$ref": "../../../../../common-types/resource-management/v3/types.json#/parameters/SubscriptionIdParameter" + "$ref": "../../../../../../common-types/resource-management/v3/types.json#/parameters/SubscriptionIdParameter" }, { - "$ref": "../../../../../common-types/resource-management/v3/types.json#/parameters/ResourceGroupNameParameter" + "$ref": "../../../../../../common-types/resource-management/v3/types.json#/parameters/ResourceGroupNameParameter" }, { "$ref": "#/parameters/cloudHsmClusterName" }, { - "$ref": "../../../../../common-types/resource-management/v3/types.json#/parameters/ApiVersionParameter" + "$ref": "../../../../../../common-types/resource-management/v3/types.json#/parameters/ApiVersionParameter" } ], "responses": { @@ -264,10 +264,10 @@ "description": "The List operation gets information about the Cloud HSM Clusters associated with the subscription and within the specified resource group.", "parameters": [ { - "$ref": "../../../../../common-types/resource-management/v3/types.json#/parameters/SubscriptionIdParameter" + "$ref": "../../../../../../common-types/resource-management/v3/types.json#/parameters/SubscriptionIdParameter" }, { - "$ref": "../../../../../common-types/resource-management/v3/types.json#/parameters/ResourceGroupNameParameter" + "$ref": "../../../../../../common-types/resource-management/v3/types.json#/parameters/ResourceGroupNameParameter" }, { "in": "query", @@ -277,7 +277,7 @@ "description": "Maximum number of results to return." }, { - "$ref": "../../../../../common-types/resource-management/v3/types.json#/parameters/ApiVersionParameter" + "$ref": "../../../../../../common-types/resource-management/v3/types.json#/parameters/ApiVersionParameter" } ], "responses": { @@ -313,7 +313,7 @@ "description": "The List operation gets information about the Cloud HSM Clusters associated with the subscription.", "parameters": [ { - "$ref": "../../../../../common-types/resource-management/v3/types.json#/parameters/SubscriptionIdParameter" + "$ref": "../../../../../../common-types/resource-management/v3/types.json#/parameters/SubscriptionIdParameter" }, { "in": "query", @@ -323,7 +323,7 @@ "description": "Maximum number of results to return." }, { - "$ref": "../../../../../common-types/resource-management/v3/types.json#/parameters/ApiVersionParameter" + "$ref": "../../../../../../common-types/resource-management/v3/types.json#/parameters/ApiVersionParameter" } ], "responses": { @@ -359,23 +359,23 @@ "description": "Gets the private link resources supported for the Cloud Hsm Cluster.", "parameters": [ { - "$ref": "../../../../../common-types/resource-management/v3/types.json#/parameters/SubscriptionIdParameter" + "$ref": "../../../../../../common-types/resource-management/v3/types.json#/parameters/SubscriptionIdParameter" }, { - "$ref": "../../../../../common-types/resource-management/v3/types.json#/parameters/ResourceGroupNameParameter" + "$ref": "../../../../../../common-types/resource-management/v3/types.json#/parameters/ResourceGroupNameParameter" }, { "$ref": "#/parameters/cloudHsmClusterName" }, { - "$ref": "../../../../../common-types/resource-management/v3/types.json#/parameters/ApiVersionParameter" + "$ref": "../../../../../../common-types/resource-management/v3/types.json#/parameters/ApiVersionParameter" } ], "responses": { "200": { "description": "Successfully retrieved private link resources.", "schema": { - "$ref": "../../../../../common-types/resource-management/v4/privatelinks.json#/definitions/PrivateLinkResourceListResult" + "$ref": "../../../../../../common-types/resource-management/v4/privatelinks.json#/definitions/PrivateLinkResourceListResult" } }, "default": { @@ -401,16 +401,16 @@ "description": "Creates or updates the private endpoint connection for the Cloud Hsm Cluster.", "parameters": [ { - "$ref": "../../../../../common-types/resource-management/v3/types.json#/parameters/SubscriptionIdParameter" + "$ref": "../../../../../../common-types/resource-management/v3/types.json#/parameters/SubscriptionIdParameter" }, { - "$ref": "../../../../../common-types/resource-management/v3/types.json#/parameters/ResourceGroupNameParameter" + "$ref": "../../../../../../common-types/resource-management/v3/types.json#/parameters/ResourceGroupNameParameter" }, { "$ref": "#/parameters/cloudHsmClusterName" }, { - "$ref": "../../../../../common-types/resource-management/v3/types.json#/parameters/ApiVersionParameter" + "$ref": "../../../../../../common-types/resource-management/v3/types.json#/parameters/ApiVersionParameter" }, { "$ref": "#/parameters/peConnectionName" @@ -420,7 +420,7 @@ "name": "properties", "required": true, "schema": { - "$ref": "../../../../../common-types/resource-management/v4/privatelinks.json#/definitions/PrivateEndpointConnection" + "$ref": "../../../../../../common-types/resource-management/v4/privatelinks.json#/definitions/PrivateEndpointConnection" }, "description": "Parameters of the PrivateEndpointConnection" } @@ -429,7 +429,7 @@ "200": { "description": "OK -- Update the private endpoint connection properties successfully.", "schema": { - "$ref": "../../../../../common-types/resource-management/v4/privatelinks.json#/definitions/PrivateEndpointConnection" + "$ref": "../../../../../../common-types/resource-management/v4/privatelinks.json#/definitions/PrivateEndpointConnection" } }, "default": { @@ -457,16 +457,16 @@ }, "parameters": [ { - "$ref": "../../../../../common-types/resource-management/v3/types.json#/parameters/SubscriptionIdParameter" + "$ref": "../../../../../../common-types/resource-management/v3/types.json#/parameters/SubscriptionIdParameter" }, { - "$ref": "../../../../../common-types/resource-management/v3/types.json#/parameters/ResourceGroupNameParameter" + "$ref": "../../../../../../common-types/resource-management/v3/types.json#/parameters/ResourceGroupNameParameter" }, { "$ref": "#/parameters/cloudHsmClusterName" }, { - "$ref": "../../../../../common-types/resource-management/v3/types.json#/parameters/ApiVersionParameter" + "$ref": "../../../../../../common-types/resource-management/v3/types.json#/parameters/ApiVersionParameter" }, { "$ref": "#/parameters/peConnectionName" @@ -509,16 +509,16 @@ "description": "Gets the private endpoint connection for the Cloud Hsm Cluster.", "parameters": [ { - "$ref": "../../../../../common-types/resource-management/v3/types.json#/parameters/SubscriptionIdParameter" + "$ref": "../../../../../../common-types/resource-management/v3/types.json#/parameters/SubscriptionIdParameter" }, { - "$ref": "../../../../../common-types/resource-management/v3/types.json#/parameters/ResourceGroupNameParameter" + "$ref": "../../../../../../common-types/resource-management/v3/types.json#/parameters/ResourceGroupNameParameter" }, { "$ref": "#/parameters/cloudHsmClusterName" }, { - "$ref": "../../../../../common-types/resource-management/v3/types.json#/parameters/ApiVersionParameter" + "$ref": "../../../../../../common-types/resource-management/v3/types.json#/parameters/ApiVersionParameter" }, { "$ref": "#/parameters/peConnectionName" @@ -528,7 +528,7 @@ "200": { "description": "Private endpoint connection successfully returned.", "schema": { - "$ref": "../../../../../common-types/resource-management/v4/privatelinks.json#/definitions/PrivateEndpointConnection" + "$ref": "../../../../../../common-types/resource-management/v4/privatelinks.json#/definitions/PrivateEndpointConnection" } }, "default": { @@ -554,23 +554,23 @@ "description": "The List operation gets information about the private endpoint connections associated with the Cloud HSM Cluster", "parameters": [ { - "$ref": "../../../../../common-types/resource-management/v3/types.json#/parameters/SubscriptionIdParameter" + "$ref": "../../../../../../common-types/resource-management/v3/types.json#/parameters/SubscriptionIdParameter" }, { - "$ref": "../../../../../common-types/resource-management/v3/types.json#/parameters/ResourceGroupNameParameter" + "$ref": "../../../../../../common-types/resource-management/v3/types.json#/parameters/ResourceGroupNameParameter" }, { "$ref": "#/parameters/cloudHsmClusterName" }, { - "$ref": "../../../../../common-types/resource-management/v3/types.json#/parameters/ApiVersionParameter" + "$ref": "../../../../../../common-types/resource-management/v3/types.json#/parameters/ApiVersionParameter" } ], "responses": { "200": { "description": "List of all CloudHsmCluster private endpoint connections associated with the Cloud HSM Cluster.", "schema": { - "$ref": "../../../../../common-types/resource-management/v4/privatelinks.json#/definitions/PrivateEndpointConnectionListResult" + "$ref": "../../../../../../common-types/resource-management/v4/privatelinks.json#/definitions/PrivateEndpointConnectionListResult" } }, "default": { @@ -632,7 +632,7 @@ }, "allOf": [ { - "$ref": "../../../../../common-types/resource-management/v3/types.json#/definitions/TrackedResource" + "$ref": "../../../../../../common-types/resource-management/v3/types.json#/definitions/TrackedResource" } ], "description": "Cloud HSM Cluster Resource", diff --git a/specification/hardwaresecuritymodules/resource-manager/Microsoft.HardwareSecurityModules/preview/2022-08-31-preview/examples/CloudHsmClusterPrivateEndpointConnection_Create_MaximumSet_Gen.json b/specification/hardwaresecuritymodules/resource-manager/Microsoft.HardwareSecurityModules/CloudHsm/preview/2022-08-31-preview/examples/CloudHsmClusterPrivateEndpointConnection_Create_MaximumSet_Gen.json similarity index 100% rename from specification/hardwaresecuritymodules/resource-manager/Microsoft.HardwareSecurityModules/preview/2022-08-31-preview/examples/CloudHsmClusterPrivateEndpointConnection_Create_MaximumSet_Gen.json rename to specification/hardwaresecuritymodules/resource-manager/Microsoft.HardwareSecurityModules/CloudHsm/preview/2022-08-31-preview/examples/CloudHsmClusterPrivateEndpointConnection_Create_MaximumSet_Gen.json diff --git a/specification/hardwaresecuritymodules/resource-manager/Microsoft.HardwareSecurityModules/preview/2022-08-31-preview/examples/CloudHsmClusterPrivateEndpointConnection_Delete_MaximumSet_Gen.json b/specification/hardwaresecuritymodules/resource-manager/Microsoft.HardwareSecurityModules/CloudHsm/preview/2022-08-31-preview/examples/CloudHsmClusterPrivateEndpointConnection_Delete_MaximumSet_Gen.json similarity index 100% rename from specification/hardwaresecuritymodules/resource-manager/Microsoft.HardwareSecurityModules/preview/2022-08-31-preview/examples/CloudHsmClusterPrivateEndpointConnection_Delete_MaximumSet_Gen.json rename to specification/hardwaresecuritymodules/resource-manager/Microsoft.HardwareSecurityModules/CloudHsm/preview/2022-08-31-preview/examples/CloudHsmClusterPrivateEndpointConnection_Delete_MaximumSet_Gen.json diff --git a/specification/hardwaresecuritymodules/resource-manager/Microsoft.HardwareSecurityModules/preview/2022-08-31-preview/examples/CloudHsmClusterPrivateEndpointConnection_Get_MaximumSet_Gen.json b/specification/hardwaresecuritymodules/resource-manager/Microsoft.HardwareSecurityModules/CloudHsm/preview/2022-08-31-preview/examples/CloudHsmClusterPrivateEndpointConnection_Get_MaximumSet_Gen.json similarity index 100% rename from specification/hardwaresecuritymodules/resource-manager/Microsoft.HardwareSecurityModules/preview/2022-08-31-preview/examples/CloudHsmClusterPrivateEndpointConnection_Get_MaximumSet_Gen.json rename to specification/hardwaresecuritymodules/resource-manager/Microsoft.HardwareSecurityModules/CloudHsm/preview/2022-08-31-preview/examples/CloudHsmClusterPrivateEndpointConnection_Get_MaximumSet_Gen.json diff --git a/specification/hardwaresecuritymodules/resource-manager/Microsoft.HardwareSecurityModules/preview/2022-08-31-preview/examples/CloudHsmClusterPrivateEndpointConnection_ListByCloudHsmCluster_MaximumSet_Gen.json b/specification/hardwaresecuritymodules/resource-manager/Microsoft.HardwareSecurityModules/CloudHsm/preview/2022-08-31-preview/examples/CloudHsmClusterPrivateEndpointConnection_ListByCloudHsmCluster_MaximumSet_Gen.json similarity index 100% rename from specification/hardwaresecuritymodules/resource-manager/Microsoft.HardwareSecurityModules/preview/2022-08-31-preview/examples/CloudHsmClusterPrivateEndpointConnection_ListByCloudHsmCluster_MaximumSet_Gen.json rename to specification/hardwaresecuritymodules/resource-manager/Microsoft.HardwareSecurityModules/CloudHsm/preview/2022-08-31-preview/examples/CloudHsmClusterPrivateEndpointConnection_ListByCloudHsmCluster_MaximumSet_Gen.json diff --git a/specification/hardwaresecuritymodules/resource-manager/Microsoft.HardwareSecurityModules/preview/2022-08-31-preview/examples/CloudHsmClusterPrivateLinkResource_ListByCloudHsmCluster_MaximumSet_Gen.json b/specification/hardwaresecuritymodules/resource-manager/Microsoft.HardwareSecurityModules/CloudHsm/preview/2022-08-31-preview/examples/CloudHsmClusterPrivateLinkResource_ListByCloudHsmCluster_MaximumSet_Gen.json similarity index 100% rename from specification/hardwaresecuritymodules/resource-manager/Microsoft.HardwareSecurityModules/preview/2022-08-31-preview/examples/CloudHsmClusterPrivateLinkResource_ListByCloudHsmCluster_MaximumSet_Gen.json rename to specification/hardwaresecuritymodules/resource-manager/Microsoft.HardwareSecurityModules/CloudHsm/preview/2022-08-31-preview/examples/CloudHsmClusterPrivateLinkResource_ListByCloudHsmCluster_MaximumSet_Gen.json diff --git a/specification/hardwaresecuritymodules/resource-manager/Microsoft.HardwareSecurityModules/preview/2022-08-31-preview/examples/CloudHsmCluster_CreateOrUpdate_MaximumSet_Gen.json b/specification/hardwaresecuritymodules/resource-manager/Microsoft.HardwareSecurityModules/CloudHsm/preview/2022-08-31-preview/examples/CloudHsmCluster_CreateOrUpdate_MaximumSet_Gen.json similarity index 100% rename from specification/hardwaresecuritymodules/resource-manager/Microsoft.HardwareSecurityModules/preview/2022-08-31-preview/examples/CloudHsmCluster_CreateOrUpdate_MaximumSet_Gen.json rename to specification/hardwaresecuritymodules/resource-manager/Microsoft.HardwareSecurityModules/CloudHsm/preview/2022-08-31-preview/examples/CloudHsmCluster_CreateOrUpdate_MaximumSet_Gen.json diff --git a/specification/hardwaresecuritymodules/resource-manager/Microsoft.HardwareSecurityModules/preview/2022-08-31-preview/examples/CloudHsmCluster_Delete_MaximumSet_Gen.json b/specification/hardwaresecuritymodules/resource-manager/Microsoft.HardwareSecurityModules/CloudHsm/preview/2022-08-31-preview/examples/CloudHsmCluster_Delete_MaximumSet_Gen.json similarity index 100% rename from specification/hardwaresecuritymodules/resource-manager/Microsoft.HardwareSecurityModules/preview/2022-08-31-preview/examples/CloudHsmCluster_Delete_MaximumSet_Gen.json rename to specification/hardwaresecuritymodules/resource-manager/Microsoft.HardwareSecurityModules/CloudHsm/preview/2022-08-31-preview/examples/CloudHsmCluster_Delete_MaximumSet_Gen.json diff --git a/specification/hardwaresecuritymodules/resource-manager/Microsoft.HardwareSecurityModules/preview/2022-08-31-preview/examples/CloudHsmCluster_Get_MaximumSet_Gen.json b/specification/hardwaresecuritymodules/resource-manager/Microsoft.HardwareSecurityModules/CloudHsm/preview/2022-08-31-preview/examples/CloudHsmCluster_Get_MaximumSet_Gen.json similarity index 100% rename from specification/hardwaresecuritymodules/resource-manager/Microsoft.HardwareSecurityModules/preview/2022-08-31-preview/examples/CloudHsmCluster_Get_MaximumSet_Gen.json rename to specification/hardwaresecuritymodules/resource-manager/Microsoft.HardwareSecurityModules/CloudHsm/preview/2022-08-31-preview/examples/CloudHsmCluster_Get_MaximumSet_Gen.json diff --git a/specification/hardwaresecuritymodules/resource-manager/Microsoft.HardwareSecurityModules/preview/2022-08-31-preview/examples/CloudHsmCluster_ListByResourceGroup_MaximumSet_Gen.json b/specification/hardwaresecuritymodules/resource-manager/Microsoft.HardwareSecurityModules/CloudHsm/preview/2022-08-31-preview/examples/CloudHsmCluster_ListByResourceGroup_MaximumSet_Gen.json similarity index 100% rename from specification/hardwaresecuritymodules/resource-manager/Microsoft.HardwareSecurityModules/preview/2022-08-31-preview/examples/CloudHsmCluster_ListByResourceGroup_MaximumSet_Gen.json rename to specification/hardwaresecuritymodules/resource-manager/Microsoft.HardwareSecurityModules/CloudHsm/preview/2022-08-31-preview/examples/CloudHsmCluster_ListByResourceGroup_MaximumSet_Gen.json diff --git a/specification/hardwaresecuritymodules/resource-manager/Microsoft.HardwareSecurityModules/preview/2022-08-31-preview/examples/CloudHsmCluster_ListBySubscription_MaximumSet_Gen.json b/specification/hardwaresecuritymodules/resource-manager/Microsoft.HardwareSecurityModules/CloudHsm/preview/2022-08-31-preview/examples/CloudHsmCluster_ListBySubscription_MaximumSet_Gen.json similarity index 100% rename from specification/hardwaresecuritymodules/resource-manager/Microsoft.HardwareSecurityModules/preview/2022-08-31-preview/examples/CloudHsmCluster_ListBySubscription_MaximumSet_Gen.json rename to specification/hardwaresecuritymodules/resource-manager/Microsoft.HardwareSecurityModules/CloudHsm/preview/2022-08-31-preview/examples/CloudHsmCluster_ListBySubscription_MaximumSet_Gen.json diff --git a/specification/hardwaresecuritymodules/resource-manager/Microsoft.HardwareSecurityModules/preview/2022-08-31-preview/examples/CloudHsmCluster_Update_MaximumSet_Gen.json b/specification/hardwaresecuritymodules/resource-manager/Microsoft.HardwareSecurityModules/CloudHsm/preview/2022-08-31-preview/examples/CloudHsmCluster_Update_MaximumSet_Gen.json similarity index 100% rename from specification/hardwaresecuritymodules/resource-manager/Microsoft.HardwareSecurityModules/preview/2022-08-31-preview/examples/CloudHsmCluster_Update_MaximumSet_Gen.json rename to specification/hardwaresecuritymodules/resource-manager/Microsoft.HardwareSecurityModules/CloudHsm/preview/2022-08-31-preview/examples/CloudHsmCluster_Update_MaximumSet_Gen.json diff --git a/specification/hardwaresecuritymodules/resource-manager/Microsoft.HardwareSecurityModules/preview/2018-10-31-preview/dedicatedhsm.json b/specification/hardwaresecuritymodules/resource-manager/Microsoft.HardwareSecurityModules/DedicatedHsm/preview/2018-10-31-preview/dedicatedhsm.json similarity index 100% rename from specification/hardwaresecuritymodules/resource-manager/Microsoft.HardwareSecurityModules/preview/2018-10-31-preview/dedicatedhsm.json rename to specification/hardwaresecuritymodules/resource-manager/Microsoft.HardwareSecurityModules/DedicatedHsm/preview/2018-10-31-preview/dedicatedhsm.json diff --git a/specification/hardwaresecuritymodules/resource-manager/Microsoft.HardwareSecurityModules/preview/2018-10-31-preview/examples/DedicatedHsm_CreateOrUpdate.json b/specification/hardwaresecuritymodules/resource-manager/Microsoft.HardwareSecurityModules/DedicatedHsm/preview/2018-10-31-preview/examples/DedicatedHsm_CreateOrUpdate.json similarity index 100% rename from specification/hardwaresecuritymodules/resource-manager/Microsoft.HardwareSecurityModules/preview/2018-10-31-preview/examples/DedicatedHsm_CreateOrUpdate.json rename to specification/hardwaresecuritymodules/resource-manager/Microsoft.HardwareSecurityModules/DedicatedHsm/preview/2018-10-31-preview/examples/DedicatedHsm_CreateOrUpdate.json diff --git a/specification/hardwaresecuritymodules/resource-manager/Microsoft.HardwareSecurityModules/preview/2018-10-31-preview/examples/DedicatedHsm_Delete.json b/specification/hardwaresecuritymodules/resource-manager/Microsoft.HardwareSecurityModules/DedicatedHsm/preview/2018-10-31-preview/examples/DedicatedHsm_Delete.json similarity index 100% rename from specification/hardwaresecuritymodules/resource-manager/Microsoft.HardwareSecurityModules/preview/2018-10-31-preview/examples/DedicatedHsm_Delete.json rename to specification/hardwaresecuritymodules/resource-manager/Microsoft.HardwareSecurityModules/DedicatedHsm/preview/2018-10-31-preview/examples/DedicatedHsm_Delete.json diff --git a/specification/hardwaresecuritymodules/resource-manager/Microsoft.HardwareSecurityModules/preview/2018-10-31-preview/examples/DedicatedHsm_Get.json b/specification/hardwaresecuritymodules/resource-manager/Microsoft.HardwareSecurityModules/DedicatedHsm/preview/2018-10-31-preview/examples/DedicatedHsm_Get.json similarity index 100% rename from specification/hardwaresecuritymodules/resource-manager/Microsoft.HardwareSecurityModules/preview/2018-10-31-preview/examples/DedicatedHsm_Get.json rename to specification/hardwaresecuritymodules/resource-manager/Microsoft.HardwareSecurityModules/DedicatedHsm/preview/2018-10-31-preview/examples/DedicatedHsm_Get.json diff --git a/specification/hardwaresecuritymodules/resource-manager/Microsoft.HardwareSecurityModules/preview/2018-10-31-preview/examples/DedicatedHsm_ListByResourceGroup.json b/specification/hardwaresecuritymodules/resource-manager/Microsoft.HardwareSecurityModules/DedicatedHsm/preview/2018-10-31-preview/examples/DedicatedHsm_ListByResourceGroup.json similarity index 100% rename from specification/hardwaresecuritymodules/resource-manager/Microsoft.HardwareSecurityModules/preview/2018-10-31-preview/examples/DedicatedHsm_ListByResourceGroup.json rename to specification/hardwaresecuritymodules/resource-manager/Microsoft.HardwareSecurityModules/DedicatedHsm/preview/2018-10-31-preview/examples/DedicatedHsm_ListByResourceGroup.json diff --git a/specification/hardwaresecuritymodules/resource-manager/Microsoft.HardwareSecurityModules/preview/2018-10-31-preview/examples/DedicatedHsm_ListBySubscription.json b/specification/hardwaresecuritymodules/resource-manager/Microsoft.HardwareSecurityModules/DedicatedHsm/preview/2018-10-31-preview/examples/DedicatedHsm_ListBySubscription.json similarity index 100% rename from specification/hardwaresecuritymodules/resource-manager/Microsoft.HardwareSecurityModules/preview/2018-10-31-preview/examples/DedicatedHsm_ListBySubscription.json rename to specification/hardwaresecuritymodules/resource-manager/Microsoft.HardwareSecurityModules/DedicatedHsm/preview/2018-10-31-preview/examples/DedicatedHsm_ListBySubscription.json diff --git a/specification/hardwaresecuritymodules/resource-manager/Microsoft.HardwareSecurityModules/preview/2018-10-31-preview/examples/DedicatedHsm_OperationsList.json b/specification/hardwaresecuritymodules/resource-manager/Microsoft.HardwareSecurityModules/DedicatedHsm/preview/2018-10-31-preview/examples/DedicatedHsm_OperationsList.json similarity index 100% rename from specification/hardwaresecuritymodules/resource-manager/Microsoft.HardwareSecurityModules/preview/2018-10-31-preview/examples/DedicatedHsm_OperationsList.json rename to specification/hardwaresecuritymodules/resource-manager/Microsoft.HardwareSecurityModules/DedicatedHsm/preview/2018-10-31-preview/examples/DedicatedHsm_OperationsList.json diff --git a/specification/hardwaresecuritymodules/resource-manager/Microsoft.HardwareSecurityModules/preview/2018-10-31-preview/examples/DedicatedHsm_Update.json b/specification/hardwaresecuritymodules/resource-manager/Microsoft.HardwareSecurityModules/DedicatedHsm/preview/2018-10-31-preview/examples/DedicatedHsm_Update.json similarity index 100% rename from specification/hardwaresecuritymodules/resource-manager/Microsoft.HardwareSecurityModules/preview/2018-10-31-preview/examples/DedicatedHsm_Update.json rename to specification/hardwaresecuritymodules/resource-manager/Microsoft.HardwareSecurityModules/DedicatedHsm/preview/2018-10-31-preview/examples/DedicatedHsm_Update.json diff --git a/specification/hardwaresecuritymodules/resource-manager/Microsoft.HardwareSecurityModules/preview/2018-10-31-preview/examples/PaymentHsm_CreateOrUpdate.json b/specification/hardwaresecuritymodules/resource-manager/Microsoft.HardwareSecurityModules/DedicatedHsm/preview/2018-10-31-preview/examples/PaymentHsm_CreateOrUpdate.json similarity index 100% rename from specification/hardwaresecuritymodules/resource-manager/Microsoft.HardwareSecurityModules/preview/2018-10-31-preview/examples/PaymentHsm_CreateOrUpdate.json rename to specification/hardwaresecuritymodules/resource-manager/Microsoft.HardwareSecurityModules/DedicatedHsm/preview/2018-10-31-preview/examples/PaymentHsm_CreateOrUpdate.json diff --git a/specification/hardwaresecuritymodules/resource-manager/Microsoft.HardwareSecurityModules/preview/2018-10-31-preview/examples/PaymentHsm_Get.json b/specification/hardwaresecuritymodules/resource-manager/Microsoft.HardwareSecurityModules/DedicatedHsm/preview/2018-10-31-preview/examples/PaymentHsm_Get.json similarity index 100% rename from specification/hardwaresecuritymodules/resource-manager/Microsoft.HardwareSecurityModules/preview/2018-10-31-preview/examples/PaymentHsm_Get.json rename to specification/hardwaresecuritymodules/resource-manager/Microsoft.HardwareSecurityModules/DedicatedHsm/preview/2018-10-31-preview/examples/PaymentHsm_Get.json diff --git a/specification/hardwaresecuritymodules/resource-manager/Microsoft.HardwareSecurityModules/preview/2018-10-31-preview/examples/PaymentHsm_Update.json b/specification/hardwaresecuritymodules/resource-manager/Microsoft.HardwareSecurityModules/DedicatedHsm/preview/2018-10-31-preview/examples/PaymentHsm_Update.json similarity index 100% rename from specification/hardwaresecuritymodules/resource-manager/Microsoft.HardwareSecurityModules/preview/2018-10-31-preview/examples/PaymentHsm_Update.json rename to specification/hardwaresecuritymodules/resource-manager/Microsoft.HardwareSecurityModules/DedicatedHsm/preview/2018-10-31-preview/examples/PaymentHsm_Update.json diff --git a/specification/hardwaresecuritymodules/resource-manager/Microsoft.HardwareSecurityModules/stable/2021-11-30/dedicatedhsm.json b/specification/hardwaresecuritymodules/resource-manager/Microsoft.HardwareSecurityModules/DedicatedHsm/stable/2021-11-30/dedicatedhsm.json similarity index 86% rename from specification/hardwaresecuritymodules/resource-manager/Microsoft.HardwareSecurityModules/stable/2021-11-30/dedicatedhsm.json rename to specification/hardwaresecuritymodules/resource-manager/Microsoft.HardwareSecurityModules/DedicatedHsm/stable/2021-11-30/dedicatedhsm.json index eaf7eced1b82..3f12b2f4161e 100644 --- a/specification/hardwaresecuritymodules/resource-manager/Microsoft.HardwareSecurityModules/stable/2021-11-30/dedicatedhsm.json +++ b/specification/hardwaresecuritymodules/resource-manager/Microsoft.HardwareSecurityModules/DedicatedHsm/stable/2021-11-30/dedicatedhsm.json @@ -110,7 +110,7 @@ "$ref": "#/parameters/ApiVersionParameter" }, { - "$ref": "../../../../../common-types/resource-management/v3/types.json#/parameters/SubscriptionIdParameter" + "$ref": "../../../../../../common-types/resource-management/v3/types.json#/parameters/SubscriptionIdParameter" } ], "responses": { @@ -182,7 +182,7 @@ "$ref": "#/parameters/ApiVersionParameter" }, { - "$ref": "../../../../../common-types/resource-management/v3/types.json#/parameters/SubscriptionIdParameter" + "$ref": "../../../../../../common-types/resource-management/v3/types.json#/parameters/SubscriptionIdParameter" } ], "responses": { @@ -234,7 +234,7 @@ "$ref": "#/parameters/ApiVersionParameter" }, { - "$ref": "../../../../../common-types/resource-management/v3/types.json#/parameters/SubscriptionIdParameter" + "$ref": "../../../../../../common-types/resource-management/v3/types.json#/parameters/SubscriptionIdParameter" } ], "responses": { @@ -285,7 +285,7 @@ "$ref": "#/parameters/ApiVersionParameter" }, { - "$ref": "../../../../../common-types/resource-management/v3/types.json#/parameters/SubscriptionIdParameter" + "$ref": "../../../../../../common-types/resource-management/v3/types.json#/parameters/SubscriptionIdParameter" } ], "responses": { @@ -341,7 +341,7 @@ "$ref": "#/parameters/ApiVersionParameter" }, { - "$ref": "../../../../../common-types/resource-management/v3/types.json#/parameters/SubscriptionIdParameter" + "$ref": "../../../../../../common-types/resource-management/v3/types.json#/parameters/SubscriptionIdParameter" } ], "responses": { @@ -390,7 +390,7 @@ "$ref": "#/parameters/ApiVersionParameter" }, { - "$ref": "../../../../../common-types/resource-management/v3/types.json#/parameters/SubscriptionIdParameter" + "$ref": "../../../../../../common-types/resource-management/v3/types.json#/parameters/SubscriptionIdParameter" } ], "responses": { @@ -447,7 +447,7 @@ "$ref": "#/parameters/ApiVersionParameter" }, { - "$ref": "../../../../../common-types/resource-management/v3/types.json#/parameters/SubscriptionIdParameter" + "$ref": "../../../../../../common-types/resource-management/v3/types.json#/parameters/SubscriptionIdParameter" } ], "responses": { @@ -486,7 +486,7 @@ }, "isDataAction": { "description": "Gets or sets a value indicating whether it is a data plane action", - "type": "string", + "type": "boolean", "readOnly": true }, "display": { @@ -697,15 +697,19 @@ }, "DedicatedHsm": { "properties": { + "systemData": { + "description": "Metadata pertaining to creation and last modification of the resource", + "$ref": "#/definitions/DHsmSystemData" + }, "properties": { "x-ms-client-flatten": true, "$ref": "#/definitions/DedicatedHsmProperties", - "description": "Properties of the Dedicated HSM" + "description": "Properties of the dedicated HSM" } }, "allOf": [ { - "$ref": "#/definitions/DedicatedHsmResource" + "$ref": "#/definitions/DHsmResource" } ], "required": [ @@ -716,22 +720,6 @@ "description": "Resource information with extended details.", "type": "object" }, - "DedicatedHsmResource": { - "properties": { - "sku": { - "$ref": "#/definitions/Sku", - "description": "SKU details" - } - }, - "allOf": [ - { - "$ref": "../../../../../common-types/resource-management/v3/types.json#/definitions/TrackedResource" - } - ], - "description": "Dedicated HSM Resource", - "type": "object", - "x-ms-azure-resource": true - }, "DedicatedHsmPatchParameters": { "properties": { "tags": { @@ -762,6 +750,23 @@ "description": "List of dedicated HSMs", "type": "object" }, + "ResourceListResult": { + "properties": { + "value": { + "type": "array", + "items": { + "$ref": "#/definitions/DHsmResource" + }, + "description": "The list of dedicated HSM resources." + }, + "nextLink": { + "type": "string", + "description": "The URL to get the next set of dedicated HSM resources." + } + }, + "description": "List of dedicated HSM resources.", + "type": "object" + }, "DedicatedHsmError": { "properties": { "error": { @@ -795,6 +800,104 @@ "description": "The key vault server error.", "type": "object" }, + "DHsmResource": { + "properties": { + "id": { + "readOnly": true, + "type": "string", + "description": "The Azure Resource Manager resource ID for the dedicated HSM." + }, + "name": { + "readOnly": true, + "type": "string", + "description": "The name of the dedicated HSM." + }, + "type": { + "readOnly": true, + "type": "string", + "description": "The resource type of the dedicated HSM." + }, + "location": { + "type": "string", + "description": "The supported Azure location where the dedicated HSM should be created.", + "x-ms-mutability": [ + "create", + "read" + ] + }, + "sku": { + "$ref": "#/definitions/Sku", + "description": "SKU details" + }, + "zones": { + "type": "array", + "items": { + "type": "string" + }, + "description": "The Dedicated Hsm zones." + }, + "tags": { + "type": "object", + "additionalProperties": { + "type": "string" + }, + "description": "Resource tags" + } + }, + "description": "Dedicated HSM resource", + "type": "object", + "required": [ + "location" + ], + "x-ms-azure-resource": true + }, + "DHsmSystemData": { + "description": "Metadata pertaining to creation and last modification of dedicated hsm resource.", + "type": "object", + "readOnly": true, + "properties": { + "createdBy": { + "type": "string", + "description": "The identity that created dedicated hsm resource." + }, + "createdByType": { + "description": "The type of identity that created dedicated hsm resource.", + "$ref": "#/definitions/IdentityType" + }, + "createdAt": { + "type": "string", + "format": "date-time", + "description": "The timestamp of dedicated hsm resource creation (UTC)." + }, + "lastModifiedBy": { + "type": "string", + "description": "The identity that last modified dedicated hsm resource." + }, + "lastModifiedByType": { + "description": "The type of identity that last modified dedicated hsm resource.", + "$ref": "#/definitions/IdentityType" + }, + "lastModifiedAt": { + "type": "string", + "format": "date-time", + "description": "The timestamp of dedicated hsm resource last modification (UTC)." + } + } + }, + "IdentityType": { + "type": "string", + "description": "The type of identity.", + "enum": [ + "User", + "Application", + "ManagedIdentity", + "Key" + ], + "x-ms-enum": { + "name": "identityType", + "modelAsString": true + } + }, "OutboundEnvironmentEndpointCollection": { "description": "Collection of OutboundEnvironmentEndpoint", "required": [ diff --git a/specification/hardwaresecuritymodules/resource-manager/Microsoft.HardwareSecurityModules/stable/2021-11-30/examples/DedicatedHsm_CreateOrUpdate.json b/specification/hardwaresecuritymodules/resource-manager/Microsoft.HardwareSecurityModules/DedicatedHsm/stable/2021-11-30/examples/DedicatedHsm_CreateOrUpdate.json similarity index 100% rename from specification/hardwaresecuritymodules/resource-manager/Microsoft.HardwareSecurityModules/stable/2021-11-30/examples/DedicatedHsm_CreateOrUpdate.json rename to specification/hardwaresecuritymodules/resource-manager/Microsoft.HardwareSecurityModules/DedicatedHsm/stable/2021-11-30/examples/DedicatedHsm_CreateOrUpdate.json diff --git a/specification/hardwaresecuritymodules/resource-manager/Microsoft.HardwareSecurityModules/stable/2021-11-30/examples/DedicatedHsm_Delete.json b/specification/hardwaresecuritymodules/resource-manager/Microsoft.HardwareSecurityModules/DedicatedHsm/stable/2021-11-30/examples/DedicatedHsm_Delete.json similarity index 100% rename from specification/hardwaresecuritymodules/resource-manager/Microsoft.HardwareSecurityModules/stable/2021-11-30/examples/DedicatedHsm_Delete.json rename to specification/hardwaresecuritymodules/resource-manager/Microsoft.HardwareSecurityModules/DedicatedHsm/stable/2021-11-30/examples/DedicatedHsm_Delete.json diff --git a/specification/hardwaresecuritymodules/resource-manager/Microsoft.HardwareSecurityModules/stable/2021-11-30/examples/DedicatedHsm_Get.json b/specification/hardwaresecuritymodules/resource-manager/Microsoft.HardwareSecurityModules/DedicatedHsm/stable/2021-11-30/examples/DedicatedHsm_Get.json similarity index 100% rename from specification/hardwaresecuritymodules/resource-manager/Microsoft.HardwareSecurityModules/stable/2021-11-30/examples/DedicatedHsm_Get.json rename to specification/hardwaresecuritymodules/resource-manager/Microsoft.HardwareSecurityModules/DedicatedHsm/stable/2021-11-30/examples/DedicatedHsm_Get.json diff --git a/specification/hardwaresecuritymodules/resource-manager/Microsoft.HardwareSecurityModules/stable/2021-11-30/examples/DedicatedHsm_ListByResourceGroup.json b/specification/hardwaresecuritymodules/resource-manager/Microsoft.HardwareSecurityModules/DedicatedHsm/stable/2021-11-30/examples/DedicatedHsm_ListByResourceGroup.json similarity index 100% rename from specification/hardwaresecuritymodules/resource-manager/Microsoft.HardwareSecurityModules/stable/2021-11-30/examples/DedicatedHsm_ListByResourceGroup.json rename to specification/hardwaresecuritymodules/resource-manager/Microsoft.HardwareSecurityModules/DedicatedHsm/stable/2021-11-30/examples/DedicatedHsm_ListByResourceGroup.json diff --git a/specification/hardwaresecuritymodules/resource-manager/Microsoft.HardwareSecurityModules/stable/2021-11-30/examples/DedicatedHsm_ListBySubscription.json b/specification/hardwaresecuritymodules/resource-manager/Microsoft.HardwareSecurityModules/DedicatedHsm/stable/2021-11-30/examples/DedicatedHsm_ListBySubscription.json similarity index 100% rename from specification/hardwaresecuritymodules/resource-manager/Microsoft.HardwareSecurityModules/stable/2021-11-30/examples/DedicatedHsm_ListBySubscription.json rename to specification/hardwaresecuritymodules/resource-manager/Microsoft.HardwareSecurityModules/DedicatedHsm/stable/2021-11-30/examples/DedicatedHsm_ListBySubscription.json diff --git a/specification/hardwaresecuritymodules/resource-manager/Microsoft.HardwareSecurityModules/stable/2021-11-30/examples/DedicatedHsm_OperationsList.json b/specification/hardwaresecuritymodules/resource-manager/Microsoft.HardwareSecurityModules/DedicatedHsm/stable/2021-11-30/examples/DedicatedHsm_OperationsList.json similarity index 100% rename from specification/hardwaresecuritymodules/resource-manager/Microsoft.HardwareSecurityModules/stable/2021-11-30/examples/DedicatedHsm_OperationsList.json rename to specification/hardwaresecuritymodules/resource-manager/Microsoft.HardwareSecurityModules/DedicatedHsm/stable/2021-11-30/examples/DedicatedHsm_OperationsList.json diff --git a/specification/hardwaresecuritymodules/resource-manager/Microsoft.HardwareSecurityModules/stable/2021-11-30/examples/DedicatedHsm_Update.json b/specification/hardwaresecuritymodules/resource-manager/Microsoft.HardwareSecurityModules/DedicatedHsm/stable/2021-11-30/examples/DedicatedHsm_Update.json similarity index 100% rename from specification/hardwaresecuritymodules/resource-manager/Microsoft.HardwareSecurityModules/stable/2021-11-30/examples/DedicatedHsm_Update.json rename to specification/hardwaresecuritymodules/resource-manager/Microsoft.HardwareSecurityModules/DedicatedHsm/stable/2021-11-30/examples/DedicatedHsm_Update.json diff --git a/specification/hardwaresecuritymodules/resource-manager/Microsoft.HardwareSecurityModules/stable/2021-11-30/examples/GetOutboundNetworkDependenciesEndpointsList.json b/specification/hardwaresecuritymodules/resource-manager/Microsoft.HardwareSecurityModules/DedicatedHsm/stable/2021-11-30/examples/GetOutboundNetworkDependenciesEndpointsList.json similarity index 100% rename from specification/hardwaresecuritymodules/resource-manager/Microsoft.HardwareSecurityModules/stable/2021-11-30/examples/GetOutboundNetworkDependenciesEndpointsList.json rename to specification/hardwaresecuritymodules/resource-manager/Microsoft.HardwareSecurityModules/DedicatedHsm/stable/2021-11-30/examples/GetOutboundNetworkDependenciesEndpointsList.json diff --git a/specification/hardwaresecuritymodules/resource-manager/Microsoft.HardwareSecurityModules/stable/2021-11-30/examples/PaymentHsm_CreateOrUpdate.json b/specification/hardwaresecuritymodules/resource-manager/Microsoft.HardwareSecurityModules/DedicatedHsm/stable/2021-11-30/examples/PaymentHsm_CreateOrUpdate.json similarity index 100% rename from specification/hardwaresecuritymodules/resource-manager/Microsoft.HardwareSecurityModules/stable/2021-11-30/examples/PaymentHsm_CreateOrUpdate.json rename to specification/hardwaresecuritymodules/resource-manager/Microsoft.HardwareSecurityModules/DedicatedHsm/stable/2021-11-30/examples/PaymentHsm_CreateOrUpdate.json diff --git a/specification/hardwaresecuritymodules/resource-manager/Microsoft.HardwareSecurityModules/stable/2021-11-30/examples/PaymentHsm_CreateOrUpdate_WithManagementProfile.json b/specification/hardwaresecuritymodules/resource-manager/Microsoft.HardwareSecurityModules/DedicatedHsm/stable/2021-11-30/examples/PaymentHsm_CreateOrUpdate_WithManagementProfile.json similarity index 100% rename from specification/hardwaresecuritymodules/resource-manager/Microsoft.HardwareSecurityModules/stable/2021-11-30/examples/PaymentHsm_CreateOrUpdate_WithManagementProfile.json rename to specification/hardwaresecuritymodules/resource-manager/Microsoft.HardwareSecurityModules/DedicatedHsm/stable/2021-11-30/examples/PaymentHsm_CreateOrUpdate_WithManagementProfile.json diff --git a/specification/hardwaresecuritymodules/resource-manager/Microsoft.HardwareSecurityModules/stable/2021-11-30/examples/PaymentHsm_Get.json b/specification/hardwaresecuritymodules/resource-manager/Microsoft.HardwareSecurityModules/DedicatedHsm/stable/2021-11-30/examples/PaymentHsm_Get.json similarity index 100% rename from specification/hardwaresecuritymodules/resource-manager/Microsoft.HardwareSecurityModules/stable/2021-11-30/examples/PaymentHsm_Get.json rename to specification/hardwaresecuritymodules/resource-manager/Microsoft.HardwareSecurityModules/DedicatedHsm/stable/2021-11-30/examples/PaymentHsm_Get.json diff --git a/specification/hardwaresecuritymodules/resource-manager/Microsoft.HardwareSecurityModules/stable/2021-11-30/examples/PaymentHsm_Get_With_2018-10-31Preview_Version.json b/specification/hardwaresecuritymodules/resource-manager/Microsoft.HardwareSecurityModules/DedicatedHsm/stable/2021-11-30/examples/PaymentHsm_Get_With_2018-10-31Preview_Version.json similarity index 100% rename from specification/hardwaresecuritymodules/resource-manager/Microsoft.HardwareSecurityModules/stable/2021-11-30/examples/PaymentHsm_Get_With_2018-10-31Preview_Version.json rename to specification/hardwaresecuritymodules/resource-manager/Microsoft.HardwareSecurityModules/DedicatedHsm/stable/2021-11-30/examples/PaymentHsm_Get_With_2018-10-31Preview_Version.json diff --git a/specification/hardwaresecuritymodules/resource-manager/Microsoft.HardwareSecurityModules/stable/2021-11-30/examples/PaymentHsm_ListByResourceGroup.json b/specification/hardwaresecuritymodules/resource-manager/Microsoft.HardwareSecurityModules/DedicatedHsm/stable/2021-11-30/examples/PaymentHsm_ListByResourceGroup.json similarity index 100% rename from specification/hardwaresecuritymodules/resource-manager/Microsoft.HardwareSecurityModules/stable/2021-11-30/examples/PaymentHsm_ListByResourceGroup.json rename to specification/hardwaresecuritymodules/resource-manager/Microsoft.HardwareSecurityModules/DedicatedHsm/stable/2021-11-30/examples/PaymentHsm_ListByResourceGroup.json diff --git a/specification/hardwaresecuritymodules/resource-manager/Microsoft.HardwareSecurityModules/stable/2021-11-30/examples/PaymentHsm_ListBySubscription.json b/specification/hardwaresecuritymodules/resource-manager/Microsoft.HardwareSecurityModules/DedicatedHsm/stable/2021-11-30/examples/PaymentHsm_ListBySubscription.json similarity index 100% rename from specification/hardwaresecuritymodules/resource-manager/Microsoft.HardwareSecurityModules/stable/2021-11-30/examples/PaymentHsm_ListBySubscription.json rename to specification/hardwaresecuritymodules/resource-manager/Microsoft.HardwareSecurityModules/DedicatedHsm/stable/2021-11-30/examples/PaymentHsm_ListBySubscription.json diff --git a/specification/hardwaresecuritymodules/resource-manager/Microsoft.HardwareSecurityModules/stable/2021-11-30/examples/PaymentHsm_OperationsList.json b/specification/hardwaresecuritymodules/resource-manager/Microsoft.HardwareSecurityModules/DedicatedHsm/stable/2021-11-30/examples/PaymentHsm_OperationsList.json similarity index 100% rename from specification/hardwaresecuritymodules/resource-manager/Microsoft.HardwareSecurityModules/stable/2021-11-30/examples/PaymentHsm_OperationsList.json rename to specification/hardwaresecuritymodules/resource-manager/Microsoft.HardwareSecurityModules/DedicatedHsm/stable/2021-11-30/examples/PaymentHsm_OperationsList.json diff --git a/specification/hardwaresecuritymodules/resource-manager/Microsoft.HardwareSecurityModules/stable/2021-11-30/examples/PaymentHsm_Update.json b/specification/hardwaresecuritymodules/resource-manager/Microsoft.HardwareSecurityModules/DedicatedHsm/stable/2021-11-30/examples/PaymentHsm_Update.json similarity index 100% rename from specification/hardwaresecuritymodules/resource-manager/Microsoft.HardwareSecurityModules/stable/2021-11-30/examples/PaymentHsm_Update.json rename to specification/hardwaresecuritymodules/resource-manager/Microsoft.HardwareSecurityModules/DedicatedHsm/stable/2021-11-30/examples/PaymentHsm_Update.json diff --git a/specification/hardwaresecuritymodules/resource-manager/readme.md b/specification/hardwaresecuritymodules/resource-manager/readme.md index 95abf20b05c4..f61c66d25e55 100644 --- a/specification/hardwaresecuritymodules/resource-manager/readme.md +++ b/specification/hardwaresecuritymodules/resource-manager/readme.md @@ -38,7 +38,7 @@ These settings apply only when `--tag=package-2018-10` is specified on the comma ``` yaml $(tag) == 'package-2018-10' input-file: -- Microsoft.HardwareSecurityModules/preview/2018-10-31-preview/dedicatedhsm.json +- Microsoft.HardwareSecurityModules/DedicatedHsm/preview/2018-10-31-preview/dedicatedhsm.json ``` ### Tag: package-2021-11 @@ -47,7 +47,7 @@ These settings apply only when `--tag=package-2021-11` is specified on the comma ``` yaml $(tag) == 'package-2021-11' input-file: -- Microsoft.HardwareSecurityModules/stable/2021-11-30/dedicatedhsm.json +- Microsoft.HardwareSecurityModules/DedicatedHsm/stable/2021-11-30/dedicatedhsm.json ``` ### Tag: package-2022-08-preview @@ -56,8 +56,8 @@ These settings apply only when `--tag=package-2022-08-preview` is specified on t ``` yaml $(tag) == 'package-2022-08-preview' input-file: -- Microsoft.HardwareSecurityModules/preview/2022-08-31-preview/cloudhsm.json -- Microsoft.HardwareSecurityModules/stable/2021-11-30/dedicatedhsm.json +- Microsoft.HardwareSecurityModules/CloudHsm/preview/2022-08-31-preview/cloudhsm.json +- Microsoft.HardwareSecurityModules/DedicatedHsm/stable/2021-11-30/dedicatedhsm.json ``` # Code Generation From e8eae090a09a62922dfe0b0f1099b8ecb620cfc5 Mon Sep 17 00:00:00 2001 From: GoradeAarti Date: Wed, 28 Sep 2022 13:48:10 -0700 Subject: [PATCH 43/69] reverting to common folder structure --- .../2018-10-31-preview/dedicatedhsm.json | 0 .../examples/DedicatedHsm_CreateOrUpdate.json | 0 .../examples/DedicatedHsm_Delete.json | 0 .../examples/DedicatedHsm_Get.json | 0 .../DedicatedHsm_ListByResourceGroup.json | 0 .../DedicatedHsm_ListBySubscription.json | 0 .../examples/DedicatedHsm_OperationsList.json | 0 .../examples/DedicatedHsm_Update.json | 0 .../examples/PaymentHsm_CreateOrUpdate.json | 0 .../examples/PaymentHsm_Get.json | 0 .../examples/PaymentHsm_Update.json | 0 .../preview/2022-08-31-preview/cloudhsm.json | 76 +++++++++---------- ...pointConnection_Create_MaximumSet_Gen.json | 0 ...pointConnection_Delete_MaximumSet_Gen.json | 0 ...EndpointConnection_Get_MaximumSet_Gen.json | 0 ..._ListByCloudHsmCluster_MaximumSet_Gen.json | 0 ..._ListByCloudHsmCluster_MaximumSet_Gen.json | 0 ...Cluster_CreateOrUpdate_MaximumSet_Gen.json | 0 ...CloudHsmCluster_Delete_MaximumSet_Gen.json | 0 .../CloudHsmCluster_Get_MaximumSet_Gen.json | 0 ...er_ListByResourceGroup_MaximumSet_Gen.json | 0 ...ter_ListBySubscription_MaximumSet_Gen.json | 0 ...CloudHsmCluster_Update_MaximumSet_Gen.json | 0 .../stable/2021-11-30/dedicatedhsm.json | 14 ++-- .../examples/DedicatedHsm_CreateOrUpdate.json | 0 .../examples/DedicatedHsm_Delete.json | 0 .../2021-11-30/examples/DedicatedHsm_Get.json | 0 .../DedicatedHsm_ListByResourceGroup.json | 0 .../DedicatedHsm_ListBySubscription.json | 0 .../examples/DedicatedHsm_OperationsList.json | 0 .../examples/DedicatedHsm_Update.json | 0 ...boundNetworkDependenciesEndpointsList.json | 0 .../examples/PaymentHsm_CreateOrUpdate.json | 0 ..._CreateOrUpdate_WithManagementProfile.json | 0 .../2021-11-30/examples/PaymentHsm_Get.json | 0 ...sm_Get_With_2018-10-31Preview_Version.json | 0 .../PaymentHsm_ListByResourceGroup.json | 0 .../PaymentHsm_ListBySubscription.json | 0 .../examples/PaymentHsm_OperationsList.json | 0 .../examples/PaymentHsm_Update.json | 0 .../resource-manager/readme.md | 8 +- 41 files changed, 49 insertions(+), 49 deletions(-) rename specification/hardwaresecuritymodules/resource-manager/Microsoft.HardwareSecurityModules/{DedicatedHsm => }/preview/2018-10-31-preview/dedicatedhsm.json (100%) rename specification/hardwaresecuritymodules/resource-manager/Microsoft.HardwareSecurityModules/{DedicatedHsm => }/preview/2018-10-31-preview/examples/DedicatedHsm_CreateOrUpdate.json (100%) rename specification/hardwaresecuritymodules/resource-manager/Microsoft.HardwareSecurityModules/{DedicatedHsm => }/preview/2018-10-31-preview/examples/DedicatedHsm_Delete.json (100%) rename specification/hardwaresecuritymodules/resource-manager/Microsoft.HardwareSecurityModules/{DedicatedHsm => }/preview/2018-10-31-preview/examples/DedicatedHsm_Get.json (100%) rename specification/hardwaresecuritymodules/resource-manager/Microsoft.HardwareSecurityModules/{DedicatedHsm => }/preview/2018-10-31-preview/examples/DedicatedHsm_ListByResourceGroup.json (100%) rename specification/hardwaresecuritymodules/resource-manager/Microsoft.HardwareSecurityModules/{DedicatedHsm => }/preview/2018-10-31-preview/examples/DedicatedHsm_ListBySubscription.json (100%) rename specification/hardwaresecuritymodules/resource-manager/Microsoft.HardwareSecurityModules/{DedicatedHsm => }/preview/2018-10-31-preview/examples/DedicatedHsm_OperationsList.json (100%) rename specification/hardwaresecuritymodules/resource-manager/Microsoft.HardwareSecurityModules/{DedicatedHsm => }/preview/2018-10-31-preview/examples/DedicatedHsm_Update.json (100%) rename specification/hardwaresecuritymodules/resource-manager/Microsoft.HardwareSecurityModules/{DedicatedHsm => }/preview/2018-10-31-preview/examples/PaymentHsm_CreateOrUpdate.json (100%) rename specification/hardwaresecuritymodules/resource-manager/Microsoft.HardwareSecurityModules/{DedicatedHsm => }/preview/2018-10-31-preview/examples/PaymentHsm_Get.json (100%) rename specification/hardwaresecuritymodules/resource-manager/Microsoft.HardwareSecurityModules/{DedicatedHsm => }/preview/2018-10-31-preview/examples/PaymentHsm_Update.json (100%) rename specification/hardwaresecuritymodules/resource-manager/Microsoft.HardwareSecurityModules/{CloudHsm => }/preview/2022-08-31-preview/cloudhsm.json (84%) rename specification/hardwaresecuritymodules/resource-manager/Microsoft.HardwareSecurityModules/{CloudHsm => }/preview/2022-08-31-preview/examples/CloudHsmClusterPrivateEndpointConnection_Create_MaximumSet_Gen.json (100%) rename specification/hardwaresecuritymodules/resource-manager/Microsoft.HardwareSecurityModules/{CloudHsm => }/preview/2022-08-31-preview/examples/CloudHsmClusterPrivateEndpointConnection_Delete_MaximumSet_Gen.json (100%) rename specification/hardwaresecuritymodules/resource-manager/Microsoft.HardwareSecurityModules/{CloudHsm => }/preview/2022-08-31-preview/examples/CloudHsmClusterPrivateEndpointConnection_Get_MaximumSet_Gen.json (100%) rename specification/hardwaresecuritymodules/resource-manager/Microsoft.HardwareSecurityModules/{CloudHsm => }/preview/2022-08-31-preview/examples/CloudHsmClusterPrivateEndpointConnection_ListByCloudHsmCluster_MaximumSet_Gen.json (100%) rename specification/hardwaresecuritymodules/resource-manager/Microsoft.HardwareSecurityModules/{CloudHsm => }/preview/2022-08-31-preview/examples/CloudHsmClusterPrivateLinkResource_ListByCloudHsmCluster_MaximumSet_Gen.json (100%) rename specification/hardwaresecuritymodules/resource-manager/Microsoft.HardwareSecurityModules/{CloudHsm => }/preview/2022-08-31-preview/examples/CloudHsmCluster_CreateOrUpdate_MaximumSet_Gen.json (100%) rename specification/hardwaresecuritymodules/resource-manager/Microsoft.HardwareSecurityModules/{CloudHsm => }/preview/2022-08-31-preview/examples/CloudHsmCluster_Delete_MaximumSet_Gen.json (100%) rename specification/hardwaresecuritymodules/resource-manager/Microsoft.HardwareSecurityModules/{CloudHsm => }/preview/2022-08-31-preview/examples/CloudHsmCluster_Get_MaximumSet_Gen.json (100%) rename specification/hardwaresecuritymodules/resource-manager/Microsoft.HardwareSecurityModules/{CloudHsm => }/preview/2022-08-31-preview/examples/CloudHsmCluster_ListByResourceGroup_MaximumSet_Gen.json (100%) rename specification/hardwaresecuritymodules/resource-manager/Microsoft.HardwareSecurityModules/{CloudHsm => }/preview/2022-08-31-preview/examples/CloudHsmCluster_ListBySubscription_MaximumSet_Gen.json (100%) rename specification/hardwaresecuritymodules/resource-manager/Microsoft.HardwareSecurityModules/{CloudHsm => }/preview/2022-08-31-preview/examples/CloudHsmCluster_Update_MaximumSet_Gen.json (100%) rename specification/hardwaresecuritymodules/resource-manager/Microsoft.HardwareSecurityModules/{DedicatedHsm => }/stable/2021-11-30/dedicatedhsm.json (97%) rename specification/hardwaresecuritymodules/resource-manager/Microsoft.HardwareSecurityModules/{DedicatedHsm => }/stable/2021-11-30/examples/DedicatedHsm_CreateOrUpdate.json (100%) rename specification/hardwaresecuritymodules/resource-manager/Microsoft.HardwareSecurityModules/{DedicatedHsm => }/stable/2021-11-30/examples/DedicatedHsm_Delete.json (100%) rename specification/hardwaresecuritymodules/resource-manager/Microsoft.HardwareSecurityModules/{DedicatedHsm => }/stable/2021-11-30/examples/DedicatedHsm_Get.json (100%) rename specification/hardwaresecuritymodules/resource-manager/Microsoft.HardwareSecurityModules/{DedicatedHsm => }/stable/2021-11-30/examples/DedicatedHsm_ListByResourceGroup.json (100%) rename specification/hardwaresecuritymodules/resource-manager/Microsoft.HardwareSecurityModules/{DedicatedHsm => }/stable/2021-11-30/examples/DedicatedHsm_ListBySubscription.json (100%) rename specification/hardwaresecuritymodules/resource-manager/Microsoft.HardwareSecurityModules/{DedicatedHsm => }/stable/2021-11-30/examples/DedicatedHsm_OperationsList.json (100%) rename specification/hardwaresecuritymodules/resource-manager/Microsoft.HardwareSecurityModules/{DedicatedHsm => }/stable/2021-11-30/examples/DedicatedHsm_Update.json (100%) rename specification/hardwaresecuritymodules/resource-manager/Microsoft.HardwareSecurityModules/{DedicatedHsm => }/stable/2021-11-30/examples/GetOutboundNetworkDependenciesEndpointsList.json (100%) rename specification/hardwaresecuritymodules/resource-manager/Microsoft.HardwareSecurityModules/{DedicatedHsm => }/stable/2021-11-30/examples/PaymentHsm_CreateOrUpdate.json (100%) rename specification/hardwaresecuritymodules/resource-manager/Microsoft.HardwareSecurityModules/{DedicatedHsm => }/stable/2021-11-30/examples/PaymentHsm_CreateOrUpdate_WithManagementProfile.json (100%) rename specification/hardwaresecuritymodules/resource-manager/Microsoft.HardwareSecurityModules/{DedicatedHsm => }/stable/2021-11-30/examples/PaymentHsm_Get.json (100%) rename specification/hardwaresecuritymodules/resource-manager/Microsoft.HardwareSecurityModules/{DedicatedHsm => }/stable/2021-11-30/examples/PaymentHsm_Get_With_2018-10-31Preview_Version.json (100%) rename specification/hardwaresecuritymodules/resource-manager/Microsoft.HardwareSecurityModules/{DedicatedHsm => }/stable/2021-11-30/examples/PaymentHsm_ListByResourceGroup.json (100%) rename specification/hardwaresecuritymodules/resource-manager/Microsoft.HardwareSecurityModules/{DedicatedHsm => }/stable/2021-11-30/examples/PaymentHsm_ListBySubscription.json (100%) rename specification/hardwaresecuritymodules/resource-manager/Microsoft.HardwareSecurityModules/{DedicatedHsm => }/stable/2021-11-30/examples/PaymentHsm_OperationsList.json (100%) rename specification/hardwaresecuritymodules/resource-manager/Microsoft.HardwareSecurityModules/{DedicatedHsm => }/stable/2021-11-30/examples/PaymentHsm_Update.json (100%) diff --git a/specification/hardwaresecuritymodules/resource-manager/Microsoft.HardwareSecurityModules/DedicatedHsm/preview/2018-10-31-preview/dedicatedhsm.json b/specification/hardwaresecuritymodules/resource-manager/Microsoft.HardwareSecurityModules/preview/2018-10-31-preview/dedicatedhsm.json similarity index 100% rename from specification/hardwaresecuritymodules/resource-manager/Microsoft.HardwareSecurityModules/DedicatedHsm/preview/2018-10-31-preview/dedicatedhsm.json rename to specification/hardwaresecuritymodules/resource-manager/Microsoft.HardwareSecurityModules/preview/2018-10-31-preview/dedicatedhsm.json diff --git a/specification/hardwaresecuritymodules/resource-manager/Microsoft.HardwareSecurityModules/DedicatedHsm/preview/2018-10-31-preview/examples/DedicatedHsm_CreateOrUpdate.json b/specification/hardwaresecuritymodules/resource-manager/Microsoft.HardwareSecurityModules/preview/2018-10-31-preview/examples/DedicatedHsm_CreateOrUpdate.json similarity index 100% rename from specification/hardwaresecuritymodules/resource-manager/Microsoft.HardwareSecurityModules/DedicatedHsm/preview/2018-10-31-preview/examples/DedicatedHsm_CreateOrUpdate.json rename to specification/hardwaresecuritymodules/resource-manager/Microsoft.HardwareSecurityModules/preview/2018-10-31-preview/examples/DedicatedHsm_CreateOrUpdate.json diff --git a/specification/hardwaresecuritymodules/resource-manager/Microsoft.HardwareSecurityModules/DedicatedHsm/preview/2018-10-31-preview/examples/DedicatedHsm_Delete.json b/specification/hardwaresecuritymodules/resource-manager/Microsoft.HardwareSecurityModules/preview/2018-10-31-preview/examples/DedicatedHsm_Delete.json similarity index 100% rename from specification/hardwaresecuritymodules/resource-manager/Microsoft.HardwareSecurityModules/DedicatedHsm/preview/2018-10-31-preview/examples/DedicatedHsm_Delete.json rename to specification/hardwaresecuritymodules/resource-manager/Microsoft.HardwareSecurityModules/preview/2018-10-31-preview/examples/DedicatedHsm_Delete.json diff --git a/specification/hardwaresecuritymodules/resource-manager/Microsoft.HardwareSecurityModules/DedicatedHsm/preview/2018-10-31-preview/examples/DedicatedHsm_Get.json b/specification/hardwaresecuritymodules/resource-manager/Microsoft.HardwareSecurityModules/preview/2018-10-31-preview/examples/DedicatedHsm_Get.json similarity index 100% rename from specification/hardwaresecuritymodules/resource-manager/Microsoft.HardwareSecurityModules/DedicatedHsm/preview/2018-10-31-preview/examples/DedicatedHsm_Get.json rename to specification/hardwaresecuritymodules/resource-manager/Microsoft.HardwareSecurityModules/preview/2018-10-31-preview/examples/DedicatedHsm_Get.json diff --git a/specification/hardwaresecuritymodules/resource-manager/Microsoft.HardwareSecurityModules/DedicatedHsm/preview/2018-10-31-preview/examples/DedicatedHsm_ListByResourceGroup.json b/specification/hardwaresecuritymodules/resource-manager/Microsoft.HardwareSecurityModules/preview/2018-10-31-preview/examples/DedicatedHsm_ListByResourceGroup.json similarity index 100% rename from specification/hardwaresecuritymodules/resource-manager/Microsoft.HardwareSecurityModules/DedicatedHsm/preview/2018-10-31-preview/examples/DedicatedHsm_ListByResourceGroup.json rename to specification/hardwaresecuritymodules/resource-manager/Microsoft.HardwareSecurityModules/preview/2018-10-31-preview/examples/DedicatedHsm_ListByResourceGroup.json diff --git a/specification/hardwaresecuritymodules/resource-manager/Microsoft.HardwareSecurityModules/DedicatedHsm/preview/2018-10-31-preview/examples/DedicatedHsm_ListBySubscription.json b/specification/hardwaresecuritymodules/resource-manager/Microsoft.HardwareSecurityModules/preview/2018-10-31-preview/examples/DedicatedHsm_ListBySubscription.json similarity index 100% rename from specification/hardwaresecuritymodules/resource-manager/Microsoft.HardwareSecurityModules/DedicatedHsm/preview/2018-10-31-preview/examples/DedicatedHsm_ListBySubscription.json rename to specification/hardwaresecuritymodules/resource-manager/Microsoft.HardwareSecurityModules/preview/2018-10-31-preview/examples/DedicatedHsm_ListBySubscription.json diff --git a/specification/hardwaresecuritymodules/resource-manager/Microsoft.HardwareSecurityModules/DedicatedHsm/preview/2018-10-31-preview/examples/DedicatedHsm_OperationsList.json b/specification/hardwaresecuritymodules/resource-manager/Microsoft.HardwareSecurityModules/preview/2018-10-31-preview/examples/DedicatedHsm_OperationsList.json similarity index 100% rename from specification/hardwaresecuritymodules/resource-manager/Microsoft.HardwareSecurityModules/DedicatedHsm/preview/2018-10-31-preview/examples/DedicatedHsm_OperationsList.json rename to specification/hardwaresecuritymodules/resource-manager/Microsoft.HardwareSecurityModules/preview/2018-10-31-preview/examples/DedicatedHsm_OperationsList.json diff --git a/specification/hardwaresecuritymodules/resource-manager/Microsoft.HardwareSecurityModules/DedicatedHsm/preview/2018-10-31-preview/examples/DedicatedHsm_Update.json b/specification/hardwaresecuritymodules/resource-manager/Microsoft.HardwareSecurityModules/preview/2018-10-31-preview/examples/DedicatedHsm_Update.json similarity index 100% rename from specification/hardwaresecuritymodules/resource-manager/Microsoft.HardwareSecurityModules/DedicatedHsm/preview/2018-10-31-preview/examples/DedicatedHsm_Update.json rename to specification/hardwaresecuritymodules/resource-manager/Microsoft.HardwareSecurityModules/preview/2018-10-31-preview/examples/DedicatedHsm_Update.json diff --git a/specification/hardwaresecuritymodules/resource-manager/Microsoft.HardwareSecurityModules/DedicatedHsm/preview/2018-10-31-preview/examples/PaymentHsm_CreateOrUpdate.json b/specification/hardwaresecuritymodules/resource-manager/Microsoft.HardwareSecurityModules/preview/2018-10-31-preview/examples/PaymentHsm_CreateOrUpdate.json similarity index 100% rename from specification/hardwaresecuritymodules/resource-manager/Microsoft.HardwareSecurityModules/DedicatedHsm/preview/2018-10-31-preview/examples/PaymentHsm_CreateOrUpdate.json rename to specification/hardwaresecuritymodules/resource-manager/Microsoft.HardwareSecurityModules/preview/2018-10-31-preview/examples/PaymentHsm_CreateOrUpdate.json diff --git a/specification/hardwaresecuritymodules/resource-manager/Microsoft.HardwareSecurityModules/DedicatedHsm/preview/2018-10-31-preview/examples/PaymentHsm_Get.json b/specification/hardwaresecuritymodules/resource-manager/Microsoft.HardwareSecurityModules/preview/2018-10-31-preview/examples/PaymentHsm_Get.json similarity index 100% rename from specification/hardwaresecuritymodules/resource-manager/Microsoft.HardwareSecurityModules/DedicatedHsm/preview/2018-10-31-preview/examples/PaymentHsm_Get.json rename to specification/hardwaresecuritymodules/resource-manager/Microsoft.HardwareSecurityModules/preview/2018-10-31-preview/examples/PaymentHsm_Get.json diff --git a/specification/hardwaresecuritymodules/resource-manager/Microsoft.HardwareSecurityModules/DedicatedHsm/preview/2018-10-31-preview/examples/PaymentHsm_Update.json b/specification/hardwaresecuritymodules/resource-manager/Microsoft.HardwareSecurityModules/preview/2018-10-31-preview/examples/PaymentHsm_Update.json similarity index 100% rename from specification/hardwaresecuritymodules/resource-manager/Microsoft.HardwareSecurityModules/DedicatedHsm/preview/2018-10-31-preview/examples/PaymentHsm_Update.json rename to specification/hardwaresecuritymodules/resource-manager/Microsoft.HardwareSecurityModules/preview/2018-10-31-preview/examples/PaymentHsm_Update.json diff --git a/specification/hardwaresecuritymodules/resource-manager/Microsoft.HardwareSecurityModules/CloudHsm/preview/2022-08-31-preview/cloudhsm.json b/specification/hardwaresecuritymodules/resource-manager/Microsoft.HardwareSecurityModules/preview/2022-08-31-preview/cloudhsm.json similarity index 84% rename from specification/hardwaresecuritymodules/resource-manager/Microsoft.HardwareSecurityModules/CloudHsm/preview/2022-08-31-preview/cloudhsm.json rename to specification/hardwaresecuritymodules/resource-manager/Microsoft.HardwareSecurityModules/preview/2022-08-31-preview/cloudhsm.json index 7fb86a0665cb..6703236e2dc5 100644 --- a/specification/hardwaresecuritymodules/resource-manager/Microsoft.HardwareSecurityModules/CloudHsm/preview/2022-08-31-preview/cloudhsm.json +++ b/specification/hardwaresecuritymodules/resource-manager/Microsoft.HardwareSecurityModules/preview/2022-08-31-preview/cloudhsm.json @@ -47,16 +47,16 @@ }, "parameters": [ { - "$ref": "../../../../../../common-types/resource-management/v3/types.json#/parameters/SubscriptionIdParameter" + "$ref": "../../../../../common-types/resource-management/v3/types.json#/parameters/SubscriptionIdParameter" }, { - "$ref": "../../../../../../common-types/resource-management/v3/types.json#/parameters/ResourceGroupNameParameter" + "$ref": "../../../../../common-types/resource-management/v3/types.json#/parameters/ResourceGroupNameParameter" }, { "$ref": "#/parameters/cloudHsmClusterName" }, { - "$ref": "../../../../../../common-types/resource-management/v3/types.json#/parameters/ApiVersionParameter" + "$ref": "../../../../../common-types/resource-management/v3/types.json#/parameters/ApiVersionParameter" }, { "in": "body", @@ -107,16 +107,16 @@ "description": "Update a Cloud HSM Cluster in the specified subscription.", "parameters": [ { - "$ref": "../../../../../../common-types/resource-management/v3/types.json#/parameters/SubscriptionIdParameter" + "$ref": "../../../../../common-types/resource-management/v3/types.json#/parameters/SubscriptionIdParameter" }, { - "$ref": "../../../../../../common-types/resource-management/v3/types.json#/parameters/ResourceGroupNameParameter" + "$ref": "../../../../../common-types/resource-management/v3/types.json#/parameters/ResourceGroupNameParameter" }, { "$ref": "#/parameters/cloudHsmClusterName" }, { - "$ref": "../../../../../../common-types/resource-management/v3/types.json#/parameters/ApiVersionParameter" + "$ref": "../../../../../common-types/resource-management/v3/types.json#/parameters/ApiVersionParameter" }, { "in": "body", @@ -169,16 +169,16 @@ "description": "Gets the specified Cloud HSM Cluster", "parameters": [ { - "$ref": "../../../../../../common-types/resource-management/v3/types.json#/parameters/SubscriptionIdParameter" + "$ref": "../../../../../common-types/resource-management/v3/types.json#/parameters/SubscriptionIdParameter" }, { - "$ref": "../../../../../../common-types/resource-management/v3/types.json#/parameters/ResourceGroupNameParameter" + "$ref": "../../../../../common-types/resource-management/v3/types.json#/parameters/ResourceGroupNameParameter" }, { "$ref": "#/parameters/cloudHsmClusterName" }, { - "$ref": "../../../../../../common-types/resource-management/v3/types.json#/parameters/ApiVersionParameter" + "$ref": "../../../../../common-types/resource-management/v3/types.json#/parameters/ApiVersionParameter" } ], "responses": { @@ -213,16 +213,16 @@ }, "parameters": [ { - "$ref": "../../../../../../common-types/resource-management/v3/types.json#/parameters/SubscriptionIdParameter" + "$ref": "../../../../../common-types/resource-management/v3/types.json#/parameters/SubscriptionIdParameter" }, { - "$ref": "../../../../../../common-types/resource-management/v3/types.json#/parameters/ResourceGroupNameParameter" + "$ref": "../../../../../common-types/resource-management/v3/types.json#/parameters/ResourceGroupNameParameter" }, { "$ref": "#/parameters/cloudHsmClusterName" }, { - "$ref": "../../../../../../common-types/resource-management/v3/types.json#/parameters/ApiVersionParameter" + "$ref": "../../../../../common-types/resource-management/v3/types.json#/parameters/ApiVersionParameter" } ], "responses": { @@ -264,10 +264,10 @@ "description": "The List operation gets information about the Cloud HSM Clusters associated with the subscription and within the specified resource group.", "parameters": [ { - "$ref": "../../../../../../common-types/resource-management/v3/types.json#/parameters/SubscriptionIdParameter" + "$ref": "../../../../../common-types/resource-management/v3/types.json#/parameters/SubscriptionIdParameter" }, { - "$ref": "../../../../../../common-types/resource-management/v3/types.json#/parameters/ResourceGroupNameParameter" + "$ref": "../../../../../common-types/resource-management/v3/types.json#/parameters/ResourceGroupNameParameter" }, { "in": "query", @@ -277,7 +277,7 @@ "description": "Maximum number of results to return." }, { - "$ref": "../../../../../../common-types/resource-management/v3/types.json#/parameters/ApiVersionParameter" + "$ref": "../../../../../common-types/resource-management/v3/types.json#/parameters/ApiVersionParameter" } ], "responses": { @@ -313,7 +313,7 @@ "description": "The List operation gets information about the Cloud HSM Clusters associated with the subscription.", "parameters": [ { - "$ref": "../../../../../../common-types/resource-management/v3/types.json#/parameters/SubscriptionIdParameter" + "$ref": "../../../../../common-types/resource-management/v3/types.json#/parameters/SubscriptionIdParameter" }, { "in": "query", @@ -323,7 +323,7 @@ "description": "Maximum number of results to return." }, { - "$ref": "../../../../../../common-types/resource-management/v3/types.json#/parameters/ApiVersionParameter" + "$ref": "../../../../../common-types/resource-management/v3/types.json#/parameters/ApiVersionParameter" } ], "responses": { @@ -359,23 +359,23 @@ "description": "Gets the private link resources supported for the Cloud Hsm Cluster.", "parameters": [ { - "$ref": "../../../../../../common-types/resource-management/v3/types.json#/parameters/SubscriptionIdParameter" + "$ref": "../../../../../common-types/resource-management/v3/types.json#/parameters/SubscriptionIdParameter" }, { - "$ref": "../../../../../../common-types/resource-management/v3/types.json#/parameters/ResourceGroupNameParameter" + "$ref": "../../../../../common-types/resource-management/v3/types.json#/parameters/ResourceGroupNameParameter" }, { "$ref": "#/parameters/cloudHsmClusterName" }, { - "$ref": "../../../../../../common-types/resource-management/v3/types.json#/parameters/ApiVersionParameter" + "$ref": "../../../../../common-types/resource-management/v3/types.json#/parameters/ApiVersionParameter" } ], "responses": { "200": { "description": "Successfully retrieved private link resources.", "schema": { - "$ref": "../../../../../../common-types/resource-management/v4/privatelinks.json#/definitions/PrivateLinkResourceListResult" + "$ref": "../../../../../common-types/resource-management/v4/privatelinks.json#/definitions/PrivateLinkResourceListResult" } }, "default": { @@ -401,16 +401,16 @@ "description": "Creates or updates the private endpoint connection for the Cloud Hsm Cluster.", "parameters": [ { - "$ref": "../../../../../../common-types/resource-management/v3/types.json#/parameters/SubscriptionIdParameter" + "$ref": "../../../../../common-types/resource-management/v3/types.json#/parameters/SubscriptionIdParameter" }, { - "$ref": "../../../../../../common-types/resource-management/v3/types.json#/parameters/ResourceGroupNameParameter" + "$ref": "../../../../../common-types/resource-management/v3/types.json#/parameters/ResourceGroupNameParameter" }, { "$ref": "#/parameters/cloudHsmClusterName" }, { - "$ref": "../../../../../../common-types/resource-management/v3/types.json#/parameters/ApiVersionParameter" + "$ref": "../../../../../common-types/resource-management/v3/types.json#/parameters/ApiVersionParameter" }, { "$ref": "#/parameters/peConnectionName" @@ -420,7 +420,7 @@ "name": "properties", "required": true, "schema": { - "$ref": "../../../../../../common-types/resource-management/v4/privatelinks.json#/definitions/PrivateEndpointConnection" + "$ref": "../../../../../common-types/resource-management/v4/privatelinks.json#/definitions/PrivateEndpointConnection" }, "description": "Parameters of the PrivateEndpointConnection" } @@ -429,7 +429,7 @@ "200": { "description": "OK -- Update the private endpoint connection properties successfully.", "schema": { - "$ref": "../../../../../../common-types/resource-management/v4/privatelinks.json#/definitions/PrivateEndpointConnection" + "$ref": "../../../../../common-types/resource-management/v4/privatelinks.json#/definitions/PrivateEndpointConnection" } }, "default": { @@ -457,16 +457,16 @@ }, "parameters": [ { - "$ref": "../../../../../../common-types/resource-management/v3/types.json#/parameters/SubscriptionIdParameter" + "$ref": "../../../../../common-types/resource-management/v3/types.json#/parameters/SubscriptionIdParameter" }, { - "$ref": "../../../../../../common-types/resource-management/v3/types.json#/parameters/ResourceGroupNameParameter" + "$ref": "../../../../../common-types/resource-management/v3/types.json#/parameters/ResourceGroupNameParameter" }, { "$ref": "#/parameters/cloudHsmClusterName" }, { - "$ref": "../../../../../../common-types/resource-management/v3/types.json#/parameters/ApiVersionParameter" + "$ref": "../../../../../common-types/resource-management/v3/types.json#/parameters/ApiVersionParameter" }, { "$ref": "#/parameters/peConnectionName" @@ -509,16 +509,16 @@ "description": "Gets the private endpoint connection for the Cloud Hsm Cluster.", "parameters": [ { - "$ref": "../../../../../../common-types/resource-management/v3/types.json#/parameters/SubscriptionIdParameter" + "$ref": "../../../../../common-types/resource-management/v3/types.json#/parameters/SubscriptionIdParameter" }, { - "$ref": "../../../../../../common-types/resource-management/v3/types.json#/parameters/ResourceGroupNameParameter" + "$ref": "../../../../../common-types/resource-management/v3/types.json#/parameters/ResourceGroupNameParameter" }, { "$ref": "#/parameters/cloudHsmClusterName" }, { - "$ref": "../../../../../../common-types/resource-management/v3/types.json#/parameters/ApiVersionParameter" + "$ref": "../../../../../common-types/resource-management/v3/types.json#/parameters/ApiVersionParameter" }, { "$ref": "#/parameters/peConnectionName" @@ -528,7 +528,7 @@ "200": { "description": "Private endpoint connection successfully returned.", "schema": { - "$ref": "../../../../../../common-types/resource-management/v4/privatelinks.json#/definitions/PrivateEndpointConnection" + "$ref": "../../../../../common-types/resource-management/v4/privatelinks.json#/definitions/PrivateEndpointConnection" } }, "default": { @@ -554,23 +554,23 @@ "description": "The List operation gets information about the private endpoint connections associated with the Cloud HSM Cluster", "parameters": [ { - "$ref": "../../../../../../common-types/resource-management/v3/types.json#/parameters/SubscriptionIdParameter" + "$ref": "../../../../../common-types/resource-management/v3/types.json#/parameters/SubscriptionIdParameter" }, { - "$ref": "../../../../../../common-types/resource-management/v3/types.json#/parameters/ResourceGroupNameParameter" + "$ref": "../../../../../common-types/resource-management/v3/types.json#/parameters/ResourceGroupNameParameter" }, { "$ref": "#/parameters/cloudHsmClusterName" }, { - "$ref": "../../../../../../common-types/resource-management/v3/types.json#/parameters/ApiVersionParameter" + "$ref": "../../../../../common-types/resource-management/v3/types.json#/parameters/ApiVersionParameter" } ], "responses": { "200": { "description": "List of all CloudHsmCluster private endpoint connections associated with the Cloud HSM Cluster.", "schema": { - "$ref": "../../../../../../common-types/resource-management/v4/privatelinks.json#/definitions/PrivateEndpointConnectionListResult" + "$ref": "../../../../../common-types/resource-management/v4/privatelinks.json#/definitions/PrivateEndpointConnectionListResult" } }, "default": { @@ -632,7 +632,7 @@ }, "allOf": [ { - "$ref": "../../../../../../common-types/resource-management/v3/types.json#/definitions/TrackedResource" + "$ref": "../../../../../common-types/resource-management/v3/types.json#/definitions/TrackedResource" } ], "description": "Cloud HSM Cluster Resource", diff --git a/specification/hardwaresecuritymodules/resource-manager/Microsoft.HardwareSecurityModules/CloudHsm/preview/2022-08-31-preview/examples/CloudHsmClusterPrivateEndpointConnection_Create_MaximumSet_Gen.json b/specification/hardwaresecuritymodules/resource-manager/Microsoft.HardwareSecurityModules/preview/2022-08-31-preview/examples/CloudHsmClusterPrivateEndpointConnection_Create_MaximumSet_Gen.json similarity index 100% rename from specification/hardwaresecuritymodules/resource-manager/Microsoft.HardwareSecurityModules/CloudHsm/preview/2022-08-31-preview/examples/CloudHsmClusterPrivateEndpointConnection_Create_MaximumSet_Gen.json rename to specification/hardwaresecuritymodules/resource-manager/Microsoft.HardwareSecurityModules/preview/2022-08-31-preview/examples/CloudHsmClusterPrivateEndpointConnection_Create_MaximumSet_Gen.json diff --git a/specification/hardwaresecuritymodules/resource-manager/Microsoft.HardwareSecurityModules/CloudHsm/preview/2022-08-31-preview/examples/CloudHsmClusterPrivateEndpointConnection_Delete_MaximumSet_Gen.json b/specification/hardwaresecuritymodules/resource-manager/Microsoft.HardwareSecurityModules/preview/2022-08-31-preview/examples/CloudHsmClusterPrivateEndpointConnection_Delete_MaximumSet_Gen.json similarity index 100% rename from specification/hardwaresecuritymodules/resource-manager/Microsoft.HardwareSecurityModules/CloudHsm/preview/2022-08-31-preview/examples/CloudHsmClusterPrivateEndpointConnection_Delete_MaximumSet_Gen.json rename to specification/hardwaresecuritymodules/resource-manager/Microsoft.HardwareSecurityModules/preview/2022-08-31-preview/examples/CloudHsmClusterPrivateEndpointConnection_Delete_MaximumSet_Gen.json diff --git a/specification/hardwaresecuritymodules/resource-manager/Microsoft.HardwareSecurityModules/CloudHsm/preview/2022-08-31-preview/examples/CloudHsmClusterPrivateEndpointConnection_Get_MaximumSet_Gen.json b/specification/hardwaresecuritymodules/resource-manager/Microsoft.HardwareSecurityModules/preview/2022-08-31-preview/examples/CloudHsmClusterPrivateEndpointConnection_Get_MaximumSet_Gen.json similarity index 100% rename from specification/hardwaresecuritymodules/resource-manager/Microsoft.HardwareSecurityModules/CloudHsm/preview/2022-08-31-preview/examples/CloudHsmClusterPrivateEndpointConnection_Get_MaximumSet_Gen.json rename to specification/hardwaresecuritymodules/resource-manager/Microsoft.HardwareSecurityModules/preview/2022-08-31-preview/examples/CloudHsmClusterPrivateEndpointConnection_Get_MaximumSet_Gen.json diff --git a/specification/hardwaresecuritymodules/resource-manager/Microsoft.HardwareSecurityModules/CloudHsm/preview/2022-08-31-preview/examples/CloudHsmClusterPrivateEndpointConnection_ListByCloudHsmCluster_MaximumSet_Gen.json b/specification/hardwaresecuritymodules/resource-manager/Microsoft.HardwareSecurityModules/preview/2022-08-31-preview/examples/CloudHsmClusterPrivateEndpointConnection_ListByCloudHsmCluster_MaximumSet_Gen.json similarity index 100% rename from specification/hardwaresecuritymodules/resource-manager/Microsoft.HardwareSecurityModules/CloudHsm/preview/2022-08-31-preview/examples/CloudHsmClusterPrivateEndpointConnection_ListByCloudHsmCluster_MaximumSet_Gen.json rename to specification/hardwaresecuritymodules/resource-manager/Microsoft.HardwareSecurityModules/preview/2022-08-31-preview/examples/CloudHsmClusterPrivateEndpointConnection_ListByCloudHsmCluster_MaximumSet_Gen.json diff --git a/specification/hardwaresecuritymodules/resource-manager/Microsoft.HardwareSecurityModules/CloudHsm/preview/2022-08-31-preview/examples/CloudHsmClusterPrivateLinkResource_ListByCloudHsmCluster_MaximumSet_Gen.json b/specification/hardwaresecuritymodules/resource-manager/Microsoft.HardwareSecurityModules/preview/2022-08-31-preview/examples/CloudHsmClusterPrivateLinkResource_ListByCloudHsmCluster_MaximumSet_Gen.json similarity index 100% rename from specification/hardwaresecuritymodules/resource-manager/Microsoft.HardwareSecurityModules/CloudHsm/preview/2022-08-31-preview/examples/CloudHsmClusterPrivateLinkResource_ListByCloudHsmCluster_MaximumSet_Gen.json rename to specification/hardwaresecuritymodules/resource-manager/Microsoft.HardwareSecurityModules/preview/2022-08-31-preview/examples/CloudHsmClusterPrivateLinkResource_ListByCloudHsmCluster_MaximumSet_Gen.json diff --git a/specification/hardwaresecuritymodules/resource-manager/Microsoft.HardwareSecurityModules/CloudHsm/preview/2022-08-31-preview/examples/CloudHsmCluster_CreateOrUpdate_MaximumSet_Gen.json b/specification/hardwaresecuritymodules/resource-manager/Microsoft.HardwareSecurityModules/preview/2022-08-31-preview/examples/CloudHsmCluster_CreateOrUpdate_MaximumSet_Gen.json similarity index 100% rename from specification/hardwaresecuritymodules/resource-manager/Microsoft.HardwareSecurityModules/CloudHsm/preview/2022-08-31-preview/examples/CloudHsmCluster_CreateOrUpdate_MaximumSet_Gen.json rename to specification/hardwaresecuritymodules/resource-manager/Microsoft.HardwareSecurityModules/preview/2022-08-31-preview/examples/CloudHsmCluster_CreateOrUpdate_MaximumSet_Gen.json diff --git a/specification/hardwaresecuritymodules/resource-manager/Microsoft.HardwareSecurityModules/CloudHsm/preview/2022-08-31-preview/examples/CloudHsmCluster_Delete_MaximumSet_Gen.json b/specification/hardwaresecuritymodules/resource-manager/Microsoft.HardwareSecurityModules/preview/2022-08-31-preview/examples/CloudHsmCluster_Delete_MaximumSet_Gen.json similarity index 100% rename from specification/hardwaresecuritymodules/resource-manager/Microsoft.HardwareSecurityModules/CloudHsm/preview/2022-08-31-preview/examples/CloudHsmCluster_Delete_MaximumSet_Gen.json rename to specification/hardwaresecuritymodules/resource-manager/Microsoft.HardwareSecurityModules/preview/2022-08-31-preview/examples/CloudHsmCluster_Delete_MaximumSet_Gen.json diff --git a/specification/hardwaresecuritymodules/resource-manager/Microsoft.HardwareSecurityModules/CloudHsm/preview/2022-08-31-preview/examples/CloudHsmCluster_Get_MaximumSet_Gen.json b/specification/hardwaresecuritymodules/resource-manager/Microsoft.HardwareSecurityModules/preview/2022-08-31-preview/examples/CloudHsmCluster_Get_MaximumSet_Gen.json similarity index 100% rename from specification/hardwaresecuritymodules/resource-manager/Microsoft.HardwareSecurityModules/CloudHsm/preview/2022-08-31-preview/examples/CloudHsmCluster_Get_MaximumSet_Gen.json rename to specification/hardwaresecuritymodules/resource-manager/Microsoft.HardwareSecurityModules/preview/2022-08-31-preview/examples/CloudHsmCluster_Get_MaximumSet_Gen.json diff --git a/specification/hardwaresecuritymodules/resource-manager/Microsoft.HardwareSecurityModules/CloudHsm/preview/2022-08-31-preview/examples/CloudHsmCluster_ListByResourceGroup_MaximumSet_Gen.json b/specification/hardwaresecuritymodules/resource-manager/Microsoft.HardwareSecurityModules/preview/2022-08-31-preview/examples/CloudHsmCluster_ListByResourceGroup_MaximumSet_Gen.json similarity index 100% rename from specification/hardwaresecuritymodules/resource-manager/Microsoft.HardwareSecurityModules/CloudHsm/preview/2022-08-31-preview/examples/CloudHsmCluster_ListByResourceGroup_MaximumSet_Gen.json rename to specification/hardwaresecuritymodules/resource-manager/Microsoft.HardwareSecurityModules/preview/2022-08-31-preview/examples/CloudHsmCluster_ListByResourceGroup_MaximumSet_Gen.json diff --git a/specification/hardwaresecuritymodules/resource-manager/Microsoft.HardwareSecurityModules/CloudHsm/preview/2022-08-31-preview/examples/CloudHsmCluster_ListBySubscription_MaximumSet_Gen.json b/specification/hardwaresecuritymodules/resource-manager/Microsoft.HardwareSecurityModules/preview/2022-08-31-preview/examples/CloudHsmCluster_ListBySubscription_MaximumSet_Gen.json similarity index 100% rename from specification/hardwaresecuritymodules/resource-manager/Microsoft.HardwareSecurityModules/CloudHsm/preview/2022-08-31-preview/examples/CloudHsmCluster_ListBySubscription_MaximumSet_Gen.json rename to specification/hardwaresecuritymodules/resource-manager/Microsoft.HardwareSecurityModules/preview/2022-08-31-preview/examples/CloudHsmCluster_ListBySubscription_MaximumSet_Gen.json diff --git a/specification/hardwaresecuritymodules/resource-manager/Microsoft.HardwareSecurityModules/CloudHsm/preview/2022-08-31-preview/examples/CloudHsmCluster_Update_MaximumSet_Gen.json b/specification/hardwaresecuritymodules/resource-manager/Microsoft.HardwareSecurityModules/preview/2022-08-31-preview/examples/CloudHsmCluster_Update_MaximumSet_Gen.json similarity index 100% rename from specification/hardwaresecuritymodules/resource-manager/Microsoft.HardwareSecurityModules/CloudHsm/preview/2022-08-31-preview/examples/CloudHsmCluster_Update_MaximumSet_Gen.json rename to specification/hardwaresecuritymodules/resource-manager/Microsoft.HardwareSecurityModules/preview/2022-08-31-preview/examples/CloudHsmCluster_Update_MaximumSet_Gen.json diff --git a/specification/hardwaresecuritymodules/resource-manager/Microsoft.HardwareSecurityModules/DedicatedHsm/stable/2021-11-30/dedicatedhsm.json b/specification/hardwaresecuritymodules/resource-manager/Microsoft.HardwareSecurityModules/stable/2021-11-30/dedicatedhsm.json similarity index 97% rename from specification/hardwaresecuritymodules/resource-manager/Microsoft.HardwareSecurityModules/DedicatedHsm/stable/2021-11-30/dedicatedhsm.json rename to specification/hardwaresecuritymodules/resource-manager/Microsoft.HardwareSecurityModules/stable/2021-11-30/dedicatedhsm.json index 3f12b2f4161e..083512850e40 100644 --- a/specification/hardwaresecuritymodules/resource-manager/Microsoft.HardwareSecurityModules/DedicatedHsm/stable/2021-11-30/dedicatedhsm.json +++ b/specification/hardwaresecuritymodules/resource-manager/Microsoft.HardwareSecurityModules/stable/2021-11-30/dedicatedhsm.json @@ -110,7 +110,7 @@ "$ref": "#/parameters/ApiVersionParameter" }, { - "$ref": "../../../../../../common-types/resource-management/v3/types.json#/parameters/SubscriptionIdParameter" + "$ref": "../../../../../common-types/resource-management/v3/types.json#/parameters/SubscriptionIdParameter" } ], "responses": { @@ -182,7 +182,7 @@ "$ref": "#/parameters/ApiVersionParameter" }, { - "$ref": "../../../../../../common-types/resource-management/v3/types.json#/parameters/SubscriptionIdParameter" + "$ref": "../../../../../common-types/resource-management/v3/types.json#/parameters/SubscriptionIdParameter" } ], "responses": { @@ -234,7 +234,7 @@ "$ref": "#/parameters/ApiVersionParameter" }, { - "$ref": "../../../../../../common-types/resource-management/v3/types.json#/parameters/SubscriptionIdParameter" + "$ref": "../../../../../common-types/resource-management/v3/types.json#/parameters/SubscriptionIdParameter" } ], "responses": { @@ -285,7 +285,7 @@ "$ref": "#/parameters/ApiVersionParameter" }, { - "$ref": "../../../../../../common-types/resource-management/v3/types.json#/parameters/SubscriptionIdParameter" + "$ref": "../../../../../common-types/resource-management/v3/types.json#/parameters/SubscriptionIdParameter" } ], "responses": { @@ -341,7 +341,7 @@ "$ref": "#/parameters/ApiVersionParameter" }, { - "$ref": "../../../../../../common-types/resource-management/v3/types.json#/parameters/SubscriptionIdParameter" + "$ref": "../../../../../common-types/resource-management/v3/types.json#/parameters/SubscriptionIdParameter" } ], "responses": { @@ -390,7 +390,7 @@ "$ref": "#/parameters/ApiVersionParameter" }, { - "$ref": "../../../../../../common-types/resource-management/v3/types.json#/parameters/SubscriptionIdParameter" + "$ref": "../../../../../common-types/resource-management/v3/types.json#/parameters/SubscriptionIdParameter" } ], "responses": { @@ -447,7 +447,7 @@ "$ref": "#/parameters/ApiVersionParameter" }, { - "$ref": "../../../../../../common-types/resource-management/v3/types.json#/parameters/SubscriptionIdParameter" + "$ref": "../../../../../common-types/resource-management/v3/types.json#/parameters/SubscriptionIdParameter" } ], "responses": { diff --git a/specification/hardwaresecuritymodules/resource-manager/Microsoft.HardwareSecurityModules/DedicatedHsm/stable/2021-11-30/examples/DedicatedHsm_CreateOrUpdate.json b/specification/hardwaresecuritymodules/resource-manager/Microsoft.HardwareSecurityModules/stable/2021-11-30/examples/DedicatedHsm_CreateOrUpdate.json similarity index 100% rename from specification/hardwaresecuritymodules/resource-manager/Microsoft.HardwareSecurityModules/DedicatedHsm/stable/2021-11-30/examples/DedicatedHsm_CreateOrUpdate.json rename to specification/hardwaresecuritymodules/resource-manager/Microsoft.HardwareSecurityModules/stable/2021-11-30/examples/DedicatedHsm_CreateOrUpdate.json diff --git a/specification/hardwaresecuritymodules/resource-manager/Microsoft.HardwareSecurityModules/DedicatedHsm/stable/2021-11-30/examples/DedicatedHsm_Delete.json b/specification/hardwaresecuritymodules/resource-manager/Microsoft.HardwareSecurityModules/stable/2021-11-30/examples/DedicatedHsm_Delete.json similarity index 100% rename from specification/hardwaresecuritymodules/resource-manager/Microsoft.HardwareSecurityModules/DedicatedHsm/stable/2021-11-30/examples/DedicatedHsm_Delete.json rename to specification/hardwaresecuritymodules/resource-manager/Microsoft.HardwareSecurityModules/stable/2021-11-30/examples/DedicatedHsm_Delete.json diff --git a/specification/hardwaresecuritymodules/resource-manager/Microsoft.HardwareSecurityModules/DedicatedHsm/stable/2021-11-30/examples/DedicatedHsm_Get.json b/specification/hardwaresecuritymodules/resource-manager/Microsoft.HardwareSecurityModules/stable/2021-11-30/examples/DedicatedHsm_Get.json similarity index 100% rename from specification/hardwaresecuritymodules/resource-manager/Microsoft.HardwareSecurityModules/DedicatedHsm/stable/2021-11-30/examples/DedicatedHsm_Get.json rename to specification/hardwaresecuritymodules/resource-manager/Microsoft.HardwareSecurityModules/stable/2021-11-30/examples/DedicatedHsm_Get.json diff --git a/specification/hardwaresecuritymodules/resource-manager/Microsoft.HardwareSecurityModules/DedicatedHsm/stable/2021-11-30/examples/DedicatedHsm_ListByResourceGroup.json b/specification/hardwaresecuritymodules/resource-manager/Microsoft.HardwareSecurityModules/stable/2021-11-30/examples/DedicatedHsm_ListByResourceGroup.json similarity index 100% rename from specification/hardwaresecuritymodules/resource-manager/Microsoft.HardwareSecurityModules/DedicatedHsm/stable/2021-11-30/examples/DedicatedHsm_ListByResourceGroup.json rename to specification/hardwaresecuritymodules/resource-manager/Microsoft.HardwareSecurityModules/stable/2021-11-30/examples/DedicatedHsm_ListByResourceGroup.json diff --git a/specification/hardwaresecuritymodules/resource-manager/Microsoft.HardwareSecurityModules/DedicatedHsm/stable/2021-11-30/examples/DedicatedHsm_ListBySubscription.json b/specification/hardwaresecuritymodules/resource-manager/Microsoft.HardwareSecurityModules/stable/2021-11-30/examples/DedicatedHsm_ListBySubscription.json similarity index 100% rename from specification/hardwaresecuritymodules/resource-manager/Microsoft.HardwareSecurityModules/DedicatedHsm/stable/2021-11-30/examples/DedicatedHsm_ListBySubscription.json rename to specification/hardwaresecuritymodules/resource-manager/Microsoft.HardwareSecurityModules/stable/2021-11-30/examples/DedicatedHsm_ListBySubscription.json diff --git a/specification/hardwaresecuritymodules/resource-manager/Microsoft.HardwareSecurityModules/DedicatedHsm/stable/2021-11-30/examples/DedicatedHsm_OperationsList.json b/specification/hardwaresecuritymodules/resource-manager/Microsoft.HardwareSecurityModules/stable/2021-11-30/examples/DedicatedHsm_OperationsList.json similarity index 100% rename from specification/hardwaresecuritymodules/resource-manager/Microsoft.HardwareSecurityModules/DedicatedHsm/stable/2021-11-30/examples/DedicatedHsm_OperationsList.json rename to specification/hardwaresecuritymodules/resource-manager/Microsoft.HardwareSecurityModules/stable/2021-11-30/examples/DedicatedHsm_OperationsList.json diff --git a/specification/hardwaresecuritymodules/resource-manager/Microsoft.HardwareSecurityModules/DedicatedHsm/stable/2021-11-30/examples/DedicatedHsm_Update.json b/specification/hardwaresecuritymodules/resource-manager/Microsoft.HardwareSecurityModules/stable/2021-11-30/examples/DedicatedHsm_Update.json similarity index 100% rename from specification/hardwaresecuritymodules/resource-manager/Microsoft.HardwareSecurityModules/DedicatedHsm/stable/2021-11-30/examples/DedicatedHsm_Update.json rename to specification/hardwaresecuritymodules/resource-manager/Microsoft.HardwareSecurityModules/stable/2021-11-30/examples/DedicatedHsm_Update.json diff --git a/specification/hardwaresecuritymodules/resource-manager/Microsoft.HardwareSecurityModules/DedicatedHsm/stable/2021-11-30/examples/GetOutboundNetworkDependenciesEndpointsList.json b/specification/hardwaresecuritymodules/resource-manager/Microsoft.HardwareSecurityModules/stable/2021-11-30/examples/GetOutboundNetworkDependenciesEndpointsList.json similarity index 100% rename from specification/hardwaresecuritymodules/resource-manager/Microsoft.HardwareSecurityModules/DedicatedHsm/stable/2021-11-30/examples/GetOutboundNetworkDependenciesEndpointsList.json rename to specification/hardwaresecuritymodules/resource-manager/Microsoft.HardwareSecurityModules/stable/2021-11-30/examples/GetOutboundNetworkDependenciesEndpointsList.json diff --git a/specification/hardwaresecuritymodules/resource-manager/Microsoft.HardwareSecurityModules/DedicatedHsm/stable/2021-11-30/examples/PaymentHsm_CreateOrUpdate.json b/specification/hardwaresecuritymodules/resource-manager/Microsoft.HardwareSecurityModules/stable/2021-11-30/examples/PaymentHsm_CreateOrUpdate.json similarity index 100% rename from specification/hardwaresecuritymodules/resource-manager/Microsoft.HardwareSecurityModules/DedicatedHsm/stable/2021-11-30/examples/PaymentHsm_CreateOrUpdate.json rename to specification/hardwaresecuritymodules/resource-manager/Microsoft.HardwareSecurityModules/stable/2021-11-30/examples/PaymentHsm_CreateOrUpdate.json diff --git a/specification/hardwaresecuritymodules/resource-manager/Microsoft.HardwareSecurityModules/DedicatedHsm/stable/2021-11-30/examples/PaymentHsm_CreateOrUpdate_WithManagementProfile.json b/specification/hardwaresecuritymodules/resource-manager/Microsoft.HardwareSecurityModules/stable/2021-11-30/examples/PaymentHsm_CreateOrUpdate_WithManagementProfile.json similarity index 100% rename from specification/hardwaresecuritymodules/resource-manager/Microsoft.HardwareSecurityModules/DedicatedHsm/stable/2021-11-30/examples/PaymentHsm_CreateOrUpdate_WithManagementProfile.json rename to specification/hardwaresecuritymodules/resource-manager/Microsoft.HardwareSecurityModules/stable/2021-11-30/examples/PaymentHsm_CreateOrUpdate_WithManagementProfile.json diff --git a/specification/hardwaresecuritymodules/resource-manager/Microsoft.HardwareSecurityModules/DedicatedHsm/stable/2021-11-30/examples/PaymentHsm_Get.json b/specification/hardwaresecuritymodules/resource-manager/Microsoft.HardwareSecurityModules/stable/2021-11-30/examples/PaymentHsm_Get.json similarity index 100% rename from specification/hardwaresecuritymodules/resource-manager/Microsoft.HardwareSecurityModules/DedicatedHsm/stable/2021-11-30/examples/PaymentHsm_Get.json rename to specification/hardwaresecuritymodules/resource-manager/Microsoft.HardwareSecurityModules/stable/2021-11-30/examples/PaymentHsm_Get.json diff --git a/specification/hardwaresecuritymodules/resource-manager/Microsoft.HardwareSecurityModules/DedicatedHsm/stable/2021-11-30/examples/PaymentHsm_Get_With_2018-10-31Preview_Version.json b/specification/hardwaresecuritymodules/resource-manager/Microsoft.HardwareSecurityModules/stable/2021-11-30/examples/PaymentHsm_Get_With_2018-10-31Preview_Version.json similarity index 100% rename from specification/hardwaresecuritymodules/resource-manager/Microsoft.HardwareSecurityModules/DedicatedHsm/stable/2021-11-30/examples/PaymentHsm_Get_With_2018-10-31Preview_Version.json rename to specification/hardwaresecuritymodules/resource-manager/Microsoft.HardwareSecurityModules/stable/2021-11-30/examples/PaymentHsm_Get_With_2018-10-31Preview_Version.json diff --git a/specification/hardwaresecuritymodules/resource-manager/Microsoft.HardwareSecurityModules/DedicatedHsm/stable/2021-11-30/examples/PaymentHsm_ListByResourceGroup.json b/specification/hardwaresecuritymodules/resource-manager/Microsoft.HardwareSecurityModules/stable/2021-11-30/examples/PaymentHsm_ListByResourceGroup.json similarity index 100% rename from specification/hardwaresecuritymodules/resource-manager/Microsoft.HardwareSecurityModules/DedicatedHsm/stable/2021-11-30/examples/PaymentHsm_ListByResourceGroup.json rename to specification/hardwaresecuritymodules/resource-manager/Microsoft.HardwareSecurityModules/stable/2021-11-30/examples/PaymentHsm_ListByResourceGroup.json diff --git a/specification/hardwaresecuritymodules/resource-manager/Microsoft.HardwareSecurityModules/DedicatedHsm/stable/2021-11-30/examples/PaymentHsm_ListBySubscription.json b/specification/hardwaresecuritymodules/resource-manager/Microsoft.HardwareSecurityModules/stable/2021-11-30/examples/PaymentHsm_ListBySubscription.json similarity index 100% rename from specification/hardwaresecuritymodules/resource-manager/Microsoft.HardwareSecurityModules/DedicatedHsm/stable/2021-11-30/examples/PaymentHsm_ListBySubscription.json rename to specification/hardwaresecuritymodules/resource-manager/Microsoft.HardwareSecurityModules/stable/2021-11-30/examples/PaymentHsm_ListBySubscription.json diff --git a/specification/hardwaresecuritymodules/resource-manager/Microsoft.HardwareSecurityModules/DedicatedHsm/stable/2021-11-30/examples/PaymentHsm_OperationsList.json b/specification/hardwaresecuritymodules/resource-manager/Microsoft.HardwareSecurityModules/stable/2021-11-30/examples/PaymentHsm_OperationsList.json similarity index 100% rename from specification/hardwaresecuritymodules/resource-manager/Microsoft.HardwareSecurityModules/DedicatedHsm/stable/2021-11-30/examples/PaymentHsm_OperationsList.json rename to specification/hardwaresecuritymodules/resource-manager/Microsoft.HardwareSecurityModules/stable/2021-11-30/examples/PaymentHsm_OperationsList.json diff --git a/specification/hardwaresecuritymodules/resource-manager/Microsoft.HardwareSecurityModules/DedicatedHsm/stable/2021-11-30/examples/PaymentHsm_Update.json b/specification/hardwaresecuritymodules/resource-manager/Microsoft.HardwareSecurityModules/stable/2021-11-30/examples/PaymentHsm_Update.json similarity index 100% rename from specification/hardwaresecuritymodules/resource-manager/Microsoft.HardwareSecurityModules/DedicatedHsm/stable/2021-11-30/examples/PaymentHsm_Update.json rename to specification/hardwaresecuritymodules/resource-manager/Microsoft.HardwareSecurityModules/stable/2021-11-30/examples/PaymentHsm_Update.json diff --git a/specification/hardwaresecuritymodules/resource-manager/readme.md b/specification/hardwaresecuritymodules/resource-manager/readme.md index f61c66d25e55..95abf20b05c4 100644 --- a/specification/hardwaresecuritymodules/resource-manager/readme.md +++ b/specification/hardwaresecuritymodules/resource-manager/readme.md @@ -38,7 +38,7 @@ These settings apply only when `--tag=package-2018-10` is specified on the comma ``` yaml $(tag) == 'package-2018-10' input-file: -- Microsoft.HardwareSecurityModules/DedicatedHsm/preview/2018-10-31-preview/dedicatedhsm.json +- Microsoft.HardwareSecurityModules/preview/2018-10-31-preview/dedicatedhsm.json ``` ### Tag: package-2021-11 @@ -47,7 +47,7 @@ These settings apply only when `--tag=package-2021-11` is specified on the comma ``` yaml $(tag) == 'package-2021-11' input-file: -- Microsoft.HardwareSecurityModules/DedicatedHsm/stable/2021-11-30/dedicatedhsm.json +- Microsoft.HardwareSecurityModules/stable/2021-11-30/dedicatedhsm.json ``` ### Tag: package-2022-08-preview @@ -56,8 +56,8 @@ These settings apply only when `--tag=package-2022-08-preview` is specified on t ``` yaml $(tag) == 'package-2022-08-preview' input-file: -- Microsoft.HardwareSecurityModules/CloudHsm/preview/2022-08-31-preview/cloudhsm.json -- Microsoft.HardwareSecurityModules/DedicatedHsm/stable/2021-11-30/dedicatedhsm.json +- Microsoft.HardwareSecurityModules/preview/2022-08-31-preview/cloudhsm.json +- Microsoft.HardwareSecurityModules/stable/2021-11-30/dedicatedhsm.json ``` # Code Generation From 971d71ae740a20f0a9638e055248bb4f23712415 Mon Sep 17 00:00:00 2001 From: GoradeAarti Date: Wed, 28 Sep 2022 16:30:04 -0700 Subject: [PATCH 44/69] To resolve duplicate definition errors --- .../preview/2022-08-31-preview/cloudhsm.json | 303 +++++++++++++++++- .../stable/2021-11-30/dedicatedhsm.json | 16 +- 2 files changed, 303 insertions(+), 16 deletions(-) diff --git a/specification/hardwaresecuritymodules/resource-manager/Microsoft.HardwareSecurityModules/preview/2022-08-31-preview/cloudhsm.json b/specification/hardwaresecuritymodules/resource-manager/Microsoft.HardwareSecurityModules/preview/2022-08-31-preview/cloudhsm.json index 6703236e2dc5..b2926c860bbd 100644 --- a/specification/hardwaresecuritymodules/resource-manager/Microsoft.HardwareSecurityModules/preview/2022-08-31-preview/cloudhsm.json +++ b/specification/hardwaresecuritymodules/resource-manager/Microsoft.HardwareSecurityModules/preview/2022-08-31-preview/cloudhsm.json @@ -375,7 +375,7 @@ "200": { "description": "Successfully retrieved private link resources.", "schema": { - "$ref": "../../../../../common-types/resource-management/v4/privatelinks.json#/definitions/PrivateLinkResourceListResult" + "$ref": "#/definitions/PrivateLinkResourceListResult" } }, "default": { @@ -420,7 +420,7 @@ "name": "properties", "required": true, "schema": { - "$ref": "../../../../../common-types/resource-management/v4/privatelinks.json#/definitions/PrivateEndpointConnection" + "$ref": "#/definitions/PrivateEndpointConnection" }, "description": "Parameters of the PrivateEndpointConnection" } @@ -429,7 +429,7 @@ "200": { "description": "OK -- Update the private endpoint connection properties successfully.", "schema": { - "$ref": "../../../../../common-types/resource-management/v4/privatelinks.json#/definitions/PrivateEndpointConnection" + "$ref": "#/definitions/PrivateEndpointConnection" } }, "default": { @@ -528,7 +528,7 @@ "200": { "description": "Private endpoint connection successfully returned.", "schema": { - "$ref": "../../../../../common-types/resource-management/v4/privatelinks.json#/definitions/PrivateEndpointConnection" + "$ref": "#/definitions/PrivateEndpointConnection" } }, "default": { @@ -570,7 +570,7 @@ "200": { "description": "List of all CloudHsmCluster private endpoint connections associated with the Cloud HSM Cluster.", "schema": { - "$ref": "../../../../../common-types/resource-management/v4/privatelinks.json#/definitions/PrivateEndpointConnectionListResult" + "$ref": "#/definitions/PrivateEndpointConnectionListResult" } }, "default": { @@ -632,13 +632,129 @@ }, "allOf": [ { - "$ref": "../../../../../common-types/resource-management/v3/types.json#/definitions/TrackedResource" + "$ref": "#/definitions/CHsmTrackedResource" } ], "description": "Cloud HSM Cluster Resource", "type": "object", "x-ms-azure-resource": true }, + "CHsmTrackedResource": { + "title": "Tracked Resource", + "description": "The resource model definition for an Azure Resource Manager tracked top level resource which has 'tags' and a 'location'", + "type": "object", + "properties": { + "tags": { + "type": "object", + "additionalProperties": { + "type": "string" + }, + "x-ms-mutability": [ + "read", + "create", + "update" + ], + "description": "Resource tags." + }, + "location": { + "type": "string", + "x-ms-mutability": [ + "read", + "create" + ], + "description": "The geo-location where the resource lives" + } + }, + "required": [ + "location" + ], + "allOf": [ + { + "$ref": "#/definitions/AzureResource" + } + ] + }, + "AzureResource": { + "title": "Azure Resource", + "description": "Common fields that are returned in the response for all Azure Resource Manager resources", + "type": "object", + "properties": { + "id": { + "readOnly": true, + "type": "string", + "description": "Fully qualified resource ID for the resource. Ex - /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/{resourceProviderNamespace}/{resourceType}/{resourceName}" + }, + "name": { + "readOnly": true, + "type": "string", + "description": "The name of the resource" + }, + "type": { + "readOnly": true, + "type": "string", + "description": "The type of the resource. E.g. \"Microsoft.Compute/virtualMachines\" or \"Microsoft.Storage/storageAccounts\"" + }, + "systemData": { + "readOnly": true, + "type": "object", + "description": "Azure Resource Manager metadata containing createdBy and modifiedBy information.", + "$ref": "#/definitions/AzureSystemData" + } + } + }, + "AzureSystemData": { + "description": "Metadata pertaining to creation and last modification of the resource.", + "type": "object", + "readOnly": true, + "properties": { + "createdBy": { + "type": "string", + "description": "The identity that created the resource." + }, + "createdByType": { + "type": "string", + "description": "The type of identity that created the resource.", + "enum": [ + "User", + "Application", + "ManagedIdentity", + "Key" + ], + "x-ms-enum": { + "name": "createdByType", + "modelAsString": true + } + }, + "createdAt": { + "type": "string", + "format": "date-time", + "description": "The timestamp of resource creation (UTC)." + }, + "lastModifiedBy": { + "type": "string", + "description": "The identity that last modified the resource." + }, + "lastModifiedByType": { + "type": "string", + "description": "The type of identity that last modified the resource.", + "enum": [ + "User", + "Application", + "ManagedIdentity", + "Key" + ], + "x-ms-enum": { + "name": "createdByType", + "modelAsString": true + } + }, + "lastModifiedAt": { + "type": "string", + "format": "date-time", + "description": "The timestamp of resource last modification (UTC)" + } + } + }, "CloudHsmClusterProperties": { "properties": { "provisioningState": { @@ -750,13 +866,13 @@ "CloudHsmClusterError": { "properties": { "error": { - "$ref": "#/definitions/Error" + "$ref": "#/definitions/CHsmError" } }, "description": "The Cloud HSM Cluster error details", "type": "object" }, - "Error": { + "CHsmError": { "properties": { "code": { "type": "string", @@ -845,6 +961,177 @@ "description": "The URL to get the next set of operations." } } + }, + "PrivateEndpointConnection": { + "type": "object", + "properties": { + "properties": { + "$ref": "#/definitions/PrivateEndpointConnectionProperties", + "x-ms-client-flatten": true, + "description": "Resource properties." + } + }, + "allOf": [ + { + "$ref": "#/definitions/AzureResource" + } + ], + "description": "The private endpoint connection resource.", + "x-ms-azure-resource": true + }, + "PrivateEndpointConnectionProperties": { + "type": "object", + "properties": { + "groupIds": { + "description": "The group ids for the private endpoint resource.", + "type": "array", + "items": { + "type": "string" + }, + "readOnly": true + }, + "privateEndpoint": { + "$ref": "#/definitions/PrivateEndpoint", + "description": "The private endpoint resource." + }, + "privateLinkServiceConnectionState": { + "$ref": "#/definitions/PrivateLinkServiceConnectionState", + "description": "A collection of information about the state of the connection between service consumer and provider." + }, + "provisioningState": { + "$ref": "#/definitions/PrivateEndpointConnectionProvisioningState", + "description": "The provisioning state of the private endpoint connection resource." + } + }, + "required": [ + "privateLinkServiceConnectionState" + ], + "description": "Properties of the private endpoint connection." + }, + "PrivateEndpoint": { + "type": "object", + "properties": { + "id": { + "readOnly": true, + "type": "string", + "description": "The ARM identifier for private endpoint." + } + }, + "description": "The private endpoint resource." + }, + "PrivateLinkServiceConnectionState": { + "type": "object", + "properties": { + "status": { + "$ref": "#/definitions/PrivateEndpointServiceConnectionStatus", + "description": "Indicates whether the connection has been Approved/Rejected/Removed by the owner of the service." + }, + "description": { + "type": "string", + "description": "The reason for approval/rejection of the connection." + }, + "actionsRequired": { + "type": "string", + "description": "A message indicating if changes on the service provider require any updates on the consumer." + } + }, + "description": "A collection of information about the state of the connection between service consumer and provider." + }, + "PrivateEndpointServiceConnectionStatus": { + "type": "string", + "description": "The private endpoint connection status.", + "enum": [ + "Pending", + "Approved", + "Rejected" + ], + "x-ms-enum": { + "name": "PrivateEndpointServiceConnectionStatus", + "modelAsString": true + } + }, + "PrivateEndpointConnectionProvisioningState": { + "type": "string", + "readOnly": true, + "description": "The current provisioning state.", + "enum": [ + "Succeeded", + "Creating", + "Deleting", + "Failed" + ], + "x-ms-enum": { + "name": "PrivateEndpointConnectionProvisioningState", + "modelAsString": true + } + }, + "PrivateEndpointConnectionListResult": { + "type": "object", + "properties": { + "value": { + "type": "array", + "description": "Array of private endpoint connections.", + "items": { + "$ref": "#/definitions/PrivateEndpointConnection" + } + } + }, + "description": "List of private endpoint connections associated with the specified resource." + }, + "PrivateLinkResourceListResult": { + "type": "object", + "properties": { + "value": { + "type": "array", + "description": "Array of private link resources", + "items": { + "$ref": "#/definitions/PrivateLinkResource" + } + } + }, + "description": "A list of private link resources." + }, + "PrivateLinkResource": { + "type": "object", + "properties": { + "properties": { + "$ref": "#/definitions/PrivateLinkResourceProperties", + "description": "Resource properties.", + "x-ms-client-flatten": true + } + }, + "allOf": [ + { + "$ref": "#/definitions/AzureResource" + } + ], + "description": "A private link resource." + }, + "PrivateLinkResourceProperties": { + "type": "object", + "properties": { + "groupId": { + "description": "The private link resource group id.", + "type": "string", + "readOnly": true + }, + "requiredMembers": { + "description": "The private link resource required member names.", + "type": "array", + "items": { + "type": "string" + }, + "readOnly": true + }, + "requiredZoneNames": { + "type": "array", + "items": { + "type": "string" + }, + "description": "The private link resource private link DNS zone name." + } + }, + "description": "Properties of a private link resource." } }, "parameters": { diff --git a/specification/hardwaresecuritymodules/resource-manager/Microsoft.HardwareSecurityModules/stable/2021-11-30/dedicatedhsm.json b/specification/hardwaresecuritymodules/resource-manager/Microsoft.HardwareSecurityModules/stable/2021-11-30/dedicatedhsm.json index 083512850e40..a561f2c61978 100644 --- a/specification/hardwaresecuritymodules/resource-manager/Microsoft.HardwareSecurityModules/stable/2021-11-30/dedicatedhsm.json +++ b/specification/hardwaresecuritymodules/resource-manager/Microsoft.HardwareSecurityModules/stable/2021-11-30/dedicatedhsm.json @@ -699,7 +699,7 @@ "properties": { "systemData": { "description": "Metadata pertaining to creation and last modification of the resource", - "$ref": "#/definitions/DHsmSystemData" + "$ref": "#/definitions/SystemData" }, "properties": { "x-ms-client-flatten": true, @@ -709,7 +709,7 @@ }, "allOf": [ { - "$ref": "#/definitions/DHsmResource" + "$ref": "#/definitions/Resource" } ], "required": [ @@ -755,7 +755,7 @@ "value": { "type": "array", "items": { - "$ref": "#/definitions/DHsmResource" + "$ref": "#/definitions/Resource" }, "description": "The list of dedicated HSM resources." }, @@ -772,13 +772,13 @@ "error": { "description": "The error detail of the operation if any.", "readOnly": true, - "$ref": "#/definitions/DHsmError" + "$ref": "#/definitions/Error" } }, "description": "The error exception.", "type": "object" }, - "DHsmError": { + "Error": { "properties": { "code": { "type": "string", @@ -794,13 +794,13 @@ "description": "Contains more specific error that narrows down the cause. May be null.", "x-ms-client-name": "innerError", "readOnly": true, - "$ref": "#/definitions/DHsmError" + "$ref": "#/definitions/Error" } }, "description": "The key vault server error.", "type": "object" }, - "DHsmResource": { + "Resource": { "properties": { "id": { "readOnly": true, @@ -851,7 +851,7 @@ ], "x-ms-azure-resource": true }, - "DHsmSystemData": { + "SystemData": { "description": "Metadata pertaining to creation and last modification of dedicated hsm resource.", "type": "object", "readOnly": true, From 9478ac3646d515bdbd918c4d90d032e84e0fb507 Mon Sep 17 00:00:00 2001 From: GoradeAarti Date: Wed, 28 Sep 2022 17:37:50 -0700 Subject: [PATCH 45/69] fixing Swagger Staging lintDiff error --- .../preview/2022-08-31-preview/cloudhsm.json | 2 +- .../stable/2021-11-30/dedicatedhsm.json | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/specification/hardwaresecuritymodules/resource-manager/Microsoft.HardwareSecurityModules/preview/2022-08-31-preview/cloudhsm.json b/specification/hardwaresecuritymodules/resource-manager/Microsoft.HardwareSecurityModules/preview/2022-08-31-preview/cloudhsm.json index b2926c860bbd..b49b7e2d0682 100644 --- a/specification/hardwaresecuritymodules/resource-manager/Microsoft.HardwareSecurityModules/preview/2022-08-31-preview/cloudhsm.json +++ b/specification/hardwaresecuritymodules/resource-manager/Microsoft.HardwareSecurityModules/preview/2022-08-31-preview/cloudhsm.json @@ -43,7 +43,7 @@ "description": "Create or Update a Cloud HSM Cluster in the specified subscription.", "x-ms-long-running-operation": true, "x-ms-long-running-operation-options": { - "final-state-via": "location" + "final-state-via": "azure-async-operation" }, "parameters": [ { diff --git a/specification/hardwaresecuritymodules/resource-manager/Microsoft.HardwareSecurityModules/stable/2021-11-30/dedicatedhsm.json b/specification/hardwaresecuritymodules/resource-manager/Microsoft.HardwareSecurityModules/stable/2021-11-30/dedicatedhsm.json index a561f2c61978..839598d77bf1 100644 --- a/specification/hardwaresecuritymodules/resource-manager/Microsoft.HardwareSecurityModules/stable/2021-11-30/dedicatedhsm.json +++ b/specification/hardwaresecuritymodules/resource-manager/Microsoft.HardwareSecurityModules/stable/2021-11-30/dedicatedhsm.json @@ -486,7 +486,7 @@ }, "isDataAction": { "description": "Gets or sets a value indicating whether it is a data plane action", - "type": "boolean", + "type": "string", "readOnly": true }, "display": { From 5b32ad70fc5e783c3a5f193cd627a2854b954844 Mon Sep 17 00:00:00 2001 From: Emmeleia Arakleitou Date: Fri, 28 Apr 2023 13:02:02 +0100 Subject: [PATCH 46/69] Update Cloud Hsm swagger specifications --- .../preview/2022-08-31-preview/cloudhsm.json | 49 ++++++++++++++----- ...Cluster_CreateOrUpdate_MaximumSet_Gen.json | 8 ++- .../CloudHsmCluster_Get_MaximumSet_Gen.json | 4 +- ...er_ListByResourceGroup_MaximumSet_Gen.json | 8 ++- ...ter_ListBySubscription_MaximumSet_Gen.json | 8 ++- ...CloudHsmCluster_Update_MaximumSet_Gen.json | 8 ++- 6 files changed, 65 insertions(+), 20 deletions(-) diff --git a/specification/hardwaresecuritymodules/resource-manager/Microsoft.HardwareSecurityModules/preview/2022-08-31-preview/cloudhsm.json b/specification/hardwaresecuritymodules/resource-manager/Microsoft.HardwareSecurityModules/preview/2022-08-31-preview/cloudhsm.json index b49b7e2d0682..a1db35f2fbee 100644 --- a/specification/hardwaresecuritymodules/resource-manager/Microsoft.HardwareSecurityModules/preview/2022-08-31-preview/cloudhsm.json +++ b/specification/hardwaresecuritymodules/resource-manager/Microsoft.HardwareSecurityModules/preview/2022-08-31-preview/cloudhsm.json @@ -522,6 +522,23 @@ }, { "$ref": "#/parameters/peConnectionName" + }, + { + "in": "query", + "name": "chsmOperation", + "type": "string", + "description": "Private endpoint connection operation state.", + "enum": [ + "Provisioning", + "Succeeded", + "Failed", + "Deleting", + "Canceled" + ], + "x-ms-enum": { + "name": "ProvisioningState", + "modelAsString": true + } } ], "responses": { @@ -761,9 +778,11 @@ "type": "string", "description": "The Cloud HSM Cluster's provisioningState", "enum": [ + "Provisioning", "Succeeded", - "Canceled", - "Failed" + "Failed", + "Deleting", + "Canceled" ], "x-ms-enum": { "name": "ProvisioningState", @@ -786,6 +805,20 @@ "items": { "$ref": "#/definitions/CloudHsmProperties" } + }, + "publicNetworkAccess": { + "type": "string", + "description": "The Cloud HSM Cluster public network access" + }, + "privateEndpointConnections": { + "type": "array", + "description": "List of private endpoint connection resources", + "x-ms-identifiers": [ + "name" + ], + "items": { + "$ref": "#/definitions/PrivateEndpointConnection" + } } }, "description": "Properties of a Cloud HSM Cluster.", @@ -982,14 +1015,6 @@ "PrivateEndpointConnectionProperties": { "type": "object", "properties": { - "groupIds": { - "description": "The group ids for the private endpoint resource.", - "type": "array", - "items": { - "type": "string" - }, - "readOnly": true - }, "privateEndpoint": { "$ref": "#/definitions/PrivateEndpoint", "description": "The private endpoint resource." @@ -1058,7 +1083,9 @@ "Succeeded", "Creating", "Deleting", - "Failed" + "Failed", + "Updating", + "InternalError" ], "x-ms-enum": { "name": "PrivateEndpointConnectionProvisioningState", diff --git a/specification/hardwaresecuritymodules/resource-manager/Microsoft.HardwareSecurityModules/preview/2022-08-31-preview/examples/CloudHsmCluster_CreateOrUpdate_MaximumSet_Gen.json b/specification/hardwaresecuritymodules/resource-manager/Microsoft.HardwareSecurityModules/preview/2022-08-31-preview/examples/CloudHsmCluster_CreateOrUpdate_MaximumSet_Gen.json index 8d5a17097bed..180a52314b1d 100644 --- a/specification/hardwaresecuritymodules/resource-manager/Microsoft.HardwareSecurityModules/preview/2022-08-31-preview/examples/CloudHsmCluster_CreateOrUpdate_MaximumSet_Gen.json +++ b/specification/hardwaresecuritymodules/resource-manager/Microsoft.HardwareSecurityModules/preview/2022-08-31-preview/examples/CloudHsmCluster_CreateOrUpdate_MaximumSet_Gen.json @@ -51,7 +51,9 @@ "fipsState": 2, "activationStatus": "null" }, - "hsms": null + "hsms": null, + "publicNetworkAccess": "Disabled", + "privateEndpointConnections": null } } }, @@ -84,7 +86,9 @@ "fipsState": 2, "activationStatus": "null" }, - "hsms": null + "hsms": null, + "publicNetworkAccess": "Disabled", + "privateEndpointConnections": null } } } diff --git a/specification/hardwaresecuritymodules/resource-manager/Microsoft.HardwareSecurityModules/preview/2022-08-31-preview/examples/CloudHsmCluster_Get_MaximumSet_Gen.json b/specification/hardwaresecuritymodules/resource-manager/Microsoft.HardwareSecurityModules/preview/2022-08-31-preview/examples/CloudHsmCluster_Get_MaximumSet_Gen.json index db8f97952869..ec0dd9aac5c9 100644 --- a/specification/hardwaresecuritymodules/resource-manager/Microsoft.HardwareSecurityModules/preview/2022-08-31-preview/examples/CloudHsmCluster_Get_MaximumSet_Gen.json +++ b/specification/hardwaresecuritymodules/resource-manager/Microsoft.HardwareSecurityModules/preview/2022-08-31-preview/examples/CloudHsmCluster_Get_MaximumSet_Gen.json @@ -35,7 +35,9 @@ "fipsState": 2, "activationStatus": "null" }, - "hsms": null + "hsms": null, + "publicNetworkAccess": "Disabled", + "privateEndpointConnections": null } } } diff --git a/specification/hardwaresecuritymodules/resource-manager/Microsoft.HardwareSecurityModules/preview/2022-08-31-preview/examples/CloudHsmCluster_ListByResourceGroup_MaximumSet_Gen.json b/specification/hardwaresecuritymodules/resource-manager/Microsoft.HardwareSecurityModules/preview/2022-08-31-preview/examples/CloudHsmCluster_ListByResourceGroup_MaximumSet_Gen.json index 3d02641647ea..a94808e08c6e 100644 --- a/specification/hardwaresecuritymodules/resource-manager/Microsoft.HardwareSecurityModules/preview/2022-08-31-preview/examples/CloudHsmCluster_ListByResourceGroup_MaximumSet_Gen.json +++ b/specification/hardwaresecuritymodules/resource-manager/Microsoft.HardwareSecurityModules/preview/2022-08-31-preview/examples/CloudHsmCluster_ListByResourceGroup_MaximumSet_Gen.json @@ -36,7 +36,9 @@ "fipsState": 2, "activationStatus": "null" }, - "hsms": null + "hsms": null, + "publicNetworkAccess": "Disabled", + "privateEndpointConnections": null } }, { @@ -67,7 +69,9 @@ "fipsState": 2, "activationStatus": "null" }, - "hsms": null + "hsms": null, + "publicNetworkAccess": "Disabled", + "privateEndpointConnections": null } } ], diff --git a/specification/hardwaresecuritymodules/resource-manager/Microsoft.HardwareSecurityModules/preview/2022-08-31-preview/examples/CloudHsmCluster_ListBySubscription_MaximumSet_Gen.json b/specification/hardwaresecuritymodules/resource-manager/Microsoft.HardwareSecurityModules/preview/2022-08-31-preview/examples/CloudHsmCluster_ListBySubscription_MaximumSet_Gen.json index c60641a6c7d1..3ae27454e977 100644 --- a/specification/hardwaresecuritymodules/resource-manager/Microsoft.HardwareSecurityModules/preview/2022-08-31-preview/examples/CloudHsmCluster_ListBySubscription_MaximumSet_Gen.json +++ b/specification/hardwaresecuritymodules/resource-manager/Microsoft.HardwareSecurityModules/preview/2022-08-31-preview/examples/CloudHsmCluster_ListBySubscription_MaximumSet_Gen.json @@ -35,7 +35,9 @@ "fipsState": 2, "activationStatus": "null" }, - "hsms": null + "hsms": null, + "publicNetworkAccess": "Disabled", + "privateEndpointConnections": null } }, { @@ -66,7 +68,9 @@ "fipsState": 2, "activationStatus": "null" }, - "hsms": null + "hsms": null, + "publicNetworkAccess": "Disabled", + "privateEndpointConnections": null } } ], diff --git a/specification/hardwaresecuritymodules/resource-manager/Microsoft.HardwareSecurityModules/preview/2022-08-31-preview/examples/CloudHsmCluster_Update_MaximumSet_Gen.json b/specification/hardwaresecuritymodules/resource-manager/Microsoft.HardwareSecurityModules/preview/2022-08-31-preview/examples/CloudHsmCluster_Update_MaximumSet_Gen.json index d7f3446e5e54..fc06d2becd42 100644 --- a/specification/hardwaresecuritymodules/resource-manager/Microsoft.HardwareSecurityModules/preview/2022-08-31-preview/examples/CloudHsmCluster_Update_MaximumSet_Gen.json +++ b/specification/hardwaresecuritymodules/resource-manager/Microsoft.HardwareSecurityModules/preview/2022-08-31-preview/examples/CloudHsmCluster_Update_MaximumSet_Gen.json @@ -43,7 +43,9 @@ "fipsState": 2, "activationStatus": "null" }, - "hsms": null + "hsms": null, + "publicNetworkAccess": "Disabled", + "privateEndpointConnections": null } } }, @@ -80,7 +82,9 @@ "fipsState": 2, "activationStatus": "null" }, - "hsms": null + "hsms": null, + "publicNetworkAccess": "Disabled", + "privateEndpointConnections": null } } } From 3b873a8f1e85f1bae7412ae3acd018c3b38a2c18 Mon Sep 17 00:00:00 2001 From: Emmeleia Arakleitou Date: Fri, 28 Apr 2023 13:17:56 +0100 Subject: [PATCH 47/69] update api-versions to resolve Model Validation issues --- .../2021-11-30/examples/DedicatedHsm_CreateOrUpdate.json | 2 +- .../stable/2021-11-30/examples/DedicatedHsm_Delete.json | 8 ++++++-- .../stable/2021-11-30/examples/DedicatedHsm_Get.json | 2 +- .../examples/DedicatedHsm_ListByResourceGroup.json | 2 +- .../examples/DedicatedHsm_ListBySubscription.json | 2 +- .../2021-11-30/examples/DedicatedHsm_OperationsList.json | 2 +- .../stable/2021-11-30/examples/DedicatedHsm_Update.json | 2 +- 7 files changed, 12 insertions(+), 8 deletions(-) diff --git a/specification/hardwaresecuritymodules/resource-manager/Microsoft.HardwareSecurityModules/stable/2021-11-30/examples/DedicatedHsm_CreateOrUpdate.json b/specification/hardwaresecuritymodules/resource-manager/Microsoft.HardwareSecurityModules/stable/2021-11-30/examples/DedicatedHsm_CreateOrUpdate.json index 37cbb4664d7b..c73c89cd5cdb 100644 --- a/specification/hardwaresecuritymodules/resource-manager/Microsoft.HardwareSecurityModules/stable/2021-11-30/examples/DedicatedHsm_CreateOrUpdate.json +++ b/specification/hardwaresecuritymodules/resource-manager/Microsoft.HardwareSecurityModules/stable/2021-11-30/examples/DedicatedHsm_CreateOrUpdate.json @@ -3,7 +3,7 @@ "resourceGroupName": "hsm-group", "name": "hsm1", "subscriptionId": "00000000-0000-0000-0000-000000000000", - "api-version": "2018-10-31-preview", + "api-version": "2021-11-30", "parameters": { "properties": { "networkProfile": { diff --git a/specification/hardwaresecuritymodules/resource-manager/Microsoft.HardwareSecurityModules/stable/2021-11-30/examples/DedicatedHsm_Delete.json b/specification/hardwaresecuritymodules/resource-manager/Microsoft.HardwareSecurityModules/stable/2021-11-30/examples/DedicatedHsm_Delete.json index a3b2a5432755..a1cfc53804db 100644 --- a/specification/hardwaresecuritymodules/resource-manager/Microsoft.HardwareSecurityModules/stable/2021-11-30/examples/DedicatedHsm_Delete.json +++ b/specification/hardwaresecuritymodules/resource-manager/Microsoft.HardwareSecurityModules/stable/2021-11-30/examples/DedicatedHsm_Delete.json @@ -3,11 +3,15 @@ "resourceGroupName": "hsm-group", "name": "hsm1", "subscriptionId": "00000000-0000-0000-0000-000000000000", - "api-version": "2018-10-31-preview" + "api-version": "2021-11-30" }, "responses": { "200": {}, - "202": {}, + "202": { + "headers": { + "location": "https://some.endpoint.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/rgdedicatedhsm/providers/Microsoft.HardwareSecurityModules/dedicatedHSMs/dhsm1/" + } + }, "204": {} } } diff --git a/specification/hardwaresecuritymodules/resource-manager/Microsoft.HardwareSecurityModules/stable/2021-11-30/examples/DedicatedHsm_Get.json b/specification/hardwaresecuritymodules/resource-manager/Microsoft.HardwareSecurityModules/stable/2021-11-30/examples/DedicatedHsm_Get.json index 661d042e750a..4a61b26b2a0b 100644 --- a/specification/hardwaresecuritymodules/resource-manager/Microsoft.HardwareSecurityModules/stable/2021-11-30/examples/DedicatedHsm_Get.json +++ b/specification/hardwaresecuritymodules/resource-manager/Microsoft.HardwareSecurityModules/stable/2021-11-30/examples/DedicatedHsm_Get.json @@ -3,7 +3,7 @@ "resourceGroupName": "hsm-group", "name": "hsm1", "subscriptionId": "00000000-0000-0000-0000-000000000000", - "api-version": "2018-10-31-preview" + "api-version": "2021-11-30" }, "responses": { "200": { diff --git a/specification/hardwaresecuritymodules/resource-manager/Microsoft.HardwareSecurityModules/stable/2021-11-30/examples/DedicatedHsm_ListByResourceGroup.json b/specification/hardwaresecuritymodules/resource-manager/Microsoft.HardwareSecurityModules/stable/2021-11-30/examples/DedicatedHsm_ListByResourceGroup.json index b343a4345a8a..f9c698b1fd30 100644 --- a/specification/hardwaresecuritymodules/resource-manager/Microsoft.HardwareSecurityModules/stable/2021-11-30/examples/DedicatedHsm_ListByResourceGroup.json +++ b/specification/hardwaresecuritymodules/resource-manager/Microsoft.HardwareSecurityModules/stable/2021-11-30/examples/DedicatedHsm_ListByResourceGroup.json @@ -2,7 +2,7 @@ "parameters": { "resourceGroupName": "hsm-group", "subscriptionId": "00000000-0000-0000-0000-000000000000", - "api-version": "2018-10-31-preview" + "api-version": "2021-11-30" }, "responses": { "200": { diff --git a/specification/hardwaresecuritymodules/resource-manager/Microsoft.HardwareSecurityModules/stable/2021-11-30/examples/DedicatedHsm_ListBySubscription.json b/specification/hardwaresecuritymodules/resource-manager/Microsoft.HardwareSecurityModules/stable/2021-11-30/examples/DedicatedHsm_ListBySubscription.json index d5268cb396e4..6af4d1f0ffb7 100644 --- a/specification/hardwaresecuritymodules/resource-manager/Microsoft.HardwareSecurityModules/stable/2021-11-30/examples/DedicatedHsm_ListBySubscription.json +++ b/specification/hardwaresecuritymodules/resource-manager/Microsoft.HardwareSecurityModules/stable/2021-11-30/examples/DedicatedHsm_ListBySubscription.json @@ -1,7 +1,7 @@ { "parameters": { "subscriptionId": "00000000-0000-0000-0000-000000000000", - "api-version": "2018-10-31-preview" + "api-version": "2021-11-30" }, "responses": { "200": { diff --git a/specification/hardwaresecuritymodules/resource-manager/Microsoft.HardwareSecurityModules/stable/2021-11-30/examples/DedicatedHsm_OperationsList.json b/specification/hardwaresecuritymodules/resource-manager/Microsoft.HardwareSecurityModules/stable/2021-11-30/examples/DedicatedHsm_OperationsList.json index d918ea01706b..1e5242f51be2 100644 --- a/specification/hardwaresecuritymodules/resource-manager/Microsoft.HardwareSecurityModules/stable/2021-11-30/examples/DedicatedHsm_OperationsList.json +++ b/specification/hardwaresecuritymodules/resource-manager/Microsoft.HardwareSecurityModules/stable/2021-11-30/examples/DedicatedHsm_OperationsList.json @@ -1,6 +1,6 @@ { "parameters": { - "api-version": "2018-10-31-preview" + "api-version": "2021-11-30" }, "responses": { "200": { diff --git a/specification/hardwaresecuritymodules/resource-manager/Microsoft.HardwareSecurityModules/stable/2021-11-30/examples/DedicatedHsm_Update.json b/specification/hardwaresecuritymodules/resource-manager/Microsoft.HardwareSecurityModules/stable/2021-11-30/examples/DedicatedHsm_Update.json index 18a78b7a583c..c23383ca0a84 100644 --- a/specification/hardwaresecuritymodules/resource-manager/Microsoft.HardwareSecurityModules/stable/2021-11-30/examples/DedicatedHsm_Update.json +++ b/specification/hardwaresecuritymodules/resource-manager/Microsoft.HardwareSecurityModules/stable/2021-11-30/examples/DedicatedHsm_Update.json @@ -3,7 +3,7 @@ "resourceGroupName": "hsm-group", "name": "hsm1", "subscriptionId": "00000000-0000-0000-0000-000000000000", - "api-version": "2018-10-31-preview", + "api-version": "2021-11-30", "parameters": { "tags": { "Dept": "hsm", From 3ea9666aa20f34074ceb3ca66f62cba36b60ef02 Mon Sep 17 00:00:00 2001 From: Emmeleia Arakleitou Date: Fri, 28 Apr 2023 13:28:25 +0100 Subject: [PATCH 48/69] update api version in example file --- .../examples/PaymentHsm_Get_With_2018-10-31Preview_Version.json | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/specification/hardwaresecuritymodules/resource-manager/Microsoft.HardwareSecurityModules/stable/2021-11-30/examples/PaymentHsm_Get_With_2018-10-31Preview_Version.json b/specification/hardwaresecuritymodules/resource-manager/Microsoft.HardwareSecurityModules/stable/2021-11-30/examples/PaymentHsm_Get_With_2018-10-31Preview_Version.json index f7499afe8fb9..16dee823d013 100644 --- a/specification/hardwaresecuritymodules/resource-manager/Microsoft.HardwareSecurityModules/stable/2021-11-30/examples/PaymentHsm_Get_With_2018-10-31Preview_Version.json +++ b/specification/hardwaresecuritymodules/resource-manager/Microsoft.HardwareSecurityModules/stable/2021-11-30/examples/PaymentHsm_Get_With_2018-10-31Preview_Version.json @@ -3,7 +3,7 @@ "resourceGroupName": "hsm-group", "name": "hsm1", "subscriptionId": "00000000-0000-0000-0000-000000000000", - "api-version": "2018-10-31-preview" + "api-version": "2021-11-30" }, "responses": { "200": { From 78366d1230df079c97f521d7855e102467c14b32 Mon Sep 17 00:00:00 2001 From: Emmeleia Arakleitou Date: Fri, 28 Apr 2023 13:34:30 +0100 Subject: [PATCH 49/69] added chsmOperation to custom-words.txt --- custom-words.txt | 1 + 1 file changed, 1 insertion(+) diff --git a/custom-words.txt b/custom-words.txt index 3aa14b34c845..5592ee4c6c05 100644 --- a/custom-words.txt +++ b/custom-words.txt @@ -2755,3 +2755,4 @@ logalertv1metricmeasurement resourcehealth activitylog budget +chsmOperation \ No newline at end of file From 9ecd6846135f9fb12158a09c345ddecd8b981fed Mon Sep 17 00:00:00 2001 From: Emmeleia Arakleitou Date: Tue, 2 May 2023 17:06:40 +0100 Subject: [PATCH 50/69] Removed chsmOperation, replaced CHsmTrackedResource with TrackedResource and AzureResource with ProxyResource. Removed unused definitions/ --- .../preview/2022-08-31-preview/cloudhsm.json | 205 +----------------- 1 file changed, 11 insertions(+), 194 deletions(-) diff --git a/specification/hardwaresecuritymodules/resource-manager/Microsoft.HardwareSecurityModules/preview/2022-08-31-preview/cloudhsm.json b/specification/hardwaresecuritymodules/resource-manager/Microsoft.HardwareSecurityModules/preview/2022-08-31-preview/cloudhsm.json index a1db35f2fbee..d886d42635df 100644 --- a/specification/hardwaresecuritymodules/resource-manager/Microsoft.HardwareSecurityModules/preview/2022-08-31-preview/cloudhsm.json +++ b/specification/hardwaresecuritymodules/resource-manager/Microsoft.HardwareSecurityModules/preview/2022-08-31-preview/cloudhsm.json @@ -43,7 +43,7 @@ "description": "Create or Update a Cloud HSM Cluster in the specified subscription.", "x-ms-long-running-operation": true, "x-ms-long-running-operation-options": { - "final-state-via": "azure-async-operation" + "final-state-via": "original-uri" }, "parameters": [ { @@ -522,23 +522,6 @@ }, { "$ref": "#/parameters/peConnectionName" - }, - { - "in": "query", - "name": "chsmOperation", - "type": "string", - "description": "Private endpoint connection operation state.", - "enum": [ - "Provisioning", - "Succeeded", - "Failed", - "Deleting", - "Canceled" - ], - "x-ms-enum": { - "name": "ProvisioningState", - "modelAsString": true - } } ], "responses": { @@ -597,6 +580,9 @@ } } }, + "x-ms-pageable": { + "nextLinkName": "nextLink" + }, "x-ms-examples": { "CloudHsmClusterPrivateEndpointConnection_ListByResource_MaximumSet_Gen": { "$ref": "./examples/CloudHsmClusterPrivateEndpointConnection_ListByCloudHsmCluster_MaximumSet_Gen.json" @@ -649,129 +635,13 @@ }, "allOf": [ { - "$ref": "#/definitions/CHsmTrackedResource" + "$ref": "../../../../../common-types/resource-management/v5/types.json#/definitions/TrackedResource" } ], "description": "Cloud HSM Cluster Resource", "type": "object", "x-ms-azure-resource": true }, - "CHsmTrackedResource": { - "title": "Tracked Resource", - "description": "The resource model definition for an Azure Resource Manager tracked top level resource which has 'tags' and a 'location'", - "type": "object", - "properties": { - "tags": { - "type": "object", - "additionalProperties": { - "type": "string" - }, - "x-ms-mutability": [ - "read", - "create", - "update" - ], - "description": "Resource tags." - }, - "location": { - "type": "string", - "x-ms-mutability": [ - "read", - "create" - ], - "description": "The geo-location where the resource lives" - } - }, - "required": [ - "location" - ], - "allOf": [ - { - "$ref": "#/definitions/AzureResource" - } - ] - }, - "AzureResource": { - "title": "Azure Resource", - "description": "Common fields that are returned in the response for all Azure Resource Manager resources", - "type": "object", - "properties": { - "id": { - "readOnly": true, - "type": "string", - "description": "Fully qualified resource ID for the resource. Ex - /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/{resourceProviderNamespace}/{resourceType}/{resourceName}" - }, - "name": { - "readOnly": true, - "type": "string", - "description": "The name of the resource" - }, - "type": { - "readOnly": true, - "type": "string", - "description": "The type of the resource. E.g. \"Microsoft.Compute/virtualMachines\" or \"Microsoft.Storage/storageAccounts\"" - }, - "systemData": { - "readOnly": true, - "type": "object", - "description": "Azure Resource Manager metadata containing createdBy and modifiedBy information.", - "$ref": "#/definitions/AzureSystemData" - } - } - }, - "AzureSystemData": { - "description": "Metadata pertaining to creation and last modification of the resource.", - "type": "object", - "readOnly": true, - "properties": { - "createdBy": { - "type": "string", - "description": "The identity that created the resource." - }, - "createdByType": { - "type": "string", - "description": "The type of identity that created the resource.", - "enum": [ - "User", - "Application", - "ManagedIdentity", - "Key" - ], - "x-ms-enum": { - "name": "createdByType", - "modelAsString": true - } - }, - "createdAt": { - "type": "string", - "format": "date-time", - "description": "The timestamp of resource creation (UTC)." - }, - "lastModifiedBy": { - "type": "string", - "description": "The identity that last modified the resource." - }, - "lastModifiedByType": { - "type": "string", - "description": "The type of identity that last modified the resource.", - "enum": [ - "User", - "Application", - "ManagedIdentity", - "Key" - ], - "x-ms-enum": { - "name": "createdByType", - "modelAsString": true - } - }, - "lastModifiedAt": { - "type": "string", - "format": "date-time", - "description": "The timestamp of resource last modification (UTC)" - } - } - }, "CloudHsmClusterProperties": { "properties": { "provisioningState": { @@ -938,63 +808,6 @@ "description": "List of Cloud HSM Clusters", "type": "object" }, - "CloudHsmClusterOperation": { - "description": "REST API operation", - "type": "object", - "properties": { - "name": { - "description": "The name of the Cloud HSM Cluster Resource Provider Operation.", - "type": "string" - }, - "isDataAction": { - "description": "Gets or sets a value indicating whether it is a data plane action", - "type": "boolean", - "readOnly": true - }, - "display": { - "properties": { - "provider": { - "description": "The Resource Provider of the operation", - "type": "string" - }, - "resource": { - "description": "Resource on which the operation is performed.", - "type": "string" - }, - "operation": { - "description": "Operation type: Read, write, delete, etc.", - "type": "string" - }, - "description": { - "description": "The object that represents the operation.", - "type": "string" - } - }, - "description": "The display string.", - "type": "object" - } - } - }, - "CloudHsmClusterOperationListResult": { - "type": "object", - "description": "Result of the request to list Cloud HSM Cluster Provider operations. It contains a list of operations.", - "properties": { - "value": { - "type": "array", - "items": { - "$ref": "#/definitions/CloudHsmClusterOperation" - }, - "x-ms-identifiers": [ - "name" - ], - "description": "List of Cloud HSM Cluster Resource Provider operations." - }, - "nextLink": { - "type": "string", - "description": "The URL to get the next set of operations." - } - } - }, "PrivateEndpointConnection": { "type": "object", "properties": { @@ -1006,7 +819,7 @@ }, "allOf": [ { - "$ref": "#/definitions/AzureResource" + "$ref": "../../../../../common-types/resource-management/v5/types.json#/definitions/ProxyResource" } ], "description": "The private endpoint connection resource.", @@ -1101,6 +914,10 @@ "items": { "$ref": "#/definitions/PrivateEndpointConnection" } + }, + "nextLink": { + "type": "string", + "description": "The URL to get the next set of private endpoint connections." } }, "description": "List of private endpoint connections associated with the specified resource." @@ -1129,7 +946,7 @@ }, "allOf": [ { - "$ref": "#/definitions/AzureResource" + "$ref": "../../../../../common-types/resource-management/v5/types.json#/definitions/ProxyResource" } ], "description": "A private link resource." From 4dff632be7e52f6782de852a76ace06fb176c236 Mon Sep 17 00:00:00 2001 From: Emmeleia Arakleitou Date: Tue, 2 May 2023 18:28:12 +0100 Subject: [PATCH 51/69] Set final-state-via to CreateOperationAsyncResponseValidation and added x-ms-pageable to resolve LintDiff validation issue --- .../preview/2022-08-31-preview/cloudhsm.json | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) diff --git a/specification/hardwaresecuritymodules/resource-manager/Microsoft.HardwareSecurityModules/preview/2022-08-31-preview/cloudhsm.json b/specification/hardwaresecuritymodules/resource-manager/Microsoft.HardwareSecurityModules/preview/2022-08-31-preview/cloudhsm.json index d886d42635df..b28f885e7e5c 100644 --- a/specification/hardwaresecuritymodules/resource-manager/Microsoft.HardwareSecurityModules/preview/2022-08-31-preview/cloudhsm.json +++ b/specification/hardwaresecuritymodules/resource-manager/Microsoft.HardwareSecurityModules/preview/2022-08-31-preview/cloudhsm.json @@ -43,7 +43,7 @@ "description": "Create or Update a Cloud HSM Cluster in the specified subscription.", "x-ms-long-running-operation": true, "x-ms-long-running-operation-options": { - "final-state-via": "original-uri" + "final-state-via": "azure-async-operation" }, "parameters": [ { @@ -385,6 +385,9 @@ } } }, + "x-ms-pageable": { + "nextLinkName": "nextLink" + }, "x-ms-examples": { "CloudHsmClusterPrivateLinkResources_ListByResource_MaximumSet_Gen": { "$ref": "./examples/CloudHsmClusterPrivateLinkResource_ListByCloudHsmCluster_MaximumSet_Gen.json" From 847ee024b0d7707bdd9cf9afb24d78c91254e9a1 Mon Sep 17 00:00:00 2001 From: Emmeleia Arakleitou Date: Tue, 2 May 2023 18:47:36 +0100 Subject: [PATCH 52/69] fix lintdiff issue --- .../preview/2022-08-31-preview/cloudhsm.json | 3 --- 1 file changed, 3 deletions(-) diff --git a/specification/hardwaresecuritymodules/resource-manager/Microsoft.HardwareSecurityModules/preview/2022-08-31-preview/cloudhsm.json b/specification/hardwaresecuritymodules/resource-manager/Microsoft.HardwareSecurityModules/preview/2022-08-31-preview/cloudhsm.json index b28f885e7e5c..e6b3bfc66410 100644 --- a/specification/hardwaresecuritymodules/resource-manager/Microsoft.HardwareSecurityModules/preview/2022-08-31-preview/cloudhsm.json +++ b/specification/hardwaresecuritymodules/resource-manager/Microsoft.HardwareSecurityModules/preview/2022-08-31-preview/cloudhsm.json @@ -385,9 +385,6 @@ } } }, - "x-ms-pageable": { - "nextLinkName": "nextLink" - }, "x-ms-examples": { "CloudHsmClusterPrivateLinkResources_ListByResource_MaximumSet_Gen": { "$ref": "./examples/CloudHsmClusterPrivateLinkResource_ListByCloudHsmCluster_MaximumSet_Gen.json" From bd060ce896ced84dd97554918fdca6857ca5ae31 Mon Sep 17 00:00:00 2001 From: Emmeleia Arakleitou Date: Wed, 3 May 2023 14:22:30 +0100 Subject: [PATCH 53/69] update final-state-via for put operation to Original-Uri --- .../preview/2022-08-31-preview/cloudhsm.json | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/specification/hardwaresecuritymodules/resource-manager/Microsoft.HardwareSecurityModules/preview/2022-08-31-preview/cloudhsm.json b/specification/hardwaresecuritymodules/resource-manager/Microsoft.HardwareSecurityModules/preview/2022-08-31-preview/cloudhsm.json index e6b3bfc66410..d886d42635df 100644 --- a/specification/hardwaresecuritymodules/resource-manager/Microsoft.HardwareSecurityModules/preview/2022-08-31-preview/cloudhsm.json +++ b/specification/hardwaresecuritymodules/resource-manager/Microsoft.HardwareSecurityModules/preview/2022-08-31-preview/cloudhsm.json @@ -43,7 +43,7 @@ "description": "Create or Update a Cloud HSM Cluster in the specified subscription.", "x-ms-long-running-operation": true, "x-ms-long-running-operation-options": { - "final-state-via": "azure-async-operation" + "final-state-via": "original-uri" }, "parameters": [ { From c8da299dade30d83b79b4db4546d07352f0f2879 Mon Sep 17 00:00:00 2001 From: Emmeleia Arakleitou Date: Wed, 10 May 2023 13:48:04 +0100 Subject: [PATCH 54/69] Replaced ProxyResource with TrackedResource in PrivateEndPointConnection because location and tags are also needed. --- .../preview/2022-08-31-preview/cloudhsm.json | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/specification/hardwaresecuritymodules/resource-manager/Microsoft.HardwareSecurityModules/preview/2022-08-31-preview/cloudhsm.json b/specification/hardwaresecuritymodules/resource-manager/Microsoft.HardwareSecurityModules/preview/2022-08-31-preview/cloudhsm.json index d886d42635df..26336dcea0d4 100644 --- a/specification/hardwaresecuritymodules/resource-manager/Microsoft.HardwareSecurityModules/preview/2022-08-31-preview/cloudhsm.json +++ b/specification/hardwaresecuritymodules/resource-manager/Microsoft.HardwareSecurityModules/preview/2022-08-31-preview/cloudhsm.json @@ -819,7 +819,7 @@ }, "allOf": [ { - "$ref": "../../../../../common-types/resource-management/v5/types.json#/definitions/ProxyResource" + "$ref": "../../../../../common-types/resource-management/v5/types.json#/definitions/TrackedResource" } ], "description": "The private endpoint connection resource.", From 29230eb31542badd0d9ebc6801919c6ffb89969f Mon Sep 17 00:00:00 2001 From: Emmeleia Arakleitou Date: Wed, 10 May 2023 14:41:31 +0100 Subject: [PATCH 55/69] Reverted previouse commit to resolve LintDiff issue and included location and etags to PrivateEndpointConnetion. --- .../preview/2022-08-31-preview/cloudhsm.json | 15 ++++++++++++++- 1 file changed, 14 insertions(+), 1 deletion(-) diff --git a/specification/hardwaresecuritymodules/resource-manager/Microsoft.HardwareSecurityModules/preview/2022-08-31-preview/cloudhsm.json b/specification/hardwaresecuritymodules/resource-manager/Microsoft.HardwareSecurityModules/preview/2022-08-31-preview/cloudhsm.json index 26336dcea0d4..99eea45d94a1 100644 --- a/specification/hardwaresecuritymodules/resource-manager/Microsoft.HardwareSecurityModules/preview/2022-08-31-preview/cloudhsm.json +++ b/specification/hardwaresecuritymodules/resource-manager/Microsoft.HardwareSecurityModules/preview/2022-08-31-preview/cloudhsm.json @@ -815,11 +815,24 @@ "$ref": "#/definitions/PrivateEndpointConnectionProperties", "x-ms-client-flatten": true, "description": "Resource properties." + }, + "location": { + "readOnly": true, + "type": "string", + "description": "The geo-location where the resource lives" + }, + "etag": { + "readOnly": true, + "type": "object", + "additionalProperties": { + "type": "string" + }, + "description": "Resource tags." } }, "allOf": [ { - "$ref": "../../../../../common-types/resource-management/v5/types.json#/definitions/TrackedResource" + "$ref": "../../../../../common-types/resource-management/v5/types.json#/definitions/ProxyResource" } ], "description": "The private endpoint connection resource.", From fdf8fae364b799fa0a97fef9ea0d6b0bccf32b58 Mon Sep 17 00:00:00 2001 From: Emmeleia Arakleitou Date: Wed, 10 May 2023 14:52:55 +0100 Subject: [PATCH 56/69] removed white space to resolve Prettier check issue --- .../preview/2022-08-31-preview/cloudhsm.json | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/specification/hardwaresecuritymodules/resource-manager/Microsoft.HardwareSecurityModules/preview/2022-08-31-preview/cloudhsm.json b/specification/hardwaresecuritymodules/resource-manager/Microsoft.HardwareSecurityModules/preview/2022-08-31-preview/cloudhsm.json index 99eea45d94a1..17b1be76f9a1 100644 --- a/specification/hardwaresecuritymodules/resource-manager/Microsoft.HardwareSecurityModules/preview/2022-08-31-preview/cloudhsm.json +++ b/specification/hardwaresecuritymodules/resource-manager/Microsoft.HardwareSecurityModules/preview/2022-08-31-preview/cloudhsm.json @@ -817,7 +817,7 @@ "description": "Resource properties." }, "location": { - "readOnly": true, + "readOnly": true, "type": "string", "description": "The geo-location where the resource lives" }, From c332c43365e8bcfe656637ff230e462402afaed3 Mon Sep 17 00:00:00 2001 From: Emmeleia Arakleitou Date: Wed, 10 May 2023 16:27:32 +0100 Subject: [PATCH 57/69] updated etag description --- .../preview/2022-08-31-preview/cloudhsm.json | 8 ++------ 1 file changed, 2 insertions(+), 6 deletions(-) diff --git a/specification/hardwaresecuritymodules/resource-manager/Microsoft.HardwareSecurityModules/preview/2022-08-31-preview/cloudhsm.json b/specification/hardwaresecuritymodules/resource-manager/Microsoft.HardwareSecurityModules/preview/2022-08-31-preview/cloudhsm.json index 17b1be76f9a1..5697aa5aa665 100644 --- a/specification/hardwaresecuritymodules/resource-manager/Microsoft.HardwareSecurityModules/preview/2022-08-31-preview/cloudhsm.json +++ b/specification/hardwaresecuritymodules/resource-manager/Microsoft.HardwareSecurityModules/preview/2022-08-31-preview/cloudhsm.json @@ -822,12 +822,8 @@ "description": "The geo-location where the resource lives" }, "etag": { - "readOnly": true, - "type": "object", - "additionalProperties": { - "type": "string" - }, - "description": "Resource tags." + "type": "string", + "description": "Modified whenever there is a change in the state of private endpoint connection." } }, "allOf": [ From ecb1a1f04cc3ce13a31627a9ac588bb8bfbcfe0a Mon Sep 17 00:00:00 2001 From: Emmeleia Arakleitou Date: Mon, 15 May 2023 12:31:37 +0100 Subject: [PATCH 58/69] Updated skiptoken type from integer to string based on code update. --- .../preview/2022-08-31-preview/cloudhsm.json | 12 ++++++------ 1 file changed, 6 insertions(+), 6 deletions(-) diff --git a/specification/hardwaresecuritymodules/resource-manager/Microsoft.HardwareSecurityModules/preview/2022-08-31-preview/cloudhsm.json b/specification/hardwaresecuritymodules/resource-manager/Microsoft.HardwareSecurityModules/preview/2022-08-31-preview/cloudhsm.json index 5697aa5aa665..bbb04e63228c 100644 --- a/specification/hardwaresecuritymodules/resource-manager/Microsoft.HardwareSecurityModules/preview/2022-08-31-preview/cloudhsm.json +++ b/specification/hardwaresecuritymodules/resource-manager/Microsoft.HardwareSecurityModules/preview/2022-08-31-preview/cloudhsm.json @@ -272,9 +272,9 @@ { "in": "query", "name": "$skiptoken", - "type": "integer", - "format": "int32", - "description": "Maximum number of results to return." + "type": "string", + "required": "false", + "description": "The page-continuation token to use with a paged version of this API" }, { "$ref": "../../../../../common-types/resource-management/v3/types.json#/parameters/ApiVersionParameter" @@ -318,9 +318,9 @@ { "in": "query", "name": "$skiptoken", - "type": "integer", - "format": "int32", - "description": "Maximum number of results to return." + "type": "string", + "required": "false", + "description": "The page-continuation token to use with a paged version of this API" }, { "$ref": "../../../../../common-types/resource-management/v3/types.json#/parameters/ApiVersionParameter" From b0d573bc1828cd18fe43910562c2b10a58038211 Mon Sep 17 00:00:00 2001 From: Emmeleia Arakleitou Date: Mon, 15 May 2023 16:07:01 +0100 Subject: [PATCH 59/69] Fix required value for skiptoken --- .../preview/2022-08-31-preview/cloudhsm.json | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/specification/hardwaresecuritymodules/resource-manager/Microsoft.HardwareSecurityModules/preview/2022-08-31-preview/cloudhsm.json b/specification/hardwaresecuritymodules/resource-manager/Microsoft.HardwareSecurityModules/preview/2022-08-31-preview/cloudhsm.json index bbb04e63228c..21ce7b0716f6 100644 --- a/specification/hardwaresecuritymodules/resource-manager/Microsoft.HardwareSecurityModules/preview/2022-08-31-preview/cloudhsm.json +++ b/specification/hardwaresecuritymodules/resource-manager/Microsoft.HardwareSecurityModules/preview/2022-08-31-preview/cloudhsm.json @@ -273,7 +273,7 @@ "in": "query", "name": "$skiptoken", "type": "string", - "required": "false", + "required": false, "description": "The page-continuation token to use with a paged version of this API" }, { @@ -319,7 +319,7 @@ "in": "query", "name": "$skiptoken", "type": "string", - "required": "false", + "required": false, "description": "The page-continuation token to use with a paged version of this API" }, { From f17622142ed49888ecd4ed50eab2a3ad4868eda2 Mon Sep 17 00:00:00 2001 From: Emmeleia Arakleitou Date: Mon, 15 May 2023 16:30:58 +0100 Subject: [PATCH 60/69] make update for LintDiff issue - PutResponseSchemaDescription --- .../preview/2022-08-31-preview/cloudhsm.json | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/specification/hardwaresecuritymodules/resource-manager/Microsoft.HardwareSecurityModules/preview/2022-08-31-preview/cloudhsm.json b/specification/hardwaresecuritymodules/resource-manager/Microsoft.HardwareSecurityModules/preview/2022-08-31-preview/cloudhsm.json index 21ce7b0716f6..e60544cd8617 100644 --- a/specification/hardwaresecuritymodules/resource-manager/Microsoft.HardwareSecurityModules/preview/2022-08-31-preview/cloudhsm.json +++ b/specification/hardwaresecuritymodules/resource-manager/Microsoft.HardwareSecurityModules/preview/2022-08-31-preview/cloudhsm.json @@ -71,13 +71,13 @@ ], "responses": { "200": { - "description": "Created Cloud HSM Cluster", + "description": "Created or Update Cloud HSM Cluster", "schema": { "$ref": "#/definitions/CloudHsmCluster" } }, "201": { - "description": "Created Cloud HSM Cluster", + "description": "Created or Update Cloud HSM Cluster", "schema": { "$ref": "#/definitions/CloudHsmCluster" } From 5f90c2355b426be54b2e2c85a7704c8e29505345 Mon Sep 17 00:00:00 2001 From: Emmeleia Arakleitou Date: Mon, 15 May 2023 16:46:58 +0100 Subject: [PATCH 61/69] make update for LintDiff issue - PutResponseSchemaDescription --- .../preview/2022-08-31-preview/cloudhsm.json | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/specification/hardwaresecuritymodules/resource-manager/Microsoft.HardwareSecurityModules/preview/2022-08-31-preview/cloudhsm.json b/specification/hardwaresecuritymodules/resource-manager/Microsoft.HardwareSecurityModules/preview/2022-08-31-preview/cloudhsm.json index e60544cd8617..3d34549a1e8b 100644 --- a/specification/hardwaresecuritymodules/resource-manager/Microsoft.HardwareSecurityModules/preview/2022-08-31-preview/cloudhsm.json +++ b/specification/hardwaresecuritymodules/resource-manager/Microsoft.HardwareSecurityModules/preview/2022-08-31-preview/cloudhsm.json @@ -427,7 +427,7 @@ ], "responses": { "200": { - "description": "OK -- Update the private endpoint connection properties successfully.", + "description": "OK -- Create or Update the private endpoint connection properties successfully.", "schema": { "$ref": "#/definitions/PrivateEndpointConnection" } From add96393ba0ea1ba6763fee665517ab3c9c20991 Mon Sep 17 00:00:00 2001 From: Emmeleia Arakleitou Date: Mon, 22 May 2023 11:07:40 +0100 Subject: [PATCH 62/69] Removed location and added groupIds from PrivateEndpointConnection definition in line with NRP Documentation --- .../preview/2022-08-31-preview/cloudhsm.json | 13 ++++++++----- 1 file changed, 8 insertions(+), 5 deletions(-) diff --git a/specification/hardwaresecuritymodules/resource-manager/Microsoft.HardwareSecurityModules/preview/2022-08-31-preview/cloudhsm.json b/specification/hardwaresecuritymodules/resource-manager/Microsoft.HardwareSecurityModules/preview/2022-08-31-preview/cloudhsm.json index 3d34549a1e8b..273d03dcede3 100644 --- a/specification/hardwaresecuritymodules/resource-manager/Microsoft.HardwareSecurityModules/preview/2022-08-31-preview/cloudhsm.json +++ b/specification/hardwaresecuritymodules/resource-manager/Microsoft.HardwareSecurityModules/preview/2022-08-31-preview/cloudhsm.json @@ -816,11 +816,6 @@ "x-ms-client-flatten": true, "description": "Resource properties." }, - "location": { - "readOnly": true, - "type": "string", - "description": "The geo-location where the resource lives" - }, "etag": { "type": "string", "description": "Modified whenever there is a change in the state of private endpoint connection." @@ -848,6 +843,14 @@ "provisioningState": { "$ref": "#/definitions/PrivateEndpointConnectionProvisioningState", "description": "The provisioning state of the private endpoint connection resource." + }, + "groupIds": { + "description": "The group ids for the private endpoint resource.", + "type": "array", + "items": { + "type": "string" + }, + "readOnly": true } }, "required": [ From d02855dd4813d62ffdcaac3ff05cad22aad633b8 Mon Sep 17 00:00:00 2001 From: Emmeleia Arakleitou Date: Thu, 25 May 2023 14:05:50 +0100 Subject: [PATCH 63/69] update swagger to reflect ARM feedback --- .../preview/2022-08-31-preview/cloudhsm.json | 106 +----------------- ...CloudHsmCluster_Update_MaximumSet_Gen.json | 34 ------ .../resource-manager/readme.go.md | 2 +- 3 files changed, 4 insertions(+), 138 deletions(-) diff --git a/specification/hardwaresecuritymodules/resource-manager/Microsoft.HardwareSecurityModules/preview/2022-08-31-preview/cloudhsm.json b/specification/hardwaresecuritymodules/resource-manager/Microsoft.HardwareSecurityModules/preview/2022-08-31-preview/cloudhsm.json index 273d03dcede3..9ce06a59fa96 100644 --- a/specification/hardwaresecuritymodules/resource-manager/Microsoft.HardwareSecurityModules/preview/2022-08-31-preview/cloudhsm.json +++ b/specification/hardwaresecuritymodules/resource-manager/Microsoft.HardwareSecurityModules/preview/2022-08-31-preview/cloudhsm.json @@ -143,9 +143,6 @@ "description": "The URI to poll for completion status.", "type": "string" } - }, - "schema": { - "$ref": "#/definitions/CloudHsmCluster" } }, "default": { @@ -375,7 +372,7 @@ "200": { "description": "Successfully retrieved private link resources.", "schema": { - "$ref": "#/definitions/PrivateLinkResourceListResult" + "$ref": "../../../../../common-types/resource-management/v4/privatelinks.json#/definitions/PrivateLinkResourceListResult" } }, "default": { @@ -833,11 +830,11 @@ "type": "object", "properties": { "privateEndpoint": { - "$ref": "#/definitions/PrivateEndpoint", + "$ref": "../../../../../common-types/resource-management/v4/privatelinks.json#/definitions/PrivateEndpoint", "description": "The private endpoint resource." }, "privateLinkServiceConnectionState": { - "$ref": "#/definitions/PrivateLinkServiceConnectionState", + "$ref": "../../../../../common-types/resource-management/v4/privatelinks.json#/definitions/PrivateLinkServiceConnectionState", "description": "A collection of information about the state of the connection between service consumer and provider." }, "provisioningState": { @@ -858,48 +855,6 @@ ], "description": "Properties of the private endpoint connection." }, - "PrivateEndpoint": { - "type": "object", - "properties": { - "id": { - "readOnly": true, - "type": "string", - "description": "The ARM identifier for private endpoint." - } - }, - "description": "The private endpoint resource." - }, - "PrivateLinkServiceConnectionState": { - "type": "object", - "properties": { - "status": { - "$ref": "#/definitions/PrivateEndpointServiceConnectionStatus", - "description": "Indicates whether the connection has been Approved/Rejected/Removed by the owner of the service." - }, - "description": { - "type": "string", - "description": "The reason for approval/rejection of the connection." - }, - "actionsRequired": { - "type": "string", - "description": "A message indicating if changes on the service provider require any updates on the consumer." - } - }, - "description": "A collection of information about the state of the connection between service consumer and provider." - }, - "PrivateEndpointServiceConnectionStatus": { - "type": "string", - "description": "The private endpoint connection status.", - "enum": [ - "Pending", - "Approved", - "Rejected" - ], - "x-ms-enum": { - "name": "PrivateEndpointServiceConnectionStatus", - "modelAsString": true - } - }, "PrivateEndpointConnectionProvisioningState": { "type": "string", "readOnly": true, @@ -933,61 +888,6 @@ } }, "description": "List of private endpoint connections associated with the specified resource." - }, - "PrivateLinkResourceListResult": { - "type": "object", - "properties": { - "value": { - "type": "array", - "description": "Array of private link resources", - "items": { - "$ref": "#/definitions/PrivateLinkResource" - } - } - }, - "description": "A list of private link resources." - }, - "PrivateLinkResource": { - "type": "object", - "properties": { - "properties": { - "$ref": "#/definitions/PrivateLinkResourceProperties", - "description": "Resource properties.", - "x-ms-client-flatten": true - } - }, - "allOf": [ - { - "$ref": "../../../../../common-types/resource-management/v5/types.json#/definitions/ProxyResource" - } - ], - "description": "A private link resource." - }, - "PrivateLinkResourceProperties": { - "type": "object", - "properties": { - "groupId": { - "description": "The private link resource group id.", - "type": "string", - "readOnly": true - }, - "requiredMembers": { - "description": "The private link resource required member names.", - "type": "array", - "items": { - "type": "string" - }, - "readOnly": true - }, - "requiredZoneNames": { - "type": "array", - "items": { - "type": "string" - }, - "description": "The private link resource private link DNS zone name." - } - }, - "description": "Properties of a private link resource." } }, "parameters": { diff --git a/specification/hardwaresecuritymodules/resource-manager/Microsoft.HardwareSecurityModules/preview/2022-08-31-preview/examples/CloudHsmCluster_Update_MaximumSet_Gen.json b/specification/hardwaresecuritymodules/resource-manager/Microsoft.HardwareSecurityModules/preview/2022-08-31-preview/examples/CloudHsmCluster_Update_MaximumSet_Gen.json index fc06d2becd42..d766552159d3 100644 --- a/specification/hardwaresecuritymodules/resource-manager/Microsoft.HardwareSecurityModules/preview/2022-08-31-preview/examples/CloudHsmCluster_Update_MaximumSet_Gen.json +++ b/specification/hardwaresecuritymodules/resource-manager/Microsoft.HardwareSecurityModules/preview/2022-08-31-preview/examples/CloudHsmCluster_Update_MaximumSet_Gen.json @@ -52,40 +52,6 @@ "202": { "headers": { "Location": "https://some.endpoint.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/rgcloudhsm/providers/Microsoft.HardwareSecurityModules/cloudHsmClusters/chsm1?api-version=2022-07-01&kv-operation=abJjb2RkIjoiAGVsZXRlTWFuYWdlZEhzbUFzeW5jYm9" - }, - "body": { - "name": "chsm1", - "location": "eastus2", - "id": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/rgcloudhsm/providers/Microsoft.HardwareSecurityModules/cloudHsmClusters/chsm1", - "sku": { - "family": "B", - "name": "Standard_B1" - }, - "tags": { - "Dept": "hsm", - "Environment": "dogfood", - "Slice": "A" - }, - "type": "Microsoft.HardwareSecurityModules/cloudHsmClusters", - "systemData": { - "createdBy": "CHsmUser1", - "createdByType": "User", - "createdAt": "2022-09-12T12:00:00.0000000Z", - "lastModifiedBy": "CHsmUser2", - "lastModifiedByType": "User", - "lastModifiedAt": "2022-09-12T12:00:00.0000000Z" - }, - "properties": { - "provisioningState": "Succeeded", - "autoGeneratedDomainNameLabelScope": "TenantReuse", - "securityDomain": { - "fipsState": 2, - "activationStatus": "null" - }, - "hsms": null, - "publicNetworkAccess": "Disabled", - "privateEndpointConnections": null - } } } } diff --git a/specification/hardwaresecuritymodules/resource-manager/readme.go.md b/specification/hardwaresecuritymodules/resource-manager/readme.go.md index eb5c64901fdd..69802444eacb 100644 --- a/specification/hardwaresecuritymodules/resource-manager/readme.go.md +++ b/specification/hardwaresecuritymodules/resource-manager/readme.go.md @@ -21,9 +21,9 @@ azure-arm: true ```yaml $(go) && $(multiapi) batch: + - tag: package-2022-08-preview - tag: package-2021-11 - tag: package-2018-10 - - tag: package-2022-08-preview ``` ### Tag: package-2021-11 and go From c8138a177a9508873fff318fe8163f13239b79d4 Mon Sep 17 00:00:00 2001 From: Emmeleia Arakleitou Date: Thu, 25 May 2023 16:16:01 +0100 Subject: [PATCH 64/69] Added Canceled state to PrivateEndpointConnectionProvisioningState enum as per ARM review request --- .../preview/2022-08-31-preview/cloudhsm.json | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/specification/hardwaresecuritymodules/resource-manager/Microsoft.HardwareSecurityModules/preview/2022-08-31-preview/cloudhsm.json b/specification/hardwaresecuritymodules/resource-manager/Microsoft.HardwareSecurityModules/preview/2022-08-31-preview/cloudhsm.json index 9ce06a59fa96..cfd1c047e36e 100644 --- a/specification/hardwaresecuritymodules/resource-manager/Microsoft.HardwareSecurityModules/preview/2022-08-31-preview/cloudhsm.json +++ b/specification/hardwaresecuritymodules/resource-manager/Microsoft.HardwareSecurityModules/preview/2022-08-31-preview/cloudhsm.json @@ -865,7 +865,8 @@ "Deleting", "Failed", "Updating", - "InternalError" + "InternalError", + "Canceled" ], "x-ms-enum": { "name": "PrivateEndpointConnectionProvisioningState", From c7d249f43b6cb42b01a943b4573d032d0b5d594c Mon Sep 17 00:00:00 2001 From: Emmeleia Arakleitou Date: Tue, 13 Jun 2023 10:01:13 +0100 Subject: [PATCH 65/69] Renamed "Resource" Definition in Dedicated hsm swagger file to resolve azure-sdk-for-go error caused by duplicate schema. "CloudHsmClusterResource" indirectly references the common-type"Resource" and this conflicts with "Resource" definition in dedicatedhsm swagger. --- .../stable/2021-11-30/dedicatedhsm.json | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/specification/hardwaresecuritymodules/resource-manager/Microsoft.HardwareSecurityModules/stable/2021-11-30/dedicatedhsm.json b/specification/hardwaresecuritymodules/resource-manager/Microsoft.HardwareSecurityModules/stable/2021-11-30/dedicatedhsm.json index a561f2c61978..1e5b948afbe5 100644 --- a/specification/hardwaresecuritymodules/resource-manager/Microsoft.HardwareSecurityModules/stable/2021-11-30/dedicatedhsm.json +++ b/specification/hardwaresecuritymodules/resource-manager/Microsoft.HardwareSecurityModules/stable/2021-11-30/dedicatedhsm.json @@ -709,7 +709,7 @@ }, "allOf": [ { - "$ref": "#/definitions/Resource" + "$ref": "#/definitions/DedicatedHsmResource" } ], "required": [ @@ -755,7 +755,7 @@ "value": { "type": "array", "items": { - "$ref": "#/definitions/Resource" + "$ref": "#/definitions/DedicatedHsmResource" }, "description": "The list of dedicated HSM resources." }, @@ -800,7 +800,7 @@ "description": "The key vault server error.", "type": "object" }, - "Resource": { + "DedicatedHsmResource": { "properties": { "id": { "readOnly": true, From 22e28ca394ee4d81cf54fc503910ce5d6097127e Mon Sep 17 00:00:00 2001 From: Emmeleia Arakleitou Date: Mon, 19 Jun 2023 11:21:26 +0100 Subject: [PATCH 66/69] Remove duplicate type tag from DedicatedHsmResource --- .../stable/2021-11-30/dedicatedhsm.json | 1 - 1 file changed, 1 deletion(-) diff --git a/specification/hardwaresecuritymodules/resource-manager/Microsoft.HardwareSecurityModules/stable/2021-11-30/dedicatedhsm.json b/specification/hardwaresecuritymodules/resource-manager/Microsoft.HardwareSecurityModules/stable/2021-11-30/dedicatedhsm.json index e8dfbb57712d..9edc4b411b04 100644 --- a/specification/hardwaresecuritymodules/resource-manager/Microsoft.HardwareSecurityModules/stable/2021-11-30/dedicatedhsm.json +++ b/specification/hardwaresecuritymodules/resource-manager/Microsoft.HardwareSecurityModules/stable/2021-11-30/dedicatedhsm.json @@ -850,7 +850,6 @@ } }, "description": "Dedicated HSM resource", - "type": "object", "required": [ "location" ], From b48844aa3e8a20ff137ba34053204f3c6f299241 Mon Sep 17 00:00:00 2001 From: Emmeleia Arakleitou Date: Mon, 19 Jun 2023 12:36:48 +0100 Subject: [PATCH 67/69] updated readme file to fix ~[Staging] Service API Readiness Test failed error --- .../hardwaresecuritymodules/resource-manager/readme.md | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/specification/hardwaresecuritymodules/resource-manager/readme.md b/specification/hardwaresecuritymodules/resource-manager/readme.md index 95abf20b05c4..a869dc3cc0b3 100644 --- a/specification/hardwaresecuritymodules/resource-manager/readme.md +++ b/specification/hardwaresecuritymodules/resource-manager/readme.md @@ -54,7 +54,7 @@ input-file: These settings apply only when `--tag=package-2022-08-preview` is specified on the command line. -``` yaml $(tag) == 'package-2022-08-preview' +``` yaml $(tag) == 'package-2022-08-31-preview' input-file: - Microsoft.HardwareSecurityModules/preview/2022-08-31-preview/cloudhsm.json - Microsoft.HardwareSecurityModules/stable/2021-11-30/dedicatedhsm.json From dbe1e9ddb53788d9caaae750171d4febbbf07d67 Mon Sep 17 00:00:00 2001 From: Emmeleia Arakleitou Date: Mon, 19 Jun 2023 13:57:42 +0100 Subject: [PATCH 68/69] updated readme file to fix ~[Staging] Service API Readiness Test fail --- .../hardwaresecuritymodules/resource-manager/readme.md | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/specification/hardwaresecuritymodules/resource-manager/readme.md b/specification/hardwaresecuritymodules/resource-manager/readme.md index a869dc3cc0b3..d9838170d305 100644 --- a/specification/hardwaresecuritymodules/resource-manager/readme.md +++ b/specification/hardwaresecuritymodules/resource-manager/readme.md @@ -52,7 +52,7 @@ input-file: ### Tag: package-2022-08-preview -These settings apply only when `--tag=package-2022-08-preview` is specified on the command line. +These settings apply only when `--tag=package-2022-08-31-preview` is specified on the command line. ``` yaml $(tag) == 'package-2022-08-31-preview' input-file: From dbb38e7300dd85962bf1ecaac5d0ba51e7a31244 Mon Sep 17 00:00:00 2001 From: Emmeleia Arakleitou Date: Mon, 19 Jun 2023 14:02:15 +0100 Subject: [PATCH 69/69] update readme file to resolve ~[Staging] Service API Readiness Test failure --- .../hardwaresecuritymodules/resource-manager/readme.md | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/specification/hardwaresecuritymodules/resource-manager/readme.md b/specification/hardwaresecuritymodules/resource-manager/readme.md index d9838170d305..95abf20b05c4 100644 --- a/specification/hardwaresecuritymodules/resource-manager/readme.md +++ b/specification/hardwaresecuritymodules/resource-manager/readme.md @@ -52,9 +52,9 @@ input-file: ### Tag: package-2022-08-preview -These settings apply only when `--tag=package-2022-08-31-preview` is specified on the command line. +These settings apply only when `--tag=package-2022-08-preview` is specified on the command line. -``` yaml $(tag) == 'package-2022-08-31-preview' +``` yaml $(tag) == 'package-2022-08-preview' input-file: - Microsoft.HardwareSecurityModules/preview/2022-08-31-preview/cloudhsm.json - Microsoft.HardwareSecurityModules/stable/2021-11-30/dedicatedhsm.json