From 6aba1db1dd619f99208197d6d526735e3376167e Mon Sep 17 00:00:00 2001 From: Ved Kale Date: Mon, 2 Oct 2023 17:11:43 -0700 Subject: [PATCH 01/57] Adds base for updating Microsoft.HybridCompute from version preview/2023-06-20-preview to version 2023-10-03-preview --- .../2023-10-03-preview/HybridCompute.json | 3867 +++++++++++++++++ .../examples/AgentVersion_GetLatest.json | 16 + .../examples/AgentVersions_Get.json | 24 + .../examples/HybridIdentityMetadata_Get.json | 27 + ...dentityMetadata_ListByVirtualMachines.json | 30 + .../examples/NetworkProfile_Get.json | 38 + .../examples/Operations_List.json | 35 + .../extension/ExtensionMetadata_Get.json | 22 + .../extension/ExtensionMetadata_List.json | 33 + .../extension/Extension_CreateOrUpdate.json | 53 + .../examples/extension/Extension_Delete.json | 20 + .../examples/extension/Extension_Get.json | 42 + .../examples/extension/Extension_List.json | 64 + .../examples/extension/Extension_Update.json | 60 + .../extension/Extensions_Upgrade.json | 28 + .../license/License_CreateOrUpdate.json | 45 + .../examples/license/License_Delete.json | 12 + .../examples/license/License_Get.json | 32 + .../license/License_ListByResourceGroup.json | 36 + .../license/License_ListBySubscription.json | 35 + .../examples/license/License_Update.json | 43 + .../license/License_ValidateLicense.json | 44 + .../LicenseProfile_CreateOrUpdate.json | 78 + .../licenseProfile/LicenseProfile_Delete.json | 19 + .../licenseProfile/LicenseProfile_Get.json | 38 + .../licenseProfile/LicenseProfile_List.json | 42 + .../licenseProfile/LicenseProfile_Update.json | 51 + .../machine/Machine_AssessPatches.json | 37 + .../machine/Machine_InstallPatches.json | 44 + .../machine/Machines_CreateOrUpdate.json | 105 + .../examples/machine/Machines_Delete.json | 12 + .../examples/machine/Machines_Get.json | 143 + ...chines_Get_LicenseProfileInstanceView.json | 164 + .../machine/Machines_ListByResourceGroup.json | 193 + .../machine/Machines_ListBySubscription.json | 191 + .../examples/machine/Machines_Update.json | 110 + .../PrivateEndpointConnection_Delete.json | 20 + .../PrivateEndpointConnection_Get.json | 32 + .../PrivateEndpointConnection_List.json | 54 + .../PrivateEndpointConnection_Update.json | 41 + ...ivateLinkScopePrivateLinkResource_Get.json | 31 + ...eLinkScopePrivateLinkResource_ListGet.json | 35 + .../PrivateLinkScopes_Create.json | 77 + .../PrivateLinkScopes_Delete.json | 19 + .../PrivateLinkScopes_Get.json | 42 + .../PrivateLinkScopes_GetValidation.json | 25 + ...ateLinkScopes_GetValidationForMachine.json | 26 + .../PrivateLinkScopes_List.json | 57 + ...PrivateLinkScopes_ListByResourceGroup.json | 76 + .../PrivateLinkScopes_Update.json | 84 + .../PrivateLinkScopes_UpdateTagsOnly.json | 51 + .../2023-10-03-preview/privateLinkScopes.json | 1130 +++++ 52 files changed, 7633 insertions(+) create mode 100644 specification/hybridcompute/resource-manager/Microsoft.HybridCompute/preview/2023-10-03-preview/HybridCompute.json create mode 100644 specification/hybridcompute/resource-manager/Microsoft.HybridCompute/preview/2023-10-03-preview/examples/AgentVersion_GetLatest.json create mode 100644 specification/hybridcompute/resource-manager/Microsoft.HybridCompute/preview/2023-10-03-preview/examples/AgentVersions_Get.json create mode 100644 specification/hybridcompute/resource-manager/Microsoft.HybridCompute/preview/2023-10-03-preview/examples/HybridIdentityMetadata_Get.json create mode 100644 specification/hybridcompute/resource-manager/Microsoft.HybridCompute/preview/2023-10-03-preview/examples/HybridIdentityMetadata_ListByVirtualMachines.json create mode 100644 specification/hybridcompute/resource-manager/Microsoft.HybridCompute/preview/2023-10-03-preview/examples/NetworkProfile_Get.json create mode 100644 specification/hybridcompute/resource-manager/Microsoft.HybridCompute/preview/2023-10-03-preview/examples/Operations_List.json create mode 100644 specification/hybridcompute/resource-manager/Microsoft.HybridCompute/preview/2023-10-03-preview/examples/extension/ExtensionMetadata_Get.json create mode 100644 specification/hybridcompute/resource-manager/Microsoft.HybridCompute/preview/2023-10-03-preview/examples/extension/ExtensionMetadata_List.json create mode 100644 specification/hybridcompute/resource-manager/Microsoft.HybridCompute/preview/2023-10-03-preview/examples/extension/Extension_CreateOrUpdate.json create mode 100644 specification/hybridcompute/resource-manager/Microsoft.HybridCompute/preview/2023-10-03-preview/examples/extension/Extension_Delete.json create mode 100644 specification/hybridcompute/resource-manager/Microsoft.HybridCompute/preview/2023-10-03-preview/examples/extension/Extension_Get.json create mode 100644 specification/hybridcompute/resource-manager/Microsoft.HybridCompute/preview/2023-10-03-preview/examples/extension/Extension_List.json create mode 100644 specification/hybridcompute/resource-manager/Microsoft.HybridCompute/preview/2023-10-03-preview/examples/extension/Extension_Update.json create mode 100644 specification/hybridcompute/resource-manager/Microsoft.HybridCompute/preview/2023-10-03-preview/examples/extension/Extensions_Upgrade.json create mode 100644 specification/hybridcompute/resource-manager/Microsoft.HybridCompute/preview/2023-10-03-preview/examples/license/License_CreateOrUpdate.json create mode 100644 specification/hybridcompute/resource-manager/Microsoft.HybridCompute/preview/2023-10-03-preview/examples/license/License_Delete.json create mode 100644 specification/hybridcompute/resource-manager/Microsoft.HybridCompute/preview/2023-10-03-preview/examples/license/License_Get.json create mode 100644 specification/hybridcompute/resource-manager/Microsoft.HybridCompute/preview/2023-10-03-preview/examples/license/License_ListByResourceGroup.json create mode 100644 specification/hybridcompute/resource-manager/Microsoft.HybridCompute/preview/2023-10-03-preview/examples/license/License_ListBySubscription.json create mode 100644 specification/hybridcompute/resource-manager/Microsoft.HybridCompute/preview/2023-10-03-preview/examples/license/License_Update.json create mode 100644 specification/hybridcompute/resource-manager/Microsoft.HybridCompute/preview/2023-10-03-preview/examples/license/License_ValidateLicense.json create mode 100644 specification/hybridcompute/resource-manager/Microsoft.HybridCompute/preview/2023-10-03-preview/examples/licenseProfile/LicenseProfile_CreateOrUpdate.json create mode 100644 specification/hybridcompute/resource-manager/Microsoft.HybridCompute/preview/2023-10-03-preview/examples/licenseProfile/LicenseProfile_Delete.json create mode 100644 specification/hybridcompute/resource-manager/Microsoft.HybridCompute/preview/2023-10-03-preview/examples/licenseProfile/LicenseProfile_Get.json create mode 100644 specification/hybridcompute/resource-manager/Microsoft.HybridCompute/preview/2023-10-03-preview/examples/licenseProfile/LicenseProfile_List.json create mode 100644 specification/hybridcompute/resource-manager/Microsoft.HybridCompute/preview/2023-10-03-preview/examples/licenseProfile/LicenseProfile_Update.json create mode 100644 specification/hybridcompute/resource-manager/Microsoft.HybridCompute/preview/2023-10-03-preview/examples/machine/Machine_AssessPatches.json create mode 100644 specification/hybridcompute/resource-manager/Microsoft.HybridCompute/preview/2023-10-03-preview/examples/machine/Machine_InstallPatches.json create mode 100644 specification/hybridcompute/resource-manager/Microsoft.HybridCompute/preview/2023-10-03-preview/examples/machine/Machines_CreateOrUpdate.json create mode 100644 specification/hybridcompute/resource-manager/Microsoft.HybridCompute/preview/2023-10-03-preview/examples/machine/Machines_Delete.json create mode 100644 specification/hybridcompute/resource-manager/Microsoft.HybridCompute/preview/2023-10-03-preview/examples/machine/Machines_Get.json create mode 100644 specification/hybridcompute/resource-manager/Microsoft.HybridCompute/preview/2023-10-03-preview/examples/machine/Machines_Get_LicenseProfileInstanceView.json create mode 100644 specification/hybridcompute/resource-manager/Microsoft.HybridCompute/preview/2023-10-03-preview/examples/machine/Machines_ListByResourceGroup.json create mode 100644 specification/hybridcompute/resource-manager/Microsoft.HybridCompute/preview/2023-10-03-preview/examples/machine/Machines_ListBySubscription.json create mode 100644 specification/hybridcompute/resource-manager/Microsoft.HybridCompute/preview/2023-10-03-preview/examples/machine/Machines_Update.json create mode 100644 specification/hybridcompute/resource-manager/Microsoft.HybridCompute/preview/2023-10-03-preview/examples/privateEndpoint/PrivateEndpointConnection_Delete.json create mode 100644 specification/hybridcompute/resource-manager/Microsoft.HybridCompute/preview/2023-10-03-preview/examples/privateEndpoint/PrivateEndpointConnection_Get.json create mode 100644 specification/hybridcompute/resource-manager/Microsoft.HybridCompute/preview/2023-10-03-preview/examples/privateEndpoint/PrivateEndpointConnection_List.json create mode 100644 specification/hybridcompute/resource-manager/Microsoft.HybridCompute/preview/2023-10-03-preview/examples/privateEndpoint/PrivateEndpointConnection_Update.json create mode 100644 specification/hybridcompute/resource-manager/Microsoft.HybridCompute/preview/2023-10-03-preview/examples/privateLinkScope/PrivateLinkScopePrivateLinkResource_Get.json create mode 100644 specification/hybridcompute/resource-manager/Microsoft.HybridCompute/preview/2023-10-03-preview/examples/privateLinkScope/PrivateLinkScopePrivateLinkResource_ListGet.json create mode 100644 specification/hybridcompute/resource-manager/Microsoft.HybridCompute/preview/2023-10-03-preview/examples/privateLinkScope/PrivateLinkScopes_Create.json create mode 100644 specification/hybridcompute/resource-manager/Microsoft.HybridCompute/preview/2023-10-03-preview/examples/privateLinkScope/PrivateLinkScopes_Delete.json create mode 100644 specification/hybridcompute/resource-manager/Microsoft.HybridCompute/preview/2023-10-03-preview/examples/privateLinkScope/PrivateLinkScopes_Get.json create mode 100644 specification/hybridcompute/resource-manager/Microsoft.HybridCompute/preview/2023-10-03-preview/examples/privateLinkScope/PrivateLinkScopes_GetValidation.json create mode 100644 specification/hybridcompute/resource-manager/Microsoft.HybridCompute/preview/2023-10-03-preview/examples/privateLinkScope/PrivateLinkScopes_GetValidationForMachine.json create mode 100644 specification/hybridcompute/resource-manager/Microsoft.HybridCompute/preview/2023-10-03-preview/examples/privateLinkScope/PrivateLinkScopes_List.json create mode 100644 specification/hybridcompute/resource-manager/Microsoft.HybridCompute/preview/2023-10-03-preview/examples/privateLinkScope/PrivateLinkScopes_ListByResourceGroup.json create mode 100644 specification/hybridcompute/resource-manager/Microsoft.HybridCompute/preview/2023-10-03-preview/examples/privateLinkScope/PrivateLinkScopes_Update.json create mode 100644 specification/hybridcompute/resource-manager/Microsoft.HybridCompute/preview/2023-10-03-preview/examples/privateLinkScope/PrivateLinkScopes_UpdateTagsOnly.json create mode 100644 specification/hybridcompute/resource-manager/Microsoft.HybridCompute/preview/2023-10-03-preview/privateLinkScopes.json diff --git a/specification/hybridcompute/resource-manager/Microsoft.HybridCompute/preview/2023-10-03-preview/HybridCompute.json b/specification/hybridcompute/resource-manager/Microsoft.HybridCompute/preview/2023-10-03-preview/HybridCompute.json new file mode 100644 index 000000000000..76cfa4ebb9c9 --- /dev/null +++ b/specification/hybridcompute/resource-manager/Microsoft.HybridCompute/preview/2023-10-03-preview/HybridCompute.json @@ -0,0 +1,3867 @@ +{ + "swagger": "2.0", + "info": { + "title": "HybridComputeManagementClient", + "description": "The Hybrid Compute Management Client.", + "version": "2023-06-20-preview" + }, + "host": "management.azure.com", + "schemes": [ + "https" + ], + "consumes": [ + "application/json" + ], + "produces": [ + "application/json" + ], + "security": [ + { + "azure_auth": [ + "user_impersonation" + ] + } + ], + "securityDefinitions": { + "azure_auth": { + "type": "oauth2", + "authorizationUrl": "https://login.microsoftonline.com/common/oauth2/authorize", + "flow": "implicit", + "description": "Azure Active Directory OAuth2 Flow", + "scopes": { + "user_impersonation": "impersonate your user account" + } + } + }, + "paths": { + "/subscriptions/{subscriptionId}/providers/Microsoft.HybridCompute/validateLicense": { + "post": { + "tags": [ + "licenses" + ], + "operationId": "Licenses_ValidateLicense", + "description": "The operation to validate a license.", + "parameters": [ + { + "$ref": "../../../../../common-types/resource-management/v3/types.json#/parameters/ApiVersionParameter" + }, + { + "$ref": "../../../../../common-types/resource-management/v3/types.json#/parameters/SubscriptionIdParameter" + }, + { + "name": "parameters", + "in": "body", + "required": true, + "schema": { + "$ref": "#/definitions/License" + }, + "description": "Parameters supplied to the license validation operation." + } + ], + "responses": { + "200": { + "description": "Updated Resource", + "schema": { + "$ref": "#/definitions/License" + } + }, + "default": { + "description": "Error response describing why the operation failed.", + "schema": { + "$ref": "../../../../../common-types/resource-management/v3/types.json#/definitions/ErrorResponse" + } + } + }, + "x-ms-long-running-operation": true, + "x-ms-examples": { + "Validate a License": { + "$ref": "./examples/license/License_ValidateLicense.json" + } + } + } + }, + "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.HybridCompute/licenses/{licenseName}": { + "put": { + "tags": [ + "licenses" + ], + "operationId": "Licenses_CreateOrUpdate", + "description": "The operation to create or update a license.", + "parameters": [ + { + "$ref": "../../../../../common-types/resource-management/v3/types.json#/parameters/ApiVersionParameter" + }, + { + "$ref": "../../../../../common-types/resource-management/v3/types.json#/parameters/SubscriptionIdParameter" + }, + { + "$ref": "../../../../../common-types/resource-management/v3/types.json#/parameters/ResourceGroupNameParameter" + }, + { + "$ref": "#/parameters/licenseNameParameter" + }, + { + "name": "parameters", + "in": "body", + "required": true, + "schema": { + "$ref": "#/definitions/License" + }, + "description": "Parameters supplied to the Create license operation." + } + ], + "responses": { + "200": { + "description": "Updated Resource", + "schema": { + "$ref": "#/definitions/License" + } + }, + "default": { + "description": "Error response describing why the operation failed.", + "schema": { + "$ref": "../../../../../common-types/resource-management/v3/types.json#/definitions/ErrorResponse" + } + } + }, + "x-ms-long-running-operation": true, + "x-ms-examples": { + "Create or Update a License": { + "$ref": "./examples/license/License_CreateOrUpdate.json" + } + } + }, + "patch": { + "tags": [ + "licenses" + ], + "operationId": "Licenses_Update", + "description": "The operation to update a license.", + "parameters": [ + { + "$ref": "../../../../../common-types/resource-management/v3/types.json#/parameters/ApiVersionParameter" + }, + { + "$ref": "../../../../../common-types/resource-management/v3/types.json#/parameters/SubscriptionIdParameter" + }, + { + "$ref": "../../../../../common-types/resource-management/v3/types.json#/parameters/ResourceGroupNameParameter" + }, + { + "$ref": "#/parameters/licenseNameParameter" + }, + { + "name": "parameters", + "in": "body", + "required": true, + "schema": { + "$ref": "#/definitions/LicenseUpdate" + }, + "description": "Parameters supplied to the Update license operation." + } + ], + "responses": { + "200": { + "description": "OK", + "schema": { + "$ref": "#/definitions/License" + } + }, + "default": { + "description": "Error response describing why the operation failed.", + "schema": { + "$ref": "../../../../../common-types/resource-management/v3/types.json#/definitions/ErrorResponse" + } + } + }, + "x-ms-long-running-operation": true, + "x-ms-examples": { + "Update a License": { + "$ref": "./examples/license/License_Update.json" + } + } + }, + "get": { + "tags": [ + "licenses" + ], + "operationId": "Licenses_Get", + "description": "Retrieves information about the view of a license.", + "parameters": [ + { + "$ref": "../../../../../common-types/resource-management/v3/types.json#/parameters/ApiVersionParameter" + }, + { + "$ref": "../../../../../common-types/resource-management/v3/types.json#/parameters/SubscriptionIdParameter" + }, + { + "$ref": "../../../../../common-types/resource-management/v3/types.json#/parameters/ResourceGroupNameParameter" + }, + { + "$ref": "#/parameters/licenseNameParameter" + } + ], + "responses": { + "200": { + "description": "OK", + "schema": { + "$ref": "#/definitions/License" + } + }, + "default": { + "description": "Error response describing why the operation failed.", + "schema": { + "$ref": "../../../../../common-types/resource-management/v3/types.json#/definitions/ErrorResponse" + } + } + }, + "x-ms-examples": { + "Get License": { + "$ref": "./examples/license/License_Get.json" + } + } + }, + "delete": { + "tags": [ + "licenses" + ], + "operationId": "Licenses_Delete", + "description": "The operation to delete a license.", + "parameters": [ + { + "$ref": "../../../../../common-types/resource-management/v3/types.json#/parameters/ApiVersionParameter" + }, + { + "$ref": "../../../../../common-types/resource-management/v3/types.json#/parameters/SubscriptionIdParameter" + }, + { + "$ref": "../../../../../common-types/resource-management/v3/types.json#/parameters/ResourceGroupNameParameter" + }, + { + "$ref": "#/parameters/licenseNameParameter" + } + ], + "responses": { + "200": { + "description": "OK" + }, + "204": { + "description": "No Content" + }, + "default": { + "description": "Error response describing why the operation failed.", + "schema": { + "$ref": "../../../../../common-types/resource-management/v3/types.json#/definitions/ErrorResponse" + } + } + }, + "x-ms-long-running-operation": true, + "x-ms-examples": { + "Delete a License": { + "$ref": "./examples/license/License_Delete.json" + } + } + } + }, + "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.HybridCompute/licenses": { + "get": { + "tags": [ + "licenses" + ], + "operationId": "Licenses_ListByResourceGroup", + "description": "The operation to get all licenses of a non-Azure machine", + "parameters": [ + { + "$ref": "../../../../../common-types/resource-management/v3/types.json#/parameters/ResourceGroupNameParameter" + }, + { + "$ref": "../../../../../common-types/resource-management/v3/types.json#/parameters/ApiVersionParameter" + }, + { + "$ref": "../../../../../common-types/resource-management/v3/types.json#/parameters/SubscriptionIdParameter" + } + ], + "responses": { + "200": { + "description": "OK", + "schema": { + "$ref": "#/definitions/LicensesListResult" + } + }, + "default": { + "description": "Error response describing why the operation failed.", + "schema": { + "$ref": "../../../../../common-types/resource-management/v3/types.json#/definitions/ErrorResponse" + } + } + }, + "x-ms-pageable": { + "nextLinkName": "nextLink" + }, + "x-ms-examples": { + "GET all Machine Extensions": { + "$ref": "./examples/license/License_ListByResourceGroup.json" + } + } + } + }, + "/subscriptions/{subscriptionId}/providers/Microsoft.HybridCompute/licenses": { + "get": { + "tags": [ + "licenses" + ], + "operationId": "Licenses_ListBySubscription", + "description": "The operation to get all licenses of a non-Azure machine", + "parameters": [ + { + "$ref": "../../../../../common-types/resource-management/v3/types.json#/parameters/ApiVersionParameter" + }, + { + "$ref": "../../../../../common-types/resource-management/v3/types.json#/parameters/SubscriptionIdParameter" + } + ], + "responses": { + "200": { + "description": "OK", + "schema": { + "$ref": "#/definitions/LicensesListResult" + } + }, + "default": { + "description": "Error response describing why the operation failed.", + "schema": { + "$ref": "../../../../../common-types/resource-management/v3/types.json#/definitions/ErrorResponse" + } + } + }, + "x-ms-pageable": { + "nextLinkName": "nextLink" + }, + "x-ms-examples": { + "List Licenses by Subscription": { + "$ref": "./examples/license/License_ListBySubscription.json" + } + } + } + }, + "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.HybridCompute/machines/{machineName}": { + "put": { + "tags": [ + "machines" + ], + "operationId": "Machines_CreateOrUpdate", + "description": "The operation to create or update a hybrid machine. Please note some properties can be set only during machine creation.", + "parameters": [ + { + "$ref": "../../../../../common-types/resource-management/v3/types.json#/parameters/ApiVersionParameter" + }, + { + "$ref": "../../../../../common-types/resource-management/v3/types.json#/parameters/SubscriptionIdParameter" + }, + { + "$ref": "../../../../../common-types/resource-management/v3/types.json#/parameters/ResourceGroupNameParameter" + }, + { + "name": "machineName", + "in": "path", + "required": true, + "type": "string", + "pattern": "[a-zA-Z0-9-_\\.]", + "minLength": 1, + "maxLength": 54, + "description": "The name of the hybrid machine." + }, + { + "name": "parameters", + "in": "body", + "required": true, + "schema": { + "$ref": "#/definitions/Machine" + }, + "description": "Parameters supplied to the Create hybrid machine operation." + }, + { + "name": "$expand", + "in": "query", + "required": false, + "type": "string", + "description": "Expands referenced resources." + } + ], + "responses": { + "200": { + "description": "OK", + "schema": { + "$ref": "#/definitions/Machine" + } + }, + "default": { + "description": "Error response describing why the operation failed.", + "schema": { + "$ref": "../../../../../common-types/resource-management/v3/types.json#/definitions/ErrorResponse" + } + } + }, + "x-ms-examples": { + "Create or Update a Machine": { + "$ref": "./examples/machine/Machines_CreateOrUpdate.json" + } + } + }, + "patch": { + "tags": [ + "machines" + ], + "operationId": "Machines_Update", + "description": "The operation to update a hybrid machine.", + "parameters": [ + { + "$ref": "../../../../../common-types/resource-management/v3/types.json#/parameters/ApiVersionParameter" + }, + { + "$ref": "../../../../../common-types/resource-management/v3/types.json#/parameters/SubscriptionIdParameter" + }, + { + "$ref": "../../../../../common-types/resource-management/v3/types.json#/parameters/ResourceGroupNameParameter" + }, + { + "name": "machineName", + "in": "path", + "required": true, + "type": "string", + "pattern": "[a-zA-Z0-9-_\\.]", + "minLength": 1, + "maxLength": 54, + "description": "The name of the hybrid machine." + }, + { + "name": "parameters", + "in": "body", + "required": true, + "schema": { + "$ref": "#/definitions/MachineUpdate" + }, + "description": "Parameters supplied to the Update hybrid machine operation." + } + ], + "responses": { + "200": { + "description": "OK", + "schema": { + "$ref": "#/definitions/Machine" + } + }, + "default": { + "description": "Error response describing why the operation failed.", + "schema": { + "$ref": "../../../../../common-types/resource-management/v3/types.json#/definitions/ErrorResponse" + } + } + }, + "x-ms-examples": { + "Update a Machine": { + "$ref": "./examples/machine/Machines_Update.json" + } + } + }, + "delete": { + "tags": [ + "machines" + ], + "operationId": "Machines_Delete", + "description": "The operation to delete a hybrid machine.", + "parameters": [ + { + "$ref": "../../../../../common-types/resource-management/v3/types.json#/parameters/ApiVersionParameter" + }, + { + "$ref": "../../../../../common-types/resource-management/v3/types.json#/parameters/SubscriptionIdParameter" + }, + { + "$ref": "../../../../../common-types/resource-management/v3/types.json#/parameters/ResourceGroupNameParameter" + }, + { + "name": "machineName", + "in": "path", + "required": true, + "type": "string", + "pattern": "[a-zA-Z0-9-_\\.]", + "minLength": 1, + "maxLength": 54, + "description": "The name of the hybrid machine." + } + ], + "responses": { + "200": { + "description": "OK" + }, + "204": { + "description": "No Content" + }, + "default": { + "description": "Error response describing why the operation failed.", + "schema": { + "$ref": "../../../../../common-types/resource-management/v3/types.json#/definitions/ErrorResponse" + } + } + }, + "x-ms-examples": { + "Delete a Machine": { + "$ref": "./examples/machine/Machines_Delete.json" + } + } + }, + "get": { + "tags": [ + "machines" + ], + "operationId": "Machines_Get", + "description": "Retrieves information about the model view or the instance view of a hybrid machine.", + "parameters": [ + { + "$ref": "../../../../../common-types/resource-management/v3/types.json#/parameters/ApiVersionParameter" + }, + { + "$ref": "../../../../../common-types/resource-management/v3/types.json#/parameters/SubscriptionIdParameter" + }, + { + "$ref": "../../../../../common-types/resource-management/v3/types.json#/parameters/ResourceGroupNameParameter" + }, + { + "name": "machineName", + "in": "path", + "required": true, + "type": "string", + "pattern": "[a-zA-Z0-9-_\\.]", + "minLength": 1, + "maxLength": 54, + "description": "The name of the hybrid machine." + }, + { + "name": "$expand", + "in": "query", + "required": false, + "type": "string", + "description": "The expand expression to apply on the operation.", + "enum": [ + "instanceView" + ], + "x-ms-enum": { + "name": "InstanceViewTypes", + "modelAsString": true + } + } + ], + "responses": { + "200": { + "description": "OK", + "schema": { + "$ref": "#/definitions/Machine" + } + }, + "default": { + "description": "Error response describing why the operation failed.", + "schema": { + "$ref": "../../../../../common-types/resource-management/v3/types.json#/definitions/ErrorResponse" + } + } + }, + "x-ms-examples": { + "Get Machine": { + "$ref": "./examples/machine/Machines_Get.json" + }, + "Get Machine with License Profile Instance View": { + "$ref": "./examples/machine/Machines_Get_LicenseProfileInstanceView.json" + } + } + } + }, + "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.HybridCompute/machines/{machineName}/licenseProfiles/{licenseProfileName}": { + "put": { + "tags": [ + "licenseProfiles" + ], + "operationId": "LicenseProfiles_CreateOrUpdate", + "description": "The operation to create or update a license profile.", + "parameters": [ + { + "$ref": "../../../../../common-types/resource-management/v3/types.json#/parameters/ApiVersionParameter" + }, + { + "$ref": "../../../../../common-types/resource-management/v3/types.json#/parameters/SubscriptionIdParameter" + }, + { + "$ref": "../../../../../common-types/resource-management/v3/types.json#/parameters/ResourceGroupNameParameter" + }, + { + "$ref": "#/parameters/machineNameParameter" + }, + { + "$ref": "#/parameters/licenseProfileNameParameter" + }, + { + "name": "parameters", + "in": "body", + "required": true, + "schema": { + "$ref": "#/definitions/LicenseProfile" + }, + "description": "Parameters supplied to the Create license profile operation." + } + ], + "responses": { + "200": { + "description": "Updated Resource", + "schema": { + "$ref": "#/definitions/LicenseProfile" + } + }, + "201": { + "description": "Created", + "schema": { + "$ref": "#/definitions/LicenseProfile" + }, + "headers": { + "Location": { + "description": "The URL of the resource used to check the status of the asynchronous operation.", + "type": "string" + }, + "Retry-After": { + "description": "The recommended number of seconds to wait before calling the URI specified in Azure-AsyncOperation.", + "type": "integer", + "format": "int32" + }, + "Azure-AsyncOperation": { + "description": "The URI to poll for completion status.", + "type": "string" + } + } + }, + "default": { + "description": "Error response describing why the operation failed.", + "schema": { + "$ref": "../../../../../common-types/resource-management/v3/types.json#/definitions/ErrorResponse" + } + } + }, + "x-ms-long-running-operation": true, + "x-ms-examples": { + "Create or Update a License Profile": { + "$ref": "./examples/licenseProfile/LicenseProfile_CreateOrUpdate.json" + } + } + }, + "patch": { + "tags": [ + "licenseProfiles" + ], + "operationId": "LicenseProfiles_Update", + "description": "The operation to update a license profile.", + "parameters": [ + { + "$ref": "../../../../../common-types/resource-management/v3/types.json#/parameters/ApiVersionParameter" + }, + { + "$ref": "../../../../../common-types/resource-management/v3/types.json#/parameters/SubscriptionIdParameter" + }, + { + "$ref": "../../../../../common-types/resource-management/v3/types.json#/parameters/ResourceGroupNameParameter" + }, + { + "$ref": "#/parameters/machineNameParameter" + }, + { + "$ref": "#/parameters/licenseProfileNameParameter" + }, + { + "name": "parameters", + "in": "body", + "required": true, + "schema": { + "$ref": "#/definitions/LicenseProfileUpdate" + }, + "description": "Parameters supplied to the Update license profile operation." + } + ], + "responses": { + "200": { + "description": "OK", + "schema": { + "$ref": "#/definitions/LicenseProfile" + } + }, + "202": { + "description": "Accepted", + "headers": { + "Location": { + "description": "The URL of the resource used to check the status of the asynchronous operation.", + "type": "string" + }, + "Retry-After": { + "description": "The recommended number of seconds to wait before calling the URI specified in Azure-AsyncOperation.", + "type": "integer", + "format": "int32" + }, + "Azure-AsyncOperation": { + "description": "The URI to poll for completion status.", + "type": "string" + } + } + }, + "default": { + "description": "Error response describing why the operation failed.", + "schema": { + "$ref": "../../../../../common-types/resource-management/v3/types.json#/definitions/ErrorResponse" + } + } + }, + "x-ms-long-running-operation": true, + "x-ms-examples": { + "Update a License Profile": { + "$ref": "./examples/licenseProfile/LicenseProfile_Update.json" + } + } + }, + "get": { + "tags": [ + "licenseProfiles" + ], + "operationId": "LicenseProfiles_Get", + "description": "Retrieves information about the view of a license profile.", + "parameters": [ + { + "$ref": "../../../../../common-types/resource-management/v3/types.json#/parameters/ApiVersionParameter" + }, + { + "$ref": "../../../../../common-types/resource-management/v3/types.json#/parameters/SubscriptionIdParameter" + }, + { + "$ref": "../../../../../common-types/resource-management/v3/types.json#/parameters/ResourceGroupNameParameter" + }, + { + "$ref": "#/parameters/machineNameParameter" + }, + { + "$ref": "#/parameters/licenseProfileNameParameter" + } + ], + "responses": { + "200": { + "description": "OK", + "schema": { + "$ref": "#/definitions/LicenseProfile" + } + }, + "default": { + "description": "Error response describing why the operation failed.", + "schema": { + "$ref": "../../../../../common-types/resource-management/v3/types.json#/definitions/ErrorResponse" + } + } + }, + "x-ms-examples": { + "Get License Profile": { + "$ref": "./examples/licenseProfile/LicenseProfile_Get.json" + } + } + }, + "delete": { + "tags": [ + "licenseProfiles" + ], + "operationId": "LicenseProfiles_Delete", + "description": "The operation to delete a license profile.", + "parameters": [ + { + "$ref": "../../../../../common-types/resource-management/v3/types.json#/parameters/ApiVersionParameter" + }, + { + "$ref": "../../../../../common-types/resource-management/v3/types.json#/parameters/SubscriptionIdParameter" + }, + { + "$ref": "../../../../../common-types/resource-management/v3/types.json#/parameters/ResourceGroupNameParameter" + }, + { + "$ref": "#/parameters/machineNameParameter" + }, + { + "$ref": "#/parameters/licenseProfileNameParameter" + } + ], + "responses": { + "202": { + "description": "Accepted", + "headers": { + "Location": { + "description": "The URL of the resource used to check the status of the asynchronous operation.", + "type": "string" + }, + "Retry-After": { + "description": "The recommended number of seconds to wait before calling the URI specified in Azure-AsyncOperation.", + "type": "integer", + "format": "int32" + }, + "Azure-AsyncOperation": { + "description": "The URI to poll for completion status.", + "type": "string" + } + } + }, + "204": { + "description": "No Content" + }, + "default": { + "description": "Error response describing why the operation failed.", + "schema": { + "$ref": "../../../../../common-types/resource-management/v3/types.json#/definitions/ErrorResponse" + } + } + }, + "x-ms-long-running-operation": true, + "x-ms-examples": { + "Delete a License Profile": { + "$ref": "./examples/licenseProfile/LicenseProfile_Delete.json" + } + } + } + }, + "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.HybridCompute/machines/{machineName}/licenseProfiles": { + "get": { + "tags": [ + "licenseProfiles" + ], + "operationId": "licenseProfiles_List", + "description": "The operation to get all license profiles of a non-Azure machine", + "parameters": [ + { + "$ref": "../../../../../common-types/resource-management/v3/types.json#/parameters/ResourceGroupNameParameter" + }, + { + "name": "machineName", + "in": "path", + "required": true, + "type": "string", + "pattern": "[a-zA-Z0-9-_\\.]", + "minLength": 1, + "maxLength": 54, + "description": "The name of the machine." + }, + { + "$ref": "../../../../../common-types/resource-management/v3/types.json#/parameters/ApiVersionParameter" + }, + { + "$ref": "../../../../../common-types/resource-management/v3/types.json#/parameters/SubscriptionIdParameter" + } + ], + "responses": { + "200": { + "description": "OK", + "schema": { + "$ref": "#/definitions/LicenseProfilesListResult" + } + }, + "default": { + "description": "Error response describing why the operation failed.", + "schema": { + "$ref": "../../../../../common-types/resource-management/v3/types.json#/definitions/ErrorResponse" + } + } + }, + "x-ms-pageable": { + "nextLinkName": "nextLink" + }, + "x-ms-examples": { + "List all License Profiles": { + "$ref": "./examples/licenseProfile/LicenseProfile_List.json" + } + } + } + }, + "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.HybridCompute/machines/{name}/assessPatches": { + "post": { + "tags": [ + "machines" + ], + "operationId": "Machines_AssessPatches", + "x-ms-examples": { + "Assess patch state of a machine.": { + "$ref": "./examples/machine/Machine_AssessPatches.json" + } + }, + "description": "The operation to assess patches on a hybrid machine identity in Azure.", + "parameters": [ + { + "$ref": "../../../../../common-types/resource-management/v1/types.json#/parameters/ApiVersionParameter" + }, + { + "$ref": "../../../../../common-types/resource-management/v1/types.json#/parameters/SubscriptionIdParameter" + }, + { + "name": "resourceGroupName", + "in": "path", + "required": true, + "type": "string", + "description": "The name of the resource group." + }, + { + "name": "name", + "in": "path", + "required": true, + "type": "string", + "description": "The name of the hybrid machine." + } + ], + "responses": { + "200": { + "description": "OK", + "schema": { + "$ref": "#/definitions/MachineAssessPatchesResult" + } + }, + "202": { + "description": "HTTP 202 (Accepted) if the operation was successfully started and will complete asynchronously.", + "headers": { + "Location": { + "description": "The URL of the resource used to check the status of the asynchronous operation.", + "type": "string" + } + } + }, + "default": { + "description": "Error response describing why the operation failed.", + "schema": { + "$ref": "../../../../../common-types/resource-management/v3/types.json#/definitions/ErrorResponse" + } + } + }, + "x-ms-long-running-operation": true, + "x-ms-long-running-operation-options": { + "final-state-via": "location" + } + } + }, + "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.HybridCompute/machines/{name}/installPatches": { + "post": { + "tags": [ + "machines" + ], + "operationId": "Machines_InstallPatches", + "description": "The operation to install patches on a hybrid machine identity in Azure.", + "x-ms-examples": { + "Install patch state of a machine.": { + "$ref": "./examples/machine/Machine_InstallPatches.json" + } + }, + "parameters": [ + { + "$ref": "../../../../../common-types/resource-management/v1/types.json#/parameters/ApiVersionParameter" + }, + { + "$ref": "../../../../../common-types/resource-management/v1/types.json#/parameters/SubscriptionIdParameter" + }, + { + "name": "resourceGroupName", + "in": "path", + "required": true, + "type": "string", + "description": "The name of the resource group." + }, + { + "name": "name", + "in": "path", + "required": true, + "type": "string", + "description": "The name of the hybrid machine." + }, + { + "name": "installPatchesInput", + "in": "body", + "required": true, + "schema": { + "$ref": "#/definitions/MachineInstallPatchesParameters" + }, + "description": "Input for InstallPatches as directly received by the API" + } + ], + "responses": { + "200": { + "description": "OK", + "schema": { + "$ref": "#/definitions/MachineInstallPatchesResult" + } + }, + "202": { + "description": "HTTP 202 (Accepted) if the operation was successfully started and will complete asynchronously.", + "headers": { + "Location": { + "description": "The URL of the resource used to check the status of the asynchronous operation.", + "type": "string" + } + } + }, + "default": { + "description": "Error response describing why the operation failed.", + "schema": { + "$ref": "../../../../../common-types/resource-management/v3/types.json#/definitions/ErrorResponse" + } + } + }, + "x-ms-long-running-operation": true, + "x-ms-long-running-operation-options": { + "final-state-via": "location" + } + } + }, + "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.HybridCompute/machines": { + "get": { + "tags": [ + "machines" + ], + "operationId": "Machines_ListByResourceGroup", + "description": "Lists all the hybrid machines in the specified resource group. Use the nextLink property in the response to get the next page of hybrid machines.", + "parameters": [ + { + "$ref": "../../../../../common-types/resource-management/v3/types.json#/parameters/ApiVersionParameter" + }, + { + "$ref": "../../../../../common-types/resource-management/v3/types.json#/parameters/SubscriptionIdParameter" + }, + { + "$ref": "../../../../../common-types/resource-management/v3/types.json#/parameters/ResourceGroupNameParameter" + }, + { + "name": "$expand", + "in": "query", + "required": false, + "type": "string", + "description": "Expands referenced resources." + } + ], + "responses": { + "200": { + "description": "OK", + "schema": { + "$ref": "#/definitions/MachineListResult" + } + }, + "default": { + "description": "Error response describing why the operation failed.", + "schema": { + "$ref": "../../../../../common-types/resource-management/v3/types.json#/definitions/ErrorResponse" + } + } + }, + "x-ms-examples": { + "List Machines by resource group": { + "$ref": "./examples/machine/Machines_ListByResourceGroup.json" + } + }, + "x-ms-pageable": { + "nextLinkName": "nextLink" + } + } + }, + "/subscriptions/{subscriptionId}/providers/Microsoft.HybridCompute/machines": { + "get": { + "tags": [ + "machines" + ], + "operationId": "Machines_ListBySubscription", + "description": "Lists all the hybrid machines in the specified subscription. Use the nextLink property in the response to get the next page of hybrid machines.", + "parameters": [ + { + "$ref": "../../../../../common-types/resource-management/v3/types.json#/parameters/ApiVersionParameter" + }, + { + "$ref": "../../../../../common-types/resource-management/v3/types.json#/parameters/SubscriptionIdParameter" + } + ], + "responses": { + "200": { + "description": "OK", + "schema": { + "$ref": "#/definitions/MachineListResult" + } + }, + "default": { + "description": "Error response describing why the operation failed.", + "schema": { + "$ref": "../../../../../common-types/resource-management/v3/types.json#/definitions/ErrorResponse" + } + } + }, + "x-ms-examples": { + "List Machines by resource group": { + "$ref": "./examples/machine/Machines_ListBySubscription.json" + } + }, + "x-ms-pageable": { + "nextLinkName": "nextLink" + } + } + }, + "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.HybridCompute/machines/{machineName}/extensions/{extensionName}": { + "put": { + "tags": [ + "MachineExtensions" + ], + "operationId": "MachineExtensions_CreateOrUpdate", + "description": "The operation to create or update the extension.", + "parameters": [ + { + "$ref": "../../../../../common-types/resource-management/v3/types.json#/parameters/ResourceGroupNameParameter" + }, + { + "name": "machineName", + "in": "path", + "required": true, + "type": "string", + "pattern": "[a-zA-Z0-9-_\\.]", + "minLength": 1, + "maxLength": 54, + "description": "The name of the machine where the extension should be created or updated." + }, + { + "name": "extensionName", + "in": "path", + "required": true, + "type": "string", + "description": "The name of the machine extension." + }, + { + "name": "extensionParameters", + "in": "body", + "required": true, + "schema": { + "$ref": "#/definitions/MachineExtension" + }, + "description": "Parameters supplied to the Create Machine Extension operation." + }, + { + "$ref": "../../../../../common-types/resource-management/v3/types.json#/parameters/ApiVersionParameter" + }, + { + "$ref": "../../../../../common-types/resource-management/v3/types.json#/parameters/SubscriptionIdParameter" + } + ], + "responses": { + "200": { + "description": "OK", + "schema": { + "$ref": "#/definitions/MachineExtension" + } + }, + "202": { + "description": "HTTP 202 (Accepted) if the operation was successfully started and will complete asynchronously." + }, + "default": { + "description": "Error response describing why the operation failed.", + "schema": { + "$ref": "../../../../../common-types/resource-management/v3/types.json#/definitions/ErrorResponse" + } + } + }, + "x-ms-examples": { + "Create or Update a Machine Extension": { + "$ref": "./examples/extension/Extension_CreateOrUpdate.json" + } + }, + "x-ms-long-running-operation": true + }, + "patch": { + "tags": [ + "MachineExtensions" + ], + "operationId": "MachineExtensions_Update", + "description": "The operation to create or update the extension.", + "parameters": [ + { + "$ref": "../../../../../common-types/resource-management/v3/types.json#/parameters/ResourceGroupNameParameter" + }, + { + "name": "machineName", + "in": "path", + "required": true, + "type": "string", + "pattern": "[a-zA-Z0-9-_\\.]", + "minLength": 1, + "maxLength": 54, + "description": "The name of the machine where the extension should be created or updated." + }, + { + "name": "extensionName", + "in": "path", + "required": true, + "type": "string", + "description": "The name of the machine extension." + }, + { + "name": "extensionParameters", + "in": "body", + "required": true, + "schema": { + "$ref": "#/definitions/MachineExtensionUpdate" + }, + "description": "Parameters supplied to the Create Machine Extension operation." + }, + { + "$ref": "../../../../../common-types/resource-management/v3/types.json#/parameters/ApiVersionParameter" + }, + { + "$ref": "../../../../../common-types/resource-management/v3/types.json#/parameters/SubscriptionIdParameter" + } + ], + "responses": { + "200": { + "description": "OK", + "schema": { + "$ref": "#/definitions/MachineExtension" + } + }, + "202": { + "description": "Accepted", + "headers": { + "Location": { + "description": "The URL of the resource used to check the status of the asynchronous operation.", + "type": "string" + }, + "Retry-After": { + "description": "The recommended number of seconds to wait before calling the URI specified in Azure-AsyncOperation.", + "type": "integer", + "format": "int32" + }, + "Azure-AsyncOperation": { + "description": "The URI to poll for completion status.", + "type": "string" + } + } + }, + "default": { + "description": "Error response describing why the operation failed.", + "schema": { + "$ref": "../../../../../common-types/resource-management/v3/types.json#/definitions/ErrorResponse" + } + } + }, + "x-ms-examples": { + "Create or Update a Machine Extension": { + "$ref": "./examples/extension/Extension_Update.json" + } + }, + "x-ms-long-running-operation": true + }, + "delete": { + "tags": [ + "MachineExtensions" + ], + "operationId": "MachineExtensions_Delete", + "description": "The operation to delete the extension.", + "parameters": [ + { + "$ref": "../../../../../common-types/resource-management/v3/types.json#/parameters/ResourceGroupNameParameter" + }, + { + "name": "machineName", + "in": "path", + "required": true, + "type": "string", + "pattern": "[a-zA-Z0-9-_\\.]", + "minLength": 1, + "maxLength": 54, + "description": "The name of the machine where the extension should be deleted." + }, + { + "name": "extensionName", + "in": "path", + "required": true, + "type": "string", + "description": "The name of the machine extension." + }, + { + "$ref": "../../../../../common-types/resource-management/v3/types.json#/parameters/ApiVersionParameter" + }, + { + "$ref": "../../../../../common-types/resource-management/v3/types.json#/parameters/SubscriptionIdParameter" + } + ], + "responses": { + "200": { + "description": "OK" + }, + "202": { + "description": "Accepted", + "headers": { + "Location": { + "description": "The URL of the resource used to check the status of the asynchronous operation.", + "type": "string" + }, + "Retry-After": { + "description": "The recommended number of seconds to wait before calling the URI specified in Azure-AsyncOperation.", + "type": "integer", + "format": "int32" + }, + "Azure-AsyncOperation": { + "description": "The URI to poll for completion status.", + "type": "string" + } + } + }, + "204": { + "description": "No Content" + }, + "default": { + "description": "Error response describing why the operation failed.", + "schema": { + "$ref": "../../../../../common-types/resource-management/v3/types.json#/definitions/ErrorResponse" + } + } + }, + "x-ms-long-running-operation": true, + "x-ms-examples": { + "Delete a Machine Extension": { + "$ref": "./examples/extension/Extension_Delete.json" + } + } + }, + "get": { + "tags": [ + "MachineExtensions" + ], + "operationId": "MachineExtensions_Get", + "description": "The operation to get the extension.", + "parameters": [ + { + "$ref": "../../../../../common-types/resource-management/v3/types.json#/parameters/ResourceGroupNameParameter" + }, + { + "name": "machineName", + "in": "path", + "required": true, + "type": "string", + "pattern": "[a-zA-Z0-9-_\\.]", + "minLength": 1, + "maxLength": 54, + "description": "The name of the machine containing the extension." + }, + { + "name": "extensionName", + "in": "path", + "required": true, + "type": "string", + "description": "The name of the machine extension." + }, + { + "$ref": "../../../../../common-types/resource-management/v3/types.json#/parameters/ApiVersionParameter" + }, + { + "$ref": "../../../../../common-types/resource-management/v3/types.json#/parameters/SubscriptionIdParameter" + } + ], + "responses": { + "200": { + "description": "OK", + "schema": { + "$ref": "#/definitions/MachineExtension" + } + }, + "default": { + "description": "Error response describing why the operation failed.", + "schema": { + "$ref": "../../../../../common-types/resource-management/v3/types.json#/definitions/ErrorResponse" + } + } + }, + "x-ms-examples": { + "GET Machine Extension": { + "$ref": "./examples/extension/Extension_Get.json" + } + } + } + }, + "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.HybridCompute/machines/{machineName}/extensions": { + "get": { + "tags": [ + "MachineExtensions" + ], + "operationId": "MachineExtensions_List", + "description": "The operation to get all extensions of a non-Azure machine", + "parameters": [ + { + "$ref": "../../../../../common-types/resource-management/v3/types.json#/parameters/ResourceGroupNameParameter" + }, + { + "name": "machineName", + "in": "path", + "required": true, + "type": "string", + "pattern": "[a-zA-Z0-9-_\\.]", + "minLength": 1, + "maxLength": 54, + "description": "The name of the machine containing the extension." + }, + { + "name": "$expand", + "in": "query", + "required": false, + "type": "string", + "description": "The expand expression to apply on the operation." + }, + { + "$ref": "../../../../../common-types/resource-management/v3/types.json#/parameters/ApiVersionParameter" + }, + { + "$ref": "../../../../../common-types/resource-management/v3/types.json#/parameters/SubscriptionIdParameter" + } + ], + "responses": { + "200": { + "description": "OK", + "schema": { + "$ref": "#/definitions/MachineExtensionsListResult" + } + }, + "default": { + "description": "Error response describing why the operation failed.", + "schema": { + "$ref": "../../../../../common-types/resource-management/v3/types.json#/definitions/ErrorResponse" + } + } + }, + "x-ms-pageable": { + "nextLinkName": "nextLink" + }, + "x-ms-examples": { + "GET all Machine Extensions - List": { + "$ref": "./examples/extension/Extension_List.json" + } + } + } + }, + "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.HybridCompute/machines/{machineName}/upgradeExtensions": { + "post": { + "tags": [ + "MachineExtensions Upgrade" + ], + "operationId": "UpgradeExtensions", + "description": "The operation to Upgrade Machine Extensions.", + "parameters": [ + { + "$ref": "../../../../../common-types/resource-management/v3/types.json#/parameters/ApiVersionParameter" + }, + { + "$ref": "../../../../../common-types/resource-management/v3/types.json#/parameters/SubscriptionIdParameter" + }, + { + "$ref": "../../../../../common-types/resource-management/v3/types.json#/parameters/ResourceGroupNameParameter" + }, + { + "name": "machineName", + "in": "path", + "required": true, + "type": "string", + "pattern": "[a-zA-Z0-9-_\\.]", + "minLength": 1, + "maxLength": 54, + "description": "The name of the hybrid machine." + }, + { + "name": "extensionUpgradeParameters", + "in": "body", + "required": true, + "schema": { + "$ref": "#/definitions/MachineExtensionUpgrade" + }, + "description": "Parameters supplied to the Upgrade Extensions operation." + } + ], + "responses": { + "200": { + "description": "OK" + }, + "202": { + "description": "HTTP 202 (Accepted) if the operation was successfully started and will complete asynchronously.", + "headers": { + "Location": { + "description": "The URL of the resource used to check the status of the asynchronous operation.", + "type": "string" + }, + "Retry-After": { + "description": "The recommended number of seconds to wait before calling the URI specified in Azure-AsyncOperation.", + "type": "integer", + "format": "int32" + }, + "Azure-AsyncOperation": { + "description": "The URI to poll for completion status.", + "type": "string" + } + } + }, + "default": { + "description": "Error response describing why the operation failed.", + "schema": { + "$ref": "../../../../../common-types/resource-management/v3/types.json#/definitions/ErrorResponse" + } + } + }, + "x-ms-examples": { + "Upgrade Machine Extensions": { + "$ref": "./examples/extension/Extensions_Upgrade.json" + } + }, + "x-ms-long-running-operation": true + } + }, + "/subscriptions/{subscriptionId}/providers/Microsoft.HybridCompute/locations/{location}/publishers/{publisher}/extensionTypes/{extensionType}/versions/{version}": { + "get": { + "tags": [ + "extensions" + ], + "operationId": "ExtensionMetadata_Get", + "description": "Gets an Extension Metadata based on location, publisher, extensionType and version", + "parameters": [ + { + "$ref": "../../../../../common-types/resource-management/v3/types.json#/parameters/ApiVersionParameter" + }, + { + "$ref": "../../../../../common-types/resource-management/v3/types.json#/parameters/SubscriptionIdParameter" + }, + { + "name": "location", + "in": "path", + "required": true, + "type": "string", + "description": "The location of the Extension being received." + }, + { + "name": "publisher", + "in": "path", + "required": true, + "type": "string", + "description": "The publisher of the Extension being received." + }, + { + "name": "extensionType", + "in": "path", + "required": true, + "type": "string", + "description": "The extensionType of the Extension being received." + }, + { + "name": "version", + "in": "path", + "required": true, + "type": "string", + "description": "The version of the Extension being received." + } + ], + "responses": { + "200": { + "description": "OK", + "schema": { + "$ref": "#/definitions/ExtensionValue" + } + }, + "default": { + "description": "Error in retrieving an extension metadata", + "schema": { + "$ref": "../../../../../common-types/resource-management/v3/types.json#/definitions/ErrorResponse" + } + } + }, + "x-ms-examples": { + "GET an extensions metadata": { + "$ref": "./examples/extension/ExtensionMetadata_Get.json" + } + } + } + }, + "/subscriptions/{subscriptionId}/providers/Microsoft.HybridCompute/locations/{location}/publishers/{publisher}/extensionTypes/{extensionType}/versions": { + "get": { + "tags": [ + "extensions" + ], + "operationId": "ExtensionMetadata_List", + "description": "Gets all Extension versions based on location, publisher, extensionType", + "parameters": [ + { + "$ref": "../../../../../common-types/resource-management/v3/types.json#/parameters/ApiVersionParameter" + }, + { + "$ref": "../../../../../common-types/resource-management/v3/types.json#/parameters/SubscriptionIdParameter" + }, + { + "name": "location", + "in": "path", + "required": true, + "type": "string", + "description": "The location of the Extension being received." + }, + { + "name": "publisher", + "in": "path", + "required": true, + "type": "string", + "description": "The publisher of the Extension being received." + }, + { + "name": "extensionType", + "in": "path", + "required": true, + "type": "string", + "description": "The extensionType of the Extension being received." + } + ], + "responses": { + "200": { + "description": "OK", + "schema": { + "$ref": "#/definitions/ExtensionValueListResult" + } + }, + "default": { + "description": "Error in retrieving extension list", + "schema": { + "$ref": "../../../../../common-types/resource-management/v3/types.json#/definitions/ErrorResponse" + } + } + }, + "x-ms-pageable": { + "nextLinkName": null + }, + "x-ms-examples": { + "GET a list of extensions": { + "$ref": "./examples/extension/ExtensionMetadata_List.json" + } + } + } + }, + "/providers/Microsoft.HybridCompute/operations": { + "get": { + "tags": [ + "operations" + ], + "operationId": "Operations_List", + "description": "Gets a list of hybrid compute operations.", + "parameters": [ + { + "$ref": "../../../../../common-types/resource-management/v3/types.json#/parameters/ApiVersionParameter" + } + ], + "responses": { + "200": { + "description": "OK", + "schema": { + "$ref": "#/definitions/OperationListResult" + } + }, + "default": { + "description": "Error response describing why the operation failed.", + "schema": { + "$ref": "../../../../../common-types/resource-management/v3/types.json#/definitions/ErrorResponse" + } + } + }, + "x-ms-examples": { + "List Hybrid Compute Provider Operations": { + "$ref": "./examples/Operations_List.json" + } + }, + "x-ms-pageable": { + "nextLinkName": null + } + } + }, + "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.HybridCompute/machines/{machineName}/networkProfile": { + "get": { + "tags": [ + "MachineNetworkProfile" + ], + "operationId": "NetworkProfile_Get", + "description": "The operation to get network information of hybrid machine", + "parameters": [ + { + "$ref": "../../../../../common-types/resource-management/v3/types.json#/parameters/ApiVersionParameter" + }, + { + "$ref": "../../../../../common-types/resource-management/v3/types.json#/parameters/SubscriptionIdParameter" + }, + { + "$ref": "../../../../../common-types/resource-management/v3/types.json#/parameters/ResourceGroupNameParameter" + }, + { + "name": "machineName", + "in": "path", + "required": true, + "type": "string", + "pattern": "[a-zA-Z0-9-_\\.]", + "minLength": 1, + "maxLength": 54, + "description": "The name of the hybrid machine." + } + ], + "responses": { + "200": { + "description": "OK", + "schema": { + "$ref": "#/definitions/NetworkProfile" + } + }, + "default": { + "description": "Error response describing why the operation failed.", + "schema": { + "$ref": "../../../../../common-types/resource-management/v3/types.json#/definitions/ErrorResponse" + } + } + }, + "x-ms-examples": { + "GET Network Profile": { + "$ref": "./examples/NetworkProfile_Get.json" + } + } + } + }, + "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.HybridCompute/machines/{machineName}/hybridIdentityMetadata/{metadataName}": { + "get": { + "tags": [ + "HybridIdentityMetadata" + ], + "operationId": "HybridIdentityMetadata_Get", + "summary": "Gets HybridIdentityMetadata.", + "description": "Implements HybridIdentityMetadata GET method.", + "x-ms-examples": { + "GetHybridIdentityMetadata": { + "$ref": "./examples/HybridIdentityMetadata_Get.json" + } + }, + "produces": [ + "application/json" + ], + "parameters": [ + { + "$ref": "../../../../../common-types/resource-management/v3/types.json#/parameters/SubscriptionIdParameter" + }, + { + "$ref": "../../../../../common-types/resource-management/v3/types.json#/parameters/ResourceGroupNameParameter" + }, + { + "name": "machineName", + "in": "path", + "required": true, + "type": "string", + "pattern": "[a-zA-Z0-9-_\\.]", + "minLength": 1, + "maxLength": 54, + "description": "The name of the hybrid machine." + }, + { + "in": "path", + "name": "metadataName", + "required": true, + "type": "string", + "pattern": "[a-zA-Z0-9-_\\.]", + "description": "Name of the HybridIdentityMetadata." + }, + { + "$ref": "../../../../../common-types/resource-management/v3/types.json#/parameters/ApiVersionParameter" + } + ], + "responses": { + "200": { + "description": "Success", + "schema": { + "$ref": "#/definitions/HybridIdentityMetadata" + } + }, + "default": { + "description": "Error response describing why the operation failed.", + "schema": { + "$ref": "../../../../../common-types/resource-management/v3/types.json#/definitions/ErrorResponse" + } + } + } + } + }, + "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.HybridCompute/machines/{machineName}/hybridIdentityMetadata": { + "get": { + "tags": [ + "HybridIdentityMetadata" + ], + "operationId": "HybridIdentityMetadata_ListByMachines", + "summary": "Implements GET HybridIdentityMetadata in a machine.", + "description": "Returns the list of HybridIdentityMetadata of the given machine.", + "x-ms-examples": { + "HybridIdentityMetadataListByVirtualMachines": { + "$ref": "./examples/HybridIdentityMetadata_ListByVirtualMachines.json" + } + }, + "produces": [ + "application/json" + ], + "parameters": [ + { + "$ref": "../../../../../common-types/resource-management/v3/types.json#/parameters/SubscriptionIdParameter" + }, + { + "$ref": "../../../../../common-types/resource-management/v3/types.json#/parameters/ResourceGroupNameParameter" + }, + { + "name": "machineName", + "in": "path", + "required": true, + "type": "string", + "pattern": "[a-zA-Z0-9-_\\.]", + "minLength": 1, + "maxLength": 54, + "description": "The name of the hybrid machine." + }, + { + "$ref": "../../../../../common-types/resource-management/v3/types.json#/parameters/ApiVersionParameter" + } + ], + "responses": { + "200": { + "description": "Success", + "schema": { + "$ref": "#/definitions/HybridIdentityMetadataList" + } + }, + "default": { + "description": "Error response describing why the operation failed.", + "schema": { + "$ref": "../../../../../common-types/resource-management/v3/types.json#/definitions/ErrorResponse" + } + } + }, + "x-ms-pageable": { + "nextLinkName": "nextLink" + } + } + }, + "/providers/Microsoft.HybridCompute/osType/{osType}/agentVersions": { + "get": { + "tags": [ + "AgentVersions" + ], + "operationId": "AgentVersion_List", + "description": "Gets all Agent Versions along with the download link currently present.", + "parameters": [ + { + "$ref": "../../../../../common-types/resource-management/v3/types.json#/parameters/ApiVersionParameter" + }, + { + "name": "osType", + "in": "path", + "required": true, + "type": "string", + "description": "Defines the os type." + } + ], + "responses": { + "200": { + "description": "OK", + "schema": { + "$ref": "#/definitions/AgentVersionsList" + } + }, + "default": { + "description": "Error response describing why the operation failed.", + "schema": { + "$ref": "../../../../../common-types/resource-management/v2/types.json#/definitions/ErrorResponse" + } + } + }, + "x-ms-examples": { + "GET Agent Versions": { + "$ref": "./examples/AgentVersions_Get.json" + } + } + } + }, + "/providers/Microsoft.HybridCompute/osType/{osType}/agentVersions/{version}": { + "get": { + "tags": [ + "AgentVersions" + ], + "operationId": "AgentVersion_Get", + "description": "Gets an Agent Version along with the download link currently present.", + "parameters": [ + { + "$ref": "../../../../../common-types/resource-management/v3/types.json#/parameters/ApiVersionParameter" + }, + { + "name": "osType", + "in": "path", + "required": true, + "type": "string", + "description": "Defines the os type" + }, + { + "name": "version", + "in": "path", + "required": true, + "type": "string", + "description": "Defines the agent version. To get latest, use latest or else a specific agent version." + } + ], + "responses": { + "200": { + "description": "OK", + "schema": { + "$ref": "#/definitions/AgentVersion" + } + }, + "default": { + "description": "Error response describing why the operation failed.", + "schema": { + "$ref": "../../../../../common-types/resource-management/v2/types.json#/definitions/ErrorResponse" + } + } + }, + "x-ms-examples": { + "GET Agent Versions": { + "$ref": "./examples/AgentVersion_GetLatest.json" + } + } + } + } + }, + "definitions": { + "ExtensionValueListResult": { + "type": "object", + "properties": { + "value": { + "type": "array", + "readOnly": true, + "items": { + "$ref": "#/definitions/ExtensionValue" + }, + "description": "The list of extension metadata", + "x-ms-identifiers": [] + } + }, + "description": "The List Extension Metadata response." + }, + "ExtensionValue": { + "type": "object", + "properties": { + "properties": { + "x-ms-client-flatten": true, + "$ref": "#/definitions/ExtensionValueProperties", + "description": "The single extension based on search criteria" + } + }, + "allOf": [ + { + "$ref": "../../../../../common-types/resource-management/v3/types.json#/definitions/ProxyResource" + } + ], + "description": "Describes a Extension Metadata" + }, + "ExtensionValueProperties": { + "type": "object", + "properties": { + "version": { + "type": "string", + "readOnly": true, + "description": "The version of the Extension being received." + }, + "extensionType": { + "type": "string", + "readOnly": true, + "description": "The type of the Extension being received." + }, + "publisher": { + "type": "string", + "readOnly": true, + "description": "The publisher of the Extension being received." + } + }, + "description": "Describes Extension Metadata properties" + }, + "OperationListResult": { + "type": "object", + "properties": { + "value": { + "type": "array", + "readOnly": true, + "items": { + "$ref": "#/definitions/OperationValue" + }, + "description": "The list of compute operations", + "x-ms-identifiers": [] + } + }, + "description": "The List Compute Operation operation response." + }, + "OperationValue": { + "type": "object", + "properties": { + "origin": { + "type": "string", + "readOnly": true, + "description": "The origin of the compute operation." + }, + "name": { + "type": "string", + "readOnly": true, + "description": "The name of the compute operation." + }, + "display": { + "$ref": "#/definitions/OperationValueDisplay", + "description": "Display properties" + }, + "isDataAction": { + "type": "boolean", + "readOnly": true, + "description": "This property indicates if the operation is an action or a data action" + } + }, + "description": "Describes the properties of a Compute Operation value." + }, + "OperationValueDisplay": { + "type": "object", + "properties": { + "operation": { + "type": "string", + "readOnly": true, + "description": "The display name of the compute operation." + }, + "resource": { + "type": "string", + "readOnly": true, + "description": "The display name of the resource the operation applies to." + }, + "description": { + "type": "string", + "readOnly": true, + "description": "The description of the operation." + }, + "provider": { + "type": "string", + "readOnly": true, + "description": "The resource provider for the operation." + } + }, + "description": "Describes the properties of a Hybrid Compute Operation Value Display." + }, + "PatchSettings": { + "type": "object", + "properties": { + "assessmentMode": { + "type": "string", + "description": "Specifies the assessment mode.", + "enum": [ + "ImageDefault", + "AutomaticByPlatform" + ], + "x-ms-enum": { + "name": "AssessmentModeTypes", + "modelAsString": true + } + }, + "patchMode": { + "type": "string", + "description": "Specifies the patch mode.", + "enum": [ + "ImageDefault", + "AutomaticByPlatform", + "AutomaticByOS", + "Manual" + ], + "x-ms-enum": { + "name": "PatchModeTypes", + "modelAsString": true + } + } + }, + "description": "Specifies the patch settings." + }, + "AgentConfiguration": { + "type": "object", + "readOnly": true, + "properties": { + "proxyUrl": { + "type": "string", + "readOnly": true, + "description": "Specifies the URL of the proxy to be used." + }, + "incomingConnectionsPorts": { + "type": "array", + "readOnly": true, + "description": "Specifies the list of ports that the agent will be able to listen on.", + "items": { + "type": "string" + } + }, + "extensionsAllowList": { + "type": "array", + "readOnly": true, + "items": { + "$ref": "#/definitions/ConfigurationExtension" + }, + "description": "Array of extensions that are allowed to be installed or updated.", + "x-ms-identifiers": [] + }, + "extensionsBlockList": { + "type": "array", + "readOnly": true, + "items": { + "$ref": "#/definitions/ConfigurationExtension" + }, + "description": "Array of extensions that are blocked (cannot be installed or updated)", + "x-ms-identifiers": [] + }, + "proxyBypass": { + "type": "array", + "readOnly": true, + "description": "List of service names which should not use the specified proxy server.", + "items": { + "type": "string" + } + }, + "extensionsEnabled": { + "type": "string", + "readOnly": true, + "description": "Specifies whether the extension service is enabled or disabled." + }, + "guestConfigurationEnabled": { + "type": "string", + "readOnly": true, + "description": "Specified whether the guest configuration service is enabled or disabled." + }, + "configMode": { + "type": "string", + "readOnly": true, + "description": "Name of configuration mode to use. Modes are pre-defined configurations of security controls, extension allowlists and guest configuration, maintained by Microsoft.", + "enum": [ + "full", + "monitor" + ], + "x-ms-enum": { + "name": "agent configuration mode", + "modelAsString": true + } + } + }, + "description": "Configurable properties that the user can set locally via the azcmagent config command, or remotely via ARM." + }, + "ConfigurationExtension": { + "type": "object", + "properties": { + "publisher": { + "type": "string", + "readOnly": true, + "description": "Publisher of the extension." + }, + "type": { + "type": "string", + "readOnly": true, + "description": "Type of the extension." + } + }, + "description": "Describes properties that can identify extensions." + }, + "ServiceStatuses": { + "type": "object", + "properties": { + "extensionService": { + "$ref": "#/definitions/ServiceStatus", + "description": "The state of the extension service on the Arc-enabled machine." + }, + "guestConfigurationService": { + "$ref": "#/definitions/ServiceStatus", + "description": "The state of the guest configuration service on the Arc-enabled machine." + } + }, + "description": "Reports the state and behavior of dependent services." + }, + "ServiceStatus": { + "type": "object", + "properties": { + "status": { + "type": "string", + "description": "The current status of the service." + }, + "startupType": { + "type": "string", + "description": "The behavior of the service when the Arc-enabled machine starts up." + } + }, + "description": "Describes the status and behavior of a service." + }, + "CloudMetadata": { + "type": "object", + "properties": { + "provider": { + "type": "string", + "readOnly": true, + "description": "Specifies the cloud provider (Azure/AWS/GCP...)." + } + }, + "description": "The metadata of the cloud environment (Azure/GCP/AWS/OCI...)." + }, + "AgentUpgrade": { + "type": "object", + "properties": { + "desiredVersion": { + "type": "string", + "description": "Specifies the version info w.r.t AgentUpgrade for the machine." + }, + "correlationId": { + "type": "string", + "description": "The correlation ID passed in from RSM per upgrade." + }, + "enableAutomaticUpgrade": { + "type": "boolean", + "description": "Specifies if RSM should try to upgrade this machine" + }, + "lastAttemptDesiredVersion": { + "type": "string", + "readOnly": true, + "description": "Specifies the version of the last attempt" + }, + "lastAttemptTimestamp": { + "type": "string", + "readOnly": true, + "description": "Timestamp of last upgrade attempt" + }, + "lastAttemptStatus": { + "type": "string", + "readOnly": true, + "enum": [ + "Success", + "Failed" + ], + "x-ms-enum": { + "name": "LastAttemptStatusEnum", + "modelAsString": true + }, + "description": "Specifies the status of Agent Upgrade." + }, + "lastAttemptMessage": { + "type": "string", + "readOnly": true, + "description": "Failure message of last upgrade attempt if any." + } + }, + "description": "The info w.r.t Agent Upgrade." + }, + "OSProfile": { + "type": "object", + "properties": { + "computerName": { + "type": "string", + "readOnly": true, + "description": "Specifies the host OS name of the hybrid machine." + }, + "windowsConfiguration": { + "type": "object", + "properties": { + "patchSettings": { + "x-ms-client-flatten": true, + "$ref": "#/definitions/PatchSettings" + } + }, + "description": "Specifies the windows configuration for update management." + }, + "linuxConfiguration": { + "type": "object", + "properties": { + "patchSettings": { + "x-ms-client-flatten": true, + "$ref": "#/definitions/PatchSettings" + } + }, + "description": "Specifies the linux configuration for update management." + } + }, + "description": "Specifies the operating system settings for the hybrid machine." + }, + "DetectedProperties": { + "readOnly": true, + "type": "object", + "additionalProperties": { + "type": "string" + }, + "description": "Detected properties from the machine." + }, + "MachineProperties": { + "type": "object", + "properties": { + "locationData": { + "$ref": "../../../../../common-types/resource-management/v3/types.json#/definitions/locationData" + }, + "agentConfiguration": { + "$ref": "#/definitions/AgentConfiguration", + "description": "Configurable properties that the user can set locally via the azcmagent config command, or remotely via ARM." + }, + "serviceStatuses": { + "$ref": "#/definitions/ServiceStatuses", + "description": "Statuses of dependent services that are reported back to ARM." + }, + "cloudMetadata": { + "$ref": "#/definitions/CloudMetadata", + "description": "The metadata of the cloud environment (Azure/GCP/AWS/OCI...)." + }, + "agentUpgrade": { + "$ref": "#/definitions/AgentUpgrade", + "description": "The info of the machine w.r.t Agent Upgrade" + }, + "osProfile": { + "$ref": "#/definitions/OSProfile", + "description": "Specifies the operating system settings for the hybrid machine." + }, + "licenseProfile": { + "$ref": "#/definitions/LicenseProfileMachineInstanceView", + "description": "Specifies the ESU related properties for a machine." + }, + "provisioningState": { + "readOnly": true, + "type": "string", + "description": "The provisioning state, which only appears in the response." + }, + "status": { + "readOnly": true, + "type": "string", + "description": "The status of the hybrid machine agent.", + "enum": [ + "Connected", + "Disconnected", + "Error" + ], + "x-ms-enum": { + "name": "StatusTypes", + "modelAsString": true + } + }, + "lastStatusChange": { + "readOnly": true, + "type": "string", + "format": "date-time", + "description": "The time of the last status change." + }, + "errorDetails": { + "readOnly": true, + "type": "array", + "items": { + "$ref": "../../../../../common-types/resource-management/v3/types.json#/definitions/ErrorDetail" + }, + "description": "Details about the error state.", + "x-ms-identifiers": [] + }, + "agentVersion": { + "readOnly": true, + "type": "string", + "description": "The hybrid machine agent full version." + }, + "vmId": { + "type": "string", + "x-ms-mutability": [ + "read", + "create" + ], + "description": "Specifies the hybrid machine unique ID." + }, + "displayName": { + "readOnly": true, + "type": "string", + "description": "Specifies the hybrid machine display name." + }, + "machineFqdn": { + "readOnly": true, + "type": "string", + "description": "Specifies the hybrid machine FQDN." + }, + "clientPublicKey": { + "type": "string", + "description": "Public Key that the client provides to be used during initial resource onboarding" + }, + "osName": { + "readOnly": true, + "type": "string", + "description": "The Operating System running on the hybrid machine." + }, + "osVersion": { + "readOnly": true, + "type": "string", + "description": "The version of Operating System running on the hybrid machine." + }, + "osType": { + "type": "string", + "description": "The type of Operating System (windows/linux)." + }, + "vmUuid": { + "readOnly": true, + "type": "string", + "description": "Specifies the Arc Machine's unique SMBIOS ID" + }, + "extensions": { + "type": "array", + "items": { + "$ref": "#/definitions/MachineExtensionInstanceView" + }, + "description": "Machine Extensions information (deprecated field)", + "x-ms-identifiers": [] + }, + "osSku": { + "readOnly": true, + "type": "string", + "description": "Specifies the Operating System product SKU." + }, + "domainName": { + "readOnly": true, + "type": "string", + "description": "Specifies the Windows domain name." + }, + "adFqdn": { + "readOnly": true, + "type": "string", + "description": "Specifies the AD fully qualified display name." + }, + "dnsFqdn": { + "readOnly": true, + "type": "string", + "description": "Specifies the DNS fully qualified display name." + }, + "privateLinkScopeResourceId": { + "type": "string", + "description": "The resource id of the private link scope this machine is assigned to, if any." + }, + "parentClusterResourceId": { + "type": "string", + "description": "The resource id of the parent cluster (Azure HCI) this machine is assigned to, if any." + }, + "mssqlDiscovered": { + "type": "string", + "description": "Specifies whether any MS SQL instance is discovered on the machine." + }, + "detectedProperties": { + "$ref": "#/definitions/DetectedProperties", + "description": "Detected properties from the machine." + }, + "networkProfile": { + "$ref": "#/definitions/NetworkProfile", + "description": "Information about the network the machine is on." + } + }, + "description": "Describes the properties of a hybrid machine." + }, + "MachineUpdateProperties": { + "type": "object", + "properties": { + "locationData": { + "$ref": "../../../../../common-types/resource-management/v3/types.json#/definitions/locationData" + }, + "osProfile": { + "$ref": "#/definitions/OSProfile" + }, + "cloudMetadata": { + "$ref": "#/definitions/CloudMetadata", + "description": "The metadata of the cloud environment (Azure/GCP/AWS/OCI...)." + }, + "agentUpgrade": { + "$ref": "#/definitions/AgentUpgrade", + "description": "The info of the machine w.r.t Agent Upgrade" + }, + "parentClusterResourceId": { + "type": "string", + "description": "The resource id of the parent cluster (Azure HCI) this machine is assigned to, if any." + }, + "privateLinkScopeResourceId": { + "type": "string", + "description": "The resource id of the private link scope this machine is assigned to, if any." + } + }, + "description": "Describes the ARM updatable properties of a hybrid machine." + }, + "Machine": { + "type": "object", + "properties": { + "properties": { + "x-ms-client-flatten": true, + "$ref": "#/definitions/MachineProperties", + "description": "Hybrid Compute Machine properties" + }, + "resources": { + "readOnly": true, + "type": "array", + "items": { + "$ref": "#/definitions/MachineExtension" + }, + "description": "The list of extensions affiliated to the machine" + }, + "identity": { + "$ref": "../../../../../common-types/resource-management/v3/types.json#/definitions/Identity" + }, + "kind": { + "$ref": "#/definitions/ArcKindEnum" + } + }, + "allOf": [ + { + "$ref": "../../../../../common-types/resource-management/v3/types.json#/definitions/TrackedResource" + } + ], + "description": "Describes a hybrid machine." + }, + "ArcKindEnum": { + "type": "string", + "description": "Indicates which kind of Arc machine placement on-premises, such as HCI, SCVMM or VMware etc.", + "enum": [ + "AVS", + "HCI", + "SCVMM", + "VMware", + "EPS", + "GCP", + "AWS" + ], + "x-ms-enum": { + "name": "ArcKindEnum ", + "modelAsString": true + } + }, + "MachineUpdate": { + "type": "object", + "properties": { + "identity": { + "$ref": "../../../../../common-types/resource-management/v3/types.json#/definitions/Identity" + }, + "kind": { + "$ref": "#/definitions/ArcKindEnum" + }, + "properties": { + "x-ms-client-flatten": true, + "$ref": "#/definitions/MachineUpdateProperties", + "description": "Hybrid Compute Machine properties" + } + }, + "allOf": [ + { + "$ref": "#/definitions/ResourceUpdate" + } + ], + "description": "Describes a hybrid machine Update." + }, + "MachineListResult": { + "type": "object", + "properties": { + "value": { + "type": "array", + "items": { + "$ref": "#/definitions/Machine" + }, + "description": "The list of hybrid machines." + }, + "nextLink": { + "type": "string", + "description": "The URI to fetch the next page of Machines. Call ListNext() with this URI to fetch the next page of hybrid machines." + } + }, + "required": [ + "value" + ], + "description": "The List hybrid machine operation response." + }, + "ProvisioningState": { + "readOnly": true, + "type": "string", + "enum": [ + "Creating", + "Updating", + "Deleting", + "Succeeded", + "Failed", + "Accepted", + "Canceled", + "Deleted" + ], + "x-ms-enum": { + "name": "ProvisioningState", + "modelAsString": true + }, + "description": "The provisioning state, which only appears in the response." + }, + "License": { + "type": "object", + "properties": { + "properties": { + "x-ms-client-flatten": true, + "$ref": "#/definitions/LicenseProperties", + "description": "Hybrid Compute License properties" + } + }, + "allOf": [ + { + "$ref": "../../../../../common-types/resource-management/v3/types.json#/definitions/TrackedResource" + } + ], + "description": "Describes a license in a hybrid machine." + }, + "LicenseProperties": { + "type": "object", + "properties": { + "provisioningState": { + "$ref": "#/definitions/ProvisioningState", + "description": "The provisioning state, which only appears in the response." + }, + "tenantId": { + "type": "string", + "description": "Describes the tenant id." + }, + "licenseType": { + "$ref": "#/definitions/LicenseType", + "description": "The type of the license resource." + }, + "licenseDetails": { + "$ref": "#/definitions/LicenseDetails", + "description": "Describes the properties of a License." + } + }, + "description": "Describes the properties of a License Profile." + }, + "LicenseUpdate": { + "type": "object", + "properties": { + "properties": { + "x-ms-client-flatten": true, + "$ref": "#/definitions/LicenseUpdateProperties", + "description": "License Update properties" + } + }, + "allOf": [ + { + "$ref": "#/definitions/ResourceUpdate" + } + ], + "description": "Describes a License Update." + }, + "LicenseUpdateProperties": { + "type": "object", + "properties": { + "licenseType": { + "$ref": "#/definitions/LicenseType", + "description": "The type of the license resource." + }, + "licenseDetails": { + "x-ms-client-flatten": true, + "type": "object", + "properties": { + "state": { + "$ref": "#/definitions/LicenseState" + }, + "target": { + "$ref": "#/definitions/LicenseTarget" + }, + "edition": { + "$ref": "#/definitions/LicenseEdition" + }, + "type": { + "$ref": "#/definitions/LicenseCoreType" + }, + "processors": { + "type": "integer", + "format": "int32", + "description": "Describes the number of processors." + } + } + } + }, + "description": "Describes the Update properties of a License Profile." + }, + "LicenseDetails": { + "type": "object", + "properties": { + "state": { + "$ref": "#/definitions/LicenseState" + }, + "target": { + "$ref": "#/definitions/LicenseTarget" + }, + "edition": { + "$ref": "#/definitions/LicenseEdition" + }, + "type": { + "$ref": "#/definitions/LicenseCoreType" + }, + "processors": { + "type": "integer", + "format": "int32", + "description": "Describes the number of processors." + }, + "assignedLicenses": { + "readOnly": true, + "type": "integer", + "format": "int32", + "description": "Describes the number of assigned licenses." + }, + "immutableId": { + "readOnly": true, + "type": "string", + "description": "Describes the immutable id." + } + }, + "description": "Describes the properties of a License." + }, + "LicenseType": { + "type": "string", + "enum": [ + "ESU" + ], + "x-ms-enum": { + "name": "LicenseType", + "modelAsString": true + }, + "description": "The type of the license resource." + }, + "LicenseState": { + "type": "string", + "enum": [ + "Activated", + "Deactivated" + ], + "x-ms-enum": { + "name": "LicenseState", + "modelAsString": true + }, + "description": "Describes the state of the license." + }, + "LicenseEdition": { + "type": "string", + "enum": [ + "Standard", + "Datacenter" + ], + "x-ms-enum": { + "name": "LicenseEdition", + "modelAsString": true + }, + "description": "Describes the edition of the license. The values are either Standard or Datacenter." + }, + "LicenseTarget": { + "type": "string", + "enum": [ + "Windows Server 2012", + "Windows Server 2012 R2" + ], + "x-ms-enum": { + "name": "LicenseTarget", + "modelAsString": true + }, + "description": "Describes the license target server." + }, + "LicenseCoreType": { + "type": "string", + "enum": [ + "pCore", + "vCore" + ], + "x-ms-enum": { + "name": "LicenseCoreType", + "modelAsString": true + }, + "description": "Describes the license core type (pCore or vCore)." + }, + "LicensesListResult": { + "type": "object", + "properties": { + "value": { + "type": "array", + "items": { + "$ref": "#/definitions/License" + }, + "description": "The list of licenses." + }, + "nextLink": { + "type": "string", + "description": "The URI to fetch the next page of Machines. Call ListNext() with this URI to fetch the next page of license profile." + } + }, + "required": [ + "value" + ], + "description": "The List license operation response." + }, + "LicenseProfile": { + "type": "object", + "properties": { + "properties": { + "x-ms-client-flatten": true, + "type": "object", + "properties": { + "esuProfile": { + "x-ms-client-flatten": true, + "$ref": "#/definitions/LicenseProfileArmEsuProperties", + "description": "Hybrid Compute ESU Profile properties" + }, + "provisioningState": { + "$ref": "#/definitions/ProvisioningState", + "description": "The provisioning state, which only appears in the response." + } + }, + "description": "Describe the properties of a license profile." + } + }, + "allOf": [ + { + "$ref": "../../../../../common-types/resource-management/v3/types.json#/definitions/TrackedResource" + } + ], + "description": "Describes a license profile in a hybrid machine." + }, + "LicenseProfileUpdate": { + "type": "object", + "properties": { + "properties": { + "x-ms-client-flatten": true, + "type": "object", + "properties": { + "esuProfile": { + "x-ms-client-flatten": true, + "$ref": "#/definitions/EsuProfileUpdateProperties", + "description": "Hybrid Compute ESU Profile Update properties" + } + }, + "description": "Describe the Update properties of a license profile." + } + }, + "allOf": [ + { + "$ref": "#/definitions/ResourceUpdate" + } + ], + "description": "Describes a License Profile Update." + }, + "LicenseProfilesListResult": { + "type": "object", + "properties": { + "value": { + "type": "array", + "items": { + "$ref": "#/definitions/LicenseProfile" + }, + "description": "The list of license profiles." + }, + "nextLink": { + "type": "string", + "description": "The URI to fetch the next page of Machines. Call ListNext() with this URI to fetch the next page of license profile." + } + }, + "required": [ + "value" + ], + "description": "The List hybrid machine license profile operation response." + }, + "EsuServerType": { + "type": "string", + "enum": [ + "Standard", + "Datacenter" + ], + "x-ms-enum": { + "name": "EsuServerType", + "modelAsString": true + }, + "description": "The server types for Esu." + }, + "EsuEligibility": { + "type": "string", + "enum": [ + "Eligible", + "Ineligible", + "Unknown" + ], + "x-ms-enum": { + "name": "EsuEligibility", + "modelAsString": true + }, + "description": "The ESU eligibility." + }, + "EsuKey": { + "type": "object", + "properties": { + "sku": { + "type": "string", + "description": "SKU number." + }, + "licenseStatus": { + "type": "string", + "description": "The current status of the license profile key." + } + }, + "description": "ESU key" + }, + "EsuKeyState": { + "type": "string", + "enum": [ + "Inactive", + "Active" + ], + "x-ms-enum": { + "name": "EsuKeyState", + "modelAsString": true + }, + "description": "The ESU key state." + }, + "LicenseProfileStorageModelEsuProperties": { + "type": "object", + "properties": { + "assignedLicenseImmutableId": { + "readOnly": true, + "type": "string", + "description": "The guid id of the license." + }, + "esuKeys": { + "readOnly": true, + "type": "array", + "items": { + "$ref": "#/definitions/EsuKey" + }, + "description": "The list of ESU keys.", + "x-ms-identifiers": [] + } + }, + "description": "License profile storage model for ESU properties." + }, + "LicenseProfileArmEsuProperties": { + "type": "object", + "properties": { + "assignedLicense": { + "type": "string", + "description": "The resource id of the license." + } + }, + "allOf": [ + { + "$ref": "#/definitions/LicenseProfileArmEsuPropertiesWithoutAssignedLicense" + } + ], + "description": "Describes the properties of a License Profile ARM model." + }, + "LicenseProfileArmEsuPropertiesWithoutAssignedLicense": { + "type": "object", + "properties": { + "serverType": { + "readOnly": true, + "$ref": "#/definitions/EsuServerType", + "description": "The type of the Esu servers." + }, + "esuEligibility": { + "readOnly": true, + "$ref": "#/definitions/EsuEligibility", + "description": "Indicates the eligibility state of Esu." + }, + "esuKeyState": { + "readOnly": true, + "$ref": "#/definitions/EsuKeyState", + "description": "Indicates whether there is an ESU Key currently active for the machine." + } + }, + "allOf": [ + { + "$ref": "#/definitions/LicenseProfileStorageModelEsuProperties" + } + ], + "description": "Describes the properties of a License Profile ARM model." + }, + "EsuProfileUpdateProperties": { + "type": "object", + "properties": { + "assignedLicense": { + "type": "string", + "description": "The resource id of the license." + } + }, + "description": "Describes the Update properties of a License Profile." + }, + "LicenseProfileMachineInstanceView": { + "type": "object", + "properties": { + "esuProfile": { + "$ref": "#/definitions/LicenseProfileMachineInstanceViewEsuProperties" + } + }, + "description": "License Profile Instance View in Machine Properties." + }, + "LicenseProfileMachineInstanceViewEsuProperties": { + "type": "object", + "properties": { + "assignedLicense": { + "$ref": "#/definitions/License", + "description": "The assigned license resource." + }, + "licenseAssignmentState": { + "type": "string", + "enum": [ + "Assigned", + "NotAssigned" + ], + "description": "Describes the license assignment state (Assigned or NotAssigned).", + "x-ms-enum": { + "name": "licenseAssignmentState", + "modelAsString": true + } + } + }, + "allOf": [ + { + "$ref": "#/definitions/LicenseProfileArmEsuPropertiesWithoutAssignedLicense" + } + ], + "description": "Properties for the Machine ESU profile." + }, + "ResourceUpdate": { + "type": "object", + "description": "The Update Resource model definition.", + "properties": { + "tags": { + "type": "object", + "additionalProperties": { + "type": "string" + }, + "description": "Resource tags" + } + } + }, + "MachineExtension": { + "type": "object", + "properties": { + "properties": { + "$ref": "#/definitions/MachineExtensionProperties", + "description": "Describes Machine Extension Properties." + } + }, + "allOf": [ + { + "$ref": "../../../../../common-types/resource-management/v3/types.json#/definitions/TrackedResource" + } + ], + "description": "Describes a Machine Extension." + }, + "MachineExtensionUpdate": { + "type": "object", + "properties": { + "properties": { + "x-ms-client-flatten": true, + "$ref": "#/definitions/MachineExtensionUpdateProperties", + "description": "Describes Machine Extension Update Properties." + } + }, + "allOf": [ + { + "$ref": "#/definitions/ResourceUpdate" + } + ], + "description": "Describes a Machine Extension Update." + }, + "MachineExtensionProperties": { + "type": "object", + "properties": { + "forceUpdateTag": { + "type": "string", + "description": "How the extension handler should be forced to update even if the extension configuration has not changed." + }, + "publisher": { + "type": "string", + "description": "The name of the extension handler publisher." + }, + "type": { + "type": "string", + "description": "Specifies the type of the extension; an example is \"CustomScriptExtension\"." + }, + "typeHandlerVersion": { + "type": "string", + "description": "Specifies the version of the script handler." + }, + "enableAutomaticUpgrade": { + "type": "boolean", + "description": "Indicates whether the extension should be automatically upgraded by the platform if there is a newer version available." + }, + "autoUpgradeMinorVersion": { + "type": "boolean", + "description": "Indicates whether the extension should use a newer minor version if one is available at deployment time. Once deployed, however, the extension will not upgrade minor versions unless redeployed, even with this property set to true." + }, + "settings": { + "type": "object", + "additionalProperties": {}, + "description": "Json formatted public settings for the extension." + }, + "protectedSettings": { + "type": "object", + "additionalProperties": {}, + "description": "The extension can contain either protectedSettings or protectedSettingsFromKeyVault or no protected settings at all." + }, + "provisioningState": { + "readOnly": true, + "type": "string", + "description": "The provisioning state, which only appears in the response." + }, + "instanceView": { + "$ref": "#/definitions/MachineExtensionInstanceView", + "description": "The machine extension instance view." + } + }, + "description": "Describes the properties of a Machine Extension." + }, + "MachineExtensionUpdateProperties": { + "type": "object", + "properties": { + "forceUpdateTag": { + "type": "string", + "description": "How the extension handler should be forced to update even if the extension configuration has not changed." + }, + "publisher": { + "type": "string", + "description": "The name of the extension handler publisher." + }, + "type": { + "type": "string", + "description": "Specifies the type of the extension; an example is \"CustomScriptExtension\"." + }, + "typeHandlerVersion": { + "type": "string", + "description": "Specifies the version of the script handler." + }, + "enableAutomaticUpgrade": { + "type": "boolean", + "description": "Indicates whether the extension should be automatically upgraded by the platform if there is a newer version available." + }, + "autoUpgradeMinorVersion": { + "type": "boolean", + "description": "Indicates whether the extension should use a newer minor version if one is available at deployment time. Once deployed, however, the extension will not upgrade minor versions unless redeployed, even with this property set to true." + }, + "settings": { + "type": "object", + "additionalProperties": {}, + "description": "Json formatted public settings for the extension." + }, + "protectedSettings": { + "type": "object", + "additionalProperties": {}, + "description": "The extension can contain either protectedSettings or protectedSettingsFromKeyVault or no protected settings at all." + } + }, + "description": "Describes the properties of a Machine Extension." + }, + "MachineExtensionInstanceView": { + "type": "object", + "properties": { + "name": { + "type": "string", + "description": "The machine extension name." + }, + "type": { + "type": "string", + "description": "Specifies the type of the extension; an example is \"CustomScriptExtension\"." + }, + "typeHandlerVersion": { + "type": "string", + "description": "Specifies the version of the script handler." + }, + "status": { + "type": "object", + "properties": { + "code": { + "type": "string", + "description": "The status code." + }, + "level": { + "type": "string", + "description": "The level code.", + "enum": [ + "Info", + "Warning", + "Error" + ], + "x-ms-enum": { + "name": "StatusLevelTypes", + "modelAsString": true + } + }, + "displayStatus": { + "type": "string", + "description": "The short localizable label for the status." + }, + "message": { + "type": "string", + "description": "The detailed status message, including for alerts and error messages." + }, + "time": { + "type": "string", + "format": "date-time", + "description": "The time of the status." + } + }, + "description": "Instance view status." + } + }, + "description": "Describes the Machine Extension Instance View." + }, + "MachineExtensionsListResult": { + "type": "object", + "properties": { + "value": { + "type": "array", + "items": { + "$ref": "#/definitions/MachineExtension" + }, + "description": "The list of extensions" + }, + "nextLink": { + "type": "string", + "description": "The uri to fetch the next page of machine extensions. Call ListNext() with this to fetch the next page of extensions." + } + }, + "description": "Describes the Machine Extensions List Result." + }, + "TargetVersion": { + "type": "string", + "description": "Extension Upgrade Target Version." + }, + "ExtensionTargetProperties": { + "type": "object", + "properties": { + "targetVersion": { + "type": "object", + "$ref": "#/definitions/TargetVersion", + "description": "Properties for the specified Extension to Upgrade." + } + }, + "description": "Describes the Machine Extension Target Version Properties" + }, + "ExtensionTarget": { + "type": "object", + "additionalProperties": { + "type": "object", + "$ref": "#/definitions/ExtensionTargetProperties" + }, + "description": "Describes the Machine Extension Target Properties" + }, + "MachineExtensionUpgrade": { + "type": "object", + "properties": { + "extensionTargets": { + "$ref": "#/definitions/ExtensionTarget", + "description": "Describes the Extension Target Properties." + } + }, + "description": "Describes the Machine Extension Upgrade Properties." + }, + "NetworkProfile": { + "type": "object", + "readOnly": true, + "properties": { + "networkInterfaces": { + "type": "array", + "items": { + "$ref": "#/definitions/NetworkInterface" + }, + "description": "The list of network interfaces.", + "x-ms-identifiers": [] + } + }, + "description": "Describes the network information on this machine." + }, + "NetworkInterface": { + "type": "object", + "readOnly": true, + "properties": { + "ipAddresses": { + "type": "array", + "items": { + "$ref": "#/definitions/IpAddress" + }, + "description": "The list of IP addresses in this interface.", + "x-ms-identifiers": [] + } + }, + "description": "Describes a network interface." + }, + "IpAddress": { + "type": "object", + "readOnly": true, + "properties": { + "address": { + "type": "string", + "description": "Represents the IP Address." + }, + "ipAddressVersion": { + "type": "string", + "description": "Represents the Ip Address Version." + }, + "subnet": { + "type": "object", + "$ref": "#/definitions/Subnet", + "description": "The subnet to which this IP address belongs." + } + }, + "description": "Describes properties of the IP address." + }, + "Subnet": { + "type": "object", + "readOnly": true, + "properties": { + "addressPrefix": { + "type": "string", + "description": "Represents address prefix." + } + }, + "description": "Describes the subnet." + }, + "HybridIdentityMetadataList": { + "description": "List of HybridIdentityMetadata.", + "type": "object", + "properties": { + "nextLink": { + "description": "Url to follow for getting next page of HybridIdentityMetadata.", + "type": "string" + }, + "value": { + "description": "Array of HybridIdentityMetadata", + "type": "array", + "items": { + "$ref": "#/definitions/HybridIdentityMetadata" + } + } + }, + "required": [ + "value" + ] + }, + "HybridIdentityMetadata": { + "description": "Defines the HybridIdentityMetadata.", + "required": [ + "properties" + ], + "type": "object", + "allOf": [ + { + "$ref": "../../../../../common-types/resource-management/v3/types.json#/definitions/ProxyResource", + "description": "The resource model definition for an Azure Resource Manager proxy resource. It will have everything other than required location and tags." + } + ], + "properties": { + "properties": { + "x-ms-client-flatten": true, + "description": "Resource properties.", + "$ref": "#/definitions/HybridIdentityMetadataProperties" + }, + "systemData": { + "$ref": "../../../../../common-types/resource-management/v3/types.json#/definitions/systemData", + "description": "The system data." + } + }, + "x-ms-azure-resource": true + }, + "HybridIdentityMetadataProperties": { + "description": "Defines the resource properties.", + "type": "object", + "properties": { + "vmId": { + "description": "The unique identifier for the resource.", + "type": "string" + }, + "publicKey": { + "description": "The Public Key.", + "type": "string" + }, + "identity": { + "$ref": "../../../../../common-types/resource-management/v3/types.json#/definitions/Identity", + "readOnly": true + } + } + }, + "AgentVersionsList": { + "type": "object", + "readOnly": true, + "properties": { + "value": { + "type": "array", + "items": { + "$ref": "#/definitions/AgentVersion" + }, + "description": "The list of available Agent Versions.", + "x-ms-identifiers": [ + "agentVersion" + ] + }, + "nextLink": { + "type": "string", + "description": "The URI to fetch the next 10 available Agent Versions." + } + }, + "description": "Describes AgentVersions List." + }, + "AgentVersion": { + "type": "object", + "readOnly": true, + "properties": { + "agentVersion": { + "type": "string", + "description": "Represents the agent version." + }, + "downloadLink": { + "type": "string", + "description": "Represents the download link of specific agent version." + }, + "osType": { + "type": "string", + "description": "Defines the os type." + } + }, + "description": "Describes properties of Agent Version." + }, + "MachineAssessPatchesResult": { + "type": "object", + "properties": { + "status": { + "type": "string", + "readOnly": true, + "description": "The overall success or failure status of the operation. It remains \"InProgress\" until the operation completes. At that point it will become \"Unknown\", \"Failed\", \"Succeeded\", or \"CompletedWithWarnings.\"", + "enum": [ + "Unknown", + "InProgress", + "Failed", + "Succeeded", + "CompletedWithWarnings" + ], + "x-ms-enum": { + "name": "PatchOperationStatus", + "modelAsString": true + } + }, + "assessmentActivityId": { + "type": "string", + "readOnly": true, + "description": "The activity ID of the operation that produced this result." + }, + "rebootPending": { + "type": "boolean", + "readOnly": true, + "description": "The overall reboot status of the VM. It will be true when partially installed patches require a reboot to complete installation but the reboot has not yet occurred." + }, + "availablePatchCountByClassification": { + "$ref": "#/definitions/AvailablePatchCountByClassification", + "description": "Summarization of patches available for installation on the machine by classification." + }, + "startDateTime": { + "type": "string", + "readOnly": true, + "format": "date-time", + "description": "The UTC timestamp when the operation began." + }, + "lastModifiedDateTime": { + "type": "string", + "readOnly": true, + "format": "date-time", + "description": "The UTC timestamp when the operation finished." + }, + "startedBy": { + "type": "string", + "readOnly": true, + "enum": [ + "User", + "Platform" + ], + "x-ms-enum": { + "name": "PatchOperationStartedBy", + "modelAsString": true + }, + "description": "Indicates if operation was triggered by user or by platform." + }, + "patchServiceUsed": { + "type": "string", + "readOnly": true, + "enum": [ + "Unknown", + "WU", + "WU_WSUS", + "YUM", + "APT", + "Zypper" + ], + "x-ms-enum": { + "name": "PatchServiceUsed", + "modelAsString": true + }, + "description": "Specifies the patch service used for the operation." + }, + "osType": { + "type": "string", + "readOnly": true, + "enum": [ + "Windows", + "Linux" + ], + "x-ms-enum": { + "name": "OsType", + "modelAsString": true + }, + "description": "The operating system type of the machine." + }, + "errorDetails": { + "$ref": "../../../../../common-types/resource-management/v3/types.json#/definitions/ErrorDetail", + "readOnly": true, + "description": "The errors that were encountered during execution of the operation. The details array contains the list of them." + } + }, + "description": "Describes the properties of an AssessPatches result." + }, + "AvailablePatchCountByClassification": { + "type": "object", + "properties": { + "security": { + "readOnly": true, + "type": "integer", + "format": "int32", + "description": "Number of security patches available for installation." + }, + "critical": { + "readOnly": true, + "type": "integer", + "format": "int32", + "description": "Number of critical patches available for installation." + }, + "definition": { + "readOnly": true, + "type": "integer", + "format": "int32", + "description": "Number of definition patches available for installation." + }, + "updateRollup": { + "readOnly": true, + "type": "integer", + "format": "int32", + "description": "Number of update Rollup patches available for installation." + }, + "featurePack": { + "readOnly": true, + "type": "integer", + "format": "int32", + "description": "Number of feature pack patches available for installation." + }, + "servicePack": { + "readOnly": true, + "type": "integer", + "format": "int32", + "description": "Number of service pack patches available for installation." + }, + "tools": { + "readOnly": true, + "type": "integer", + "format": "int32", + "description": "Number of tools patches available for installation." + }, + "updates": { + "readOnly": true, + "type": "integer", + "format": "int32", + "description": "Number of updates category patches available for installation." + }, + "other": { + "readOnly": true, + "type": "integer", + "format": "int32", + "description": "Number of other patches available for installation." + } + }, + "description": "Summarization of patches available for installation on the machine by classification." + }, + "MachineInstallPatchesParameters": { + "type": "object", + "properties": { + "maximumDuration": { + "type": "string", + "description": "Specifies the maximum amount of time that the operation will run. It must be an ISO 8601-compliant duration string such as PT4H (4 hours)" + }, + "rebootSetting": { + "type": "string", + "description": "Defines when it is acceptable to reboot a VM during a software update operation.", + "enum": [ + "IfRequired", + "Never", + "Always" + ], + "x-ms-enum": { + "name": "VMGuestPatchRebootSetting", + "modelAsString": true + } + }, + "windowsParameters": { + "$ref": "#/definitions/WindowsParameters", + "description": "Input for InstallPatches on a Windows VM, as directly received by the API" + }, + "linuxParameters": { + "$ref": "#/definitions/LinuxParameters", + "description": "Input for InstallPatches on a Linux VM, as directly received by the API" + } + }, + "required": [ + "maximumDuration", + "rebootSetting" + ], + "description": "Input for InstallPatches as directly received by the API" + }, + "WindowsParameters": { + "type": "object", + "properties": { + "classificationsToInclude": { + "type": "array", + "description": "The update classifications to select when installing patches for Windows.", + "items": { + "type": "string", + "enum": [ + "Critical", + "Security", + "UpdateRollUp", + "FeaturePack", + "ServicePack", + "Definition", + "Tools", + "Updates" + ], + "x-ms-enum": { + "name": "VMGuestPatchClassification_Windows", + "modelAsString": true + } + } + }, + "kbNumbersToInclude": { + "type": "array", + "description": "Kbs to include in the patch operation", + "items": { + "type": "string" + } + }, + "kbNumbersToExclude": { + "type": "array", + "description": "Kbs to exclude in the patch operation", + "items": { + "type": "string" + } + }, + "excludeKbsRequiringReboot": { + "type": "boolean", + "description": "Filters out Kbs that don't have an InstallationRebootBehavior of 'NeverReboots' when this is set to true." + }, + "maxPatchPublishDate": { + "type": "string", + "format": "date-time", + "description": "This is used to install patches that were published on or before this given max published date." + } + }, + "description": "Input for InstallPatches on a Windows VM, as directly received by the API" + }, + "LinuxParameters": { + "type": "object", + "properties": { + "classificationsToInclude": { + "type": "array", + "description": "The update classifications to select when installing patches for Linux.", + "items": { + "type": "string", + "enum": [ + "Critical", + "Security", + "Other" + ], + "x-ms-enum": { + "name": "VMGuestPatchClassification_Linux", + "modelAsString": true + } + } + }, + "packageNameMasksToInclude": { + "type": "array", + "description": "packages to include in the patch operation. Format: packageName_packageVersion", + "items": { + "type": "string" + } + }, + "packageNameMasksToExclude": { + "type": "array", + "description": "packages to exclude in the patch operation. Format: packageName_packageVersion", + "items": { + "type": "string" + } + } + }, + "description": "Input for InstallPatches on a Linux VM, as directly received by the API" + }, + "MachineInstallPatchesResult": { + "type": "object", + "properties": { + "status": { + "type": "string", + "readOnly": true, + "description": "The overall success or failure status of the operation. It remains \"InProgress\" until the operation completes. At that point it will become \"Failed\", \"Succeeded\", \"Unknown\" or \"CompletedWithWarnings.\"", + "enum": [ + "Unknown", + "InProgress", + "Failed", + "Succeeded", + "CompletedWithWarnings" + ], + "x-ms-enum": { + "name": "PatchOperationStatus", + "modelAsString": true + } + }, + "installationActivityId": { + "type": "string", + "readOnly": true, + "description": "The activity ID of the operation that produced this result." + }, + "rebootStatus": { + "type": "string", + "readOnly": true, + "description": "The reboot state of the VM following completion of the operation.", + "enum": [ + "Unknown", + "NotNeeded", + "Required", + "Started", + "Failed", + "Completed" + ], + "x-ms-enum": { + "name": "VMGuestPatchRebootStatus", + "modelAsString": true + } + }, + "maintenanceWindowExceeded": { + "type": "boolean", + "readOnly": true, + "description": "Whether the operation ran out of time before it completed all its intended actions." + }, + "excludedPatchCount": { + "type": "integer", + "readOnly": true, + "format": "int32", + "description": "The number of patches that were not installed due to the user blocking their installation." + }, + "notSelectedPatchCount": { + "type": "integer", + "readOnly": true, + "format": "int32", + "description": "The number of patches that were detected as available for install, but did not meet the operation's criteria." + }, + "pendingPatchCount": { + "type": "integer", + "readOnly": true, + "format": "int32", + "description": "The number of patches that were identified as meeting the installation criteria, but were not able to be installed. Typically this happens when maintenanceWindowExceeded == true." + }, + "installedPatchCount": { + "type": "integer", + "readOnly": true, + "format": "int32", + "description": "The number of patches successfully installed." + }, + "failedPatchCount": { + "type": "integer", + "readOnly": true, + "format": "int32", + "description": "The number of patches that could not be installed due to some issue. See errors for details." + }, + "startDateTime": { + "type": "string", + "readOnly": true, + "format": "date-time", + "description": "The UTC timestamp when the operation began." + }, + "lastModifiedDateTime": { + "type": "string", + "readOnly": true, + "format": "date-time", + "description": "The UTC timestamp when the operation finished." + }, + "startedBy": { + "type": "string", + "readOnly": true, + "enum": [ + "User", + "Platform" + ], + "x-ms-enum": { + "name": "PatchOperationStartedBy", + "modelAsString": true + }, + "description": "Indicates if operation was triggered by user or by platform." + }, + "patchServiceUsed": { + "type": "string", + "readOnly": true, + "enum": [ + "Unknown", + "WU", + "WU_WSUS", + "YUM", + "APT", + "Zypper" + ], + "x-ms-enum": { + "name": "PatchServiceUsed", + "modelAsString": true + }, + "description": "Specifies the patch service used for the operation." + }, + "osType": { + "type": "string", + "readOnly": true, + "enum": [ + "Windows", + "Linux" + ], + "x-ms-enum": { + "name": "OsType", + "modelAsString": true + }, + "description": "The operating system type of the machine." + }, + "errorDetails": { + "$ref": "../../../../../common-types/resource-management/v3/types.json#/definitions/ErrorDetail", + "readOnly": true, + "description": "The errors that were encountered during execution of the operation. The details array contains the list of them." + } + }, + "description": "The result summary of an installation operation." + } + }, + "parameters": { + "machineNameParameter": { + "name": "machineName", + "in": "path", + "required": true, + "type": "string", + "pattern": "[a-zA-Z0-9-_\\.]+", + "description": "The name of the hybrid machine.", + "x-ms-parameter-location": "method" + }, + "licenseProfileNameParameter": { + "name": "licenseProfileName", + "in": "path", + "description": "The name of the license profile.", + "required": true, + "type": "string", + "pattern": "[a-zA-Z0-9-_\\.]+", + "enum": [ + "default" + ], + "x-ms-parameter-location": "method", + "x-ms-enum": { + "name": "LicenseProfileName", + "modelAsString": false + } + }, + "licenseNameParameter": { + "name": "licenseName", + "in": "path", + "required": true, + "type": "string", + "pattern": "[a-zA-Z0-9-_\\.]+", + "description": "The name of the license.", + "x-ms-parameter-location": "method" + } + } +} diff --git a/specification/hybridcompute/resource-manager/Microsoft.HybridCompute/preview/2023-10-03-preview/examples/AgentVersion_GetLatest.json b/specification/hybridcompute/resource-manager/Microsoft.HybridCompute/preview/2023-10-03-preview/examples/AgentVersion_GetLatest.json new file mode 100644 index 000000000000..246c3853a3bb --- /dev/null +++ b/specification/hybridcompute/resource-manager/Microsoft.HybridCompute/preview/2023-10-03-preview/examples/AgentVersion_GetLatest.json @@ -0,0 +1,16 @@ +{ + "parameters": { + "osType": "myOsType", + "version": "1.27", + "api-version": "2023-06-20-preview" + }, + "responses": { + "200": { + "body": { + "agentVersion": "1.27", + "downloadLink": "https://download.microsoft.com/download/8/4/5/845d5e04-bb09-4ed2-9ca8-bb51184cddc9/AzureConnectedMachineAgent.msi", + "osType": "myOsType" + } + } + } +} diff --git a/specification/hybridcompute/resource-manager/Microsoft.HybridCompute/preview/2023-10-03-preview/examples/AgentVersions_Get.json b/specification/hybridcompute/resource-manager/Microsoft.HybridCompute/preview/2023-10-03-preview/examples/AgentVersions_Get.json new file mode 100644 index 000000000000..9c0b5ef532e1 --- /dev/null +++ b/specification/hybridcompute/resource-manager/Microsoft.HybridCompute/preview/2023-10-03-preview/examples/AgentVersions_Get.json @@ -0,0 +1,24 @@ +{ + "parameters": { + "osType": "myOsType", + "api-version": "2023-06-20-preview" + }, + "responses": { + "200": { + "body": { + "value": [ + { + "agentVersion": "1.26", + "downloadLink": "https://download.microsoft.com/download/8/4/5/845d5e04-bb09-4ed2-9ca8-bb51184cddc9/AzureConnectedMachineAgent.msi", + "osType": "myOsType" + }, + { + "agentVersion": "1.27", + "downloadLink": "https://download.microsoft.com/download/8/4/5/845d5e04-bb09-4ed2-9ca8-bb51184cddc9/AzureConnectedMachineAgent.msi", + "osType": "myOsType" + } + ] + } + } + } +} diff --git a/specification/hybridcompute/resource-manager/Microsoft.HybridCompute/preview/2023-10-03-preview/examples/HybridIdentityMetadata_Get.json b/specification/hybridcompute/resource-manager/Microsoft.HybridCompute/preview/2023-10-03-preview/examples/HybridIdentityMetadata_Get.json new file mode 100644 index 000000000000..aa04200c9e58 --- /dev/null +++ b/specification/hybridcompute/resource-manager/Microsoft.HybridCompute/preview/2023-10-03-preview/examples/HybridIdentityMetadata_Get.json @@ -0,0 +1,27 @@ +{ + "parameters": { + "api-version": "2023-06-20-preview", + "subscriptionId": "fd3c3665-1729-4b7b-9a38-238e83b0f98b", + "resourceGroupName": "testrg", + "machineName": "ContosoVm", + "metadataName": "default" + }, + "responses": { + "200": { + "body": { + "id": "/subscriptions/fd3c3665-1729-4b7b-9a38-238e83b0f98b/resourceGroups/testrg/providers/Microsoft.HybridCompute/machines/ContosoVm/hybridIdentityMetadata/default", + "name": "testItem", + "type": "Microsoft.HybridCompute/machines/hybridIdentityMetadata", + "properties": { + "vmId": "f8b82dff-38ef-4220-99ef-d3a3f86ddc6c", + "publicKey": "8ec7d60c-9700-40b1-8e6e-e5b2f6f477f2", + "identity": { + "principalId": "7b5129bc-8642-4a6a-95f8-63400ca6ec4d", + "tenantId": "ec46ca82-5d4a-4e3e-b4b7-e27f9318645d", + "type": "SystemAssigned" + } + } + } + } + } +} diff --git a/specification/hybridcompute/resource-manager/Microsoft.HybridCompute/preview/2023-10-03-preview/examples/HybridIdentityMetadata_ListByVirtualMachines.json b/specification/hybridcompute/resource-manager/Microsoft.HybridCompute/preview/2023-10-03-preview/examples/HybridIdentityMetadata_ListByVirtualMachines.json new file mode 100644 index 000000000000..d906ec7b19a1 --- /dev/null +++ b/specification/hybridcompute/resource-manager/Microsoft.HybridCompute/preview/2023-10-03-preview/examples/HybridIdentityMetadata_ListByVirtualMachines.json @@ -0,0 +1,30 @@ +{ + "parameters": { + "api-version": "2023-06-20-preview", + "subscriptionId": "fd3c3665-1729-4b7b-9a38-238e83b0f98b", + "resourceGroupName": "testrg", + "machineName": "ContosoVm" + }, + "responses": { + "200": { + "body": { + "value": [ + { + "id": "/subscriptions/fd3c3665-1729-4b7b-9a38-238e83b0f98b/resourceGroups/testrg/providers/Microsoft.HybridCompute/machines/ContosoVm/hybridIdentityMetadata/default", + "name": "testItem", + "type": "Microsoft.HybridCompute/machines/hybridIdentityMetadata", + "properties": { + "vmId": "f8b82dff-38ef-4220-99ef-d3a3f86ddc6c", + "publicKey": "8ec7d60c-9700-40b1-8e6e-e5b2f6f477f2", + "identity": { + "principalId": "7b5129bc-8642-4a6a-95f8-63400ca6ec4d", + "tenantId": "ec46ca82-5d4a-4e3e-b4b7-e27f9318645d", + "type": "SystemAssigned" + } + } + } + ] + } + } + } +} diff --git a/specification/hybridcompute/resource-manager/Microsoft.HybridCompute/preview/2023-10-03-preview/examples/NetworkProfile_Get.json b/specification/hybridcompute/resource-manager/Microsoft.HybridCompute/preview/2023-10-03-preview/examples/NetworkProfile_Get.json new file mode 100644 index 000000000000..498c27b3adc1 --- /dev/null +++ b/specification/hybridcompute/resource-manager/Microsoft.HybridCompute/preview/2023-10-03-preview/examples/NetworkProfile_Get.json @@ -0,0 +1,38 @@ +{ + "parameters": { + "subscriptionId": "00000000-1111-2222-3333-444444444444", + "resourceGroupName": "myResourceGroup", + "machineName": "myMachine", + "api-version": "2023-06-20-preview" + }, + "responses": { + "200": { + "body": { + "networkInterfaces": [ + { + "ipAddresses": [ + { + "address": "192.168.12.345", + "ipAddressVersion": "IPv4", + "subnet": { + "addressPrefix": "192.168.12.0/24" + } + } + ] + }, + { + "ipAddresses": [ + { + "address": "1001:0:34aa:5000:1234:aaaa:bbbb:cccc", + "ipAddressVersion": "IPv6", + "subnet": { + "addressPrefix": "1001:0:34aa:5000::/64" + } + } + ] + } + ] + } + } + } +} diff --git a/specification/hybridcompute/resource-manager/Microsoft.HybridCompute/preview/2023-10-03-preview/examples/Operations_List.json b/specification/hybridcompute/resource-manager/Microsoft.HybridCompute/preview/2023-10-03-preview/examples/Operations_List.json new file mode 100644 index 000000000000..984e068fb926 --- /dev/null +++ b/specification/hybridcompute/resource-manager/Microsoft.HybridCompute/preview/2023-10-03-preview/examples/Operations_List.json @@ -0,0 +1,35 @@ +{ + "parameters": { + "api-version": "2023-06-20-preview" + }, + "responses": { + "200": { + "body": { + "value": [ + { + "origin": "user,system", + "name": "Microsoft.HybridCompute/operations/read", + "display": { + "operation": "Read all Operations", + "resource": "Microsoft.HybridCompute Resource Provider", + "description": "Read all Operations for Azure Arc for Servers", + "provider": "Microsoft HybridCompute" + }, + "isDataAction": true + }, + { + "origin": "user,system", + "name": "Microsoft.HybridCompute/register/action", + "display": { + "operation": "Register Subscription for Azure Arc for Servers", + "resource": "Microsoft.HybridCompute Resource Provider", + "description": "Registers the subscription for the Microsoft.HybridCompute Resource Provider", + "provider": "Microsoft HybridCompute" + }, + "isDataAction": true + } + ] + } + } + } +} diff --git a/specification/hybridcompute/resource-manager/Microsoft.HybridCompute/preview/2023-10-03-preview/examples/extension/ExtensionMetadata_Get.json b/specification/hybridcompute/resource-manager/Microsoft.HybridCompute/preview/2023-10-03-preview/examples/extension/ExtensionMetadata_Get.json new file mode 100644 index 000000000000..495bb9128f21 --- /dev/null +++ b/specification/hybridcompute/resource-manager/Microsoft.HybridCompute/preview/2023-10-03-preview/examples/extension/ExtensionMetadata_Get.json @@ -0,0 +1,22 @@ +{ + "parameters": { + "subscriptionId": "xxxxxxxx-xxxx-xxxx-xxxx-xxxxxxxxxxxx", + "location": "EastUS", + "publisher": "microsoft.azure.monitor", + "extensionType": "azuremonitorlinuxagent", + "version": "1.9.1", + "api-version": "2023-06-20-preview" + }, + "responses": { + "200": { + "body": { + "id": "/subscriptions/xxxxxxxx-xxxx-xxxx-xxxx-xxxxxxxxxxxx/Providers/Microsoft.HybridCompute/locations/eastus/publishers/microsoft.azure.monitor/extensionTypes/azuremonitorlinuxagent/versions/1.9.1", + "properties": { + "version": "1.9.1", + "extensionType": "azuremonitorlinuxagent", + "publisher": "microsoft.azure.monitor" + } + } + } + } +} diff --git a/specification/hybridcompute/resource-manager/Microsoft.HybridCompute/preview/2023-10-03-preview/examples/extension/ExtensionMetadata_List.json b/specification/hybridcompute/resource-manager/Microsoft.HybridCompute/preview/2023-10-03-preview/examples/extension/ExtensionMetadata_List.json new file mode 100644 index 000000000000..61859b6f36e2 --- /dev/null +++ b/specification/hybridcompute/resource-manager/Microsoft.HybridCompute/preview/2023-10-03-preview/examples/extension/ExtensionMetadata_List.json @@ -0,0 +1,33 @@ +{ + "parameters": { + "subscriptionId": "xxxxxxxx-xxxx-xxxx-xxxx-xxxxxxxxxxxx", + "location": "EastUS", + "publisher": "microsoft.azure.monitor", + "extensionType": "azuremonitorlinuxagent", + "api-version": "2023-06-20-preview" + }, + "responses": { + "200": { + "body": { + "value": [ + { + "properties": { + "version": "1.9.1", + "extensionType": "azuremonitorlinuxagent", + "publisher": "microsoft.azure.monitor" + }, + "id": "/subscriptions/xxxxxxxx-xxxx-xxxx-xxxx-xxxxxxxxxxxx/Providers/Microsoft.HybridCompute/locations/eastus/publishers/microsoft.azure.monitor/extensionTypes/azuremonitorlinuxagent/versions/1.9.1" + }, + { + "properties": { + "version": "1.9.2", + "extensionType": "azuremonitorlinuxagent", + "publisher": "microsoft.azure.monitor" + }, + "id": "/subscriptions/xxxxxxxx-xxxx-xxxx-xxxx-xxxxxxxxxxxx/Providers/Microsoft.HybridCompute/locations/eastus/publishers/microsoft.azure.monitor/extensionTypes/azuremonitorlinuxagent/versions/1.9.2" + } + ] + } + } + } +} diff --git a/specification/hybridcompute/resource-manager/Microsoft.HybridCompute/preview/2023-10-03-preview/examples/extension/Extension_CreateOrUpdate.json b/specification/hybridcompute/resource-manager/Microsoft.HybridCompute/preview/2023-10-03-preview/examples/extension/Extension_CreateOrUpdate.json new file mode 100644 index 000000000000..a241baf544ca --- /dev/null +++ b/specification/hybridcompute/resource-manager/Microsoft.HybridCompute/preview/2023-10-03-preview/examples/extension/Extension_CreateOrUpdate.json @@ -0,0 +1,53 @@ +{ + "parameters": { + "subscriptionId": "{subscriptionId}", + "resourceGroupName": "myResourceGroup", + "machineName": "myMachine", + "extensionName": "CustomScriptExtension", + "api-version": "2023-06-20-preview", + "extensionParameters": { + "location": "eastus2euap", + "properties": { + "publisher": "Microsoft.Compute", + "typeHandlerVersion": "1.10", + "type": "CustomScriptExtension", + "settings": { + "commandToExecute": "powershell.exe -c \"Get-Process | Where-Object { $_.CPU -gt 10000 }\"" + } + } + } + }, + "responses": { + "200": { + "body": { + "id": "/subscriptions/{subscriptionId}/resourceGroups/myResourceGroup/providers/Microsoft.HybridCompute/Machines/myMachine/Extensions/CustomScriptExtension", + "name": "CustomScriptExtension", + "type": "Microsoft.HybridCompute/machines/extensions", + "location": "eastus2euap", + "properties": { + "publisher": "Microsoft.Compute", + "type": "string", + "typeHandlerVersion": "1.10.3", + "autoUpgradeMinorVersion": false, + "settings": { + "commandToExecute": "powershell.exe -c \"Get-Process | Where-Object { $_.CPU -gt 10000 }\"" + }, + "protectedSettings": {}, + "provisioningState": "Succeeded", + "instanceView": { + "name": "CustomScriptExtension", + "type": "CustomScriptExtension", + "typeHandlerVersion": "1.10.3", + "status": { + "code": "success", + "level": "Information", + "message": "Finished executing command, StdOut: , StdErr:", + "time": "2020-08-08T20:42:10.999Z" + } + } + } + } + }, + "202": {} + } +} diff --git a/specification/hybridcompute/resource-manager/Microsoft.HybridCompute/preview/2023-10-03-preview/examples/extension/Extension_Delete.json b/specification/hybridcompute/resource-manager/Microsoft.HybridCompute/preview/2023-10-03-preview/examples/extension/Extension_Delete.json new file mode 100644 index 000000000000..ca1d79628113 --- /dev/null +++ b/specification/hybridcompute/resource-manager/Microsoft.HybridCompute/preview/2023-10-03-preview/examples/extension/Extension_Delete.json @@ -0,0 +1,20 @@ +{ + "parameters": { + "subscriptionId": "{subscriptionId}", + "resourceGroupName": "myResourceGroup", + "machineName": "myMachine", + "extensionName": "MMA", + "api-version": "2023-06-20-preview" + }, + "responses": { + "200": {}, + "202": { + "headers": { + "Location": "{callbackUrl}", + "Retry-After": 200, + "Azure-AsyncOperation": "{callbackUri}" + } + }, + "204": {} + } +} diff --git a/specification/hybridcompute/resource-manager/Microsoft.HybridCompute/preview/2023-10-03-preview/examples/extension/Extension_Get.json b/specification/hybridcompute/resource-manager/Microsoft.HybridCompute/preview/2023-10-03-preview/examples/extension/Extension_Get.json new file mode 100644 index 000000000000..51df909cfb51 --- /dev/null +++ b/specification/hybridcompute/resource-manager/Microsoft.HybridCompute/preview/2023-10-03-preview/examples/extension/Extension_Get.json @@ -0,0 +1,42 @@ +{ + "parameters": { + "subscriptionId": "{subscriptionId}", + "resourceGroupName": "myResourceGroup", + "machineName": "myMachine", + "extensionName": "CustomScriptExtension", + "api-version": "2023-06-20-preview" + }, + "responses": { + "200": { + "body": { + "id": "/subscriptions/{subscriptionId}/resourceGroups/myResourceGroup/providers/Microsoft.HybridCompute/Machines/myMachine/Extensions/CustomScriptExtension", + "name": "CustomScriptExtension", + "type": "Microsoft.HybridCompute/machines/extensions", + "location": "eastus2euap", + "properties": { + "publisher": "Microsoft.Compute", + "type": "string", + "typeHandlerVersion": "1.10.3", + "autoUpgradeMinorVersion": false, + "settings": { + "commandToExecute": "powershell.exe -c \"Get-Process | Where-Object { $_.CPU -gt 10000 }\"" + }, + "protectedSettings": {}, + "provisioningState": "Succeeded", + "instanceView": { + "name": "CustomScriptExtension", + "type": "CustomScriptExtension", + "typeHandlerVersion": "1.10.3", + "status": { + "code": "success", + "level": "Information", + "displayStatus": "Provisioning succeeded", + "message": "Finished executing command, StdOut: , StdErr:", + "time": "2019-08-08T20:42:10.999Z" + } + } + } + } + } + } +} diff --git a/specification/hybridcompute/resource-manager/Microsoft.HybridCompute/preview/2023-10-03-preview/examples/extension/Extension_List.json b/specification/hybridcompute/resource-manager/Microsoft.HybridCompute/preview/2023-10-03-preview/examples/extension/Extension_List.json new file mode 100644 index 000000000000..abe91df97c4b --- /dev/null +++ b/specification/hybridcompute/resource-manager/Microsoft.HybridCompute/preview/2023-10-03-preview/examples/extension/Extension_List.json @@ -0,0 +1,64 @@ +{ + "parameters": { + "subscriptionId": "{subscriptionId}", + "resourceGroupName": "myResourceGroup", + "machineName": "myMachine", + "api-version": "2023-06-20-preview" + }, + "responses": { + "200": { + "body": { + "value": [ + { + "id": "/subscriptions/{subscriptionId}/resourceGroups/myResourceGroup/providers/Microsoft.HybridCompute/Machines/myMachine/Extensions/CustomScriptExtension", + "name": "CustomScriptExtension", + "location": "eastus2euap", + "type": "Microsoft.HybridCompute/machines/extensions", + "properties": { + "publisher": "Microsoft.Compute", + "type": "CustomScriptExtension", + "typeHandlerVersion": "1.10.3", + "autoUpgradeMinorVersion": false, + "settings": { + "commandToExecute": "powershell.exe -c \"Get-Process | Where-Object { $_.CPU -gt 10000 }\"" + }, + "provisioningState": "Succeeded", + "instanceView": { + "name": "CustomScriptExtension", + "type": "CustomScriptExtension", + "typeHandlerVersion": "1.10.3", + "status": { + "code": "success", + "level": "Information", + "displayStatus": "Provisioning succeeded", + "message": "formattedMessage: Finished executing command, StdOut: , StdErr: ", + "time": "2020-08-13T17:18:57.405Z" + } + } + } + }, + { + "id": "/subscriptions/{subscriptionId}/resourceGroups/myResourceGroup/providers/Microsoft.HybridCompute/Machines/myMachine/Extensions/winosupdateextension", + "name": "winosupdateextension", + "location": "eastus2euap", + "type": "Microsoft.HybridCompute/machines/extensions", + "properties": { + "publisher": "microsoft.softwareupdatemanagement.test", + "type": "windowsosupdateextension", + "typeHandlerVersion": "1.0.0.0", + "autoUpgradeMinorVersion": false, + "settings": {}, + "provisioningState": "Creating", + "instanceView": { + "name": "winosupdateextension", + "type": "windowsosupdateextension", + "typeHandlerVersion": "1.0.0.0", + "status": {} + } + } + } + ] + } + } + } +} diff --git a/specification/hybridcompute/resource-manager/Microsoft.HybridCompute/preview/2023-10-03-preview/examples/extension/Extension_Update.json b/specification/hybridcompute/resource-manager/Microsoft.HybridCompute/preview/2023-10-03-preview/examples/extension/Extension_Update.json new file mode 100644 index 000000000000..a3fbda27f297 --- /dev/null +++ b/specification/hybridcompute/resource-manager/Microsoft.HybridCompute/preview/2023-10-03-preview/examples/extension/Extension_Update.json @@ -0,0 +1,60 @@ +{ + "parameters": { + "subscriptionId": "{subscriptionId}", + "resourceGroupName": "myResourceGroup", + "machineName": "myMachine", + "extensionName": "CustomScriptExtension", + "api-version": "2023-06-20-preview", + "extensionParameters": { + "properties": { + "publisher": "Microsoft.Compute", + "typeHandlerVersion": "1.10", + "enableAutomaticUpgrade": true, + "type": "CustomScriptExtension", + "settings": { + "commandToExecute": "powershell.exe -c \"Get-Process | Where-Object { $_.CPU -lt 100 }\"" + } + } + } + }, + "responses": { + "200": { + "body": { + "id": "/subscriptions/{subscriptionId}/resourceGroups/myResourceGroup/providers/Microsoft.HybridCompute/Machines/myMachine/Extensions/CustomScriptExtension", + "name": "CustomScriptExtension", + "type": "Microsoft.HybridCompute/machines/extensions", + "location": "eastus2euap", + "properties": { + "publisher": "Microsoft.Compute", + "type": "string", + "typeHandlerVersion": "1.10.3", + "enableAutomaticUpgrade": true, + "autoUpgradeMinorVersion": false, + "settings": { + "commandToExecute": "powershell.exe -c \"Get-Process | Where-Object { $_.CPU -gt 10000 }\"" + }, + "protectedSettings": {}, + "provisioningState": "Succeeded", + "instanceView": { + "name": "CustomScriptExtension", + "type": "CustomScriptExtension", + "typeHandlerVersion": "1.10.3", + "status": { + "code": "success", + "level": "Information", + "message": "Finished executing command, StdOut: , StdErr:", + "time": "2020-01-08T20:42:10.999Z" + } + } + } + } + }, + "202": { + "headers": { + "Location": "{callbackUrl}", + "Retry-After": 200, + "Azure-AsyncOperation": "{callbackUri}" + } + } + } +} diff --git a/specification/hybridcompute/resource-manager/Microsoft.HybridCompute/preview/2023-10-03-preview/examples/extension/Extensions_Upgrade.json b/specification/hybridcompute/resource-manager/Microsoft.HybridCompute/preview/2023-10-03-preview/examples/extension/Extensions_Upgrade.json new file mode 100644 index 000000000000..464e2a085505 --- /dev/null +++ b/specification/hybridcompute/resource-manager/Microsoft.HybridCompute/preview/2023-10-03-preview/examples/extension/Extensions_Upgrade.json @@ -0,0 +1,28 @@ +{ + "parameters": { + "subscriptionId": "{subscriptionId}", + "resourceGroupName": "myResourceGroup", + "machineName": "myMachine", + "api-version": "2023-06-20-preview", + "extensionUpgradeParameters": { + "extensionTargets": { + "Microsoft.Compute.CustomScriptExtension": { + "targetVersion": "1.10" + }, + "Microsoft.Azure.Monitoring": { + "targetVersion": "2.0" + } + } + } + }, + "responses": { + "200": {}, + "202": { + "headers": { + "Location": "{callbackUrl}", + "Retry-After": 200, + "Azure-AsyncOperation": "{callbackUri}" + } + } + } +} diff --git a/specification/hybridcompute/resource-manager/Microsoft.HybridCompute/preview/2023-10-03-preview/examples/license/License_CreateOrUpdate.json b/specification/hybridcompute/resource-manager/Microsoft.HybridCompute/preview/2023-10-03-preview/examples/license/License_CreateOrUpdate.json new file mode 100644 index 000000000000..165ecb827f5d --- /dev/null +++ b/specification/hybridcompute/resource-manager/Microsoft.HybridCompute/preview/2023-10-03-preview/examples/license/License_CreateOrUpdate.json @@ -0,0 +1,45 @@ +{ + "parameters": { + "subscriptionId": "{subscriptionId}", + "resourceGroupName": "myResourceGroup", + "licenseName": "{licenseName}", + "api-version": "2023-06-20-preview", + "parameters": { + "location": "eastus2euap", + "properties": { + "licenseType": "ESU", + "licenseDetails": { + "state": "Activated", + "target": "Windows Server 2012", + "edition": "Datacenter", + "type": "pCore", + "processors": 6 + } + } + } + }, + "responses": { + "200": { + "body": { + "id": "/subscriptions/{subscriptionId}/resourceGroups/myResourceGroup/providers/Microsoft.HybridCompute/Licenses/{licenseName}", + "name": "{licenseName}", + "type": "Microsoft.HybridCompute/licenses", + "location": "eastus2euap", + "tags": null, + "properties": { + "tenantId": "{tenandId}", + "licenseType": "ESU", + "licenseDetails": { + "state": "Activated", + "target": "Windows Server 2012", + "edition": "Datacenter", + "type": "pCore", + "processors": 6, + "assignedLicenses": 2, + "immutableId": "" + } + } + } + } + } +} diff --git a/specification/hybridcompute/resource-manager/Microsoft.HybridCompute/preview/2023-10-03-preview/examples/license/License_Delete.json b/specification/hybridcompute/resource-manager/Microsoft.HybridCompute/preview/2023-10-03-preview/examples/license/License_Delete.json new file mode 100644 index 000000000000..f825ad2b78e0 --- /dev/null +++ b/specification/hybridcompute/resource-manager/Microsoft.HybridCompute/preview/2023-10-03-preview/examples/license/License_Delete.json @@ -0,0 +1,12 @@ +{ + "parameters": { + "subscriptionId": "{subscriptionId}", + "resourceGroupName": "myResourceGroup", + "licenseName": "{licenseName}", + "api-version": "2023-06-20-preview" + }, + "responses": { + "200": {}, + "204": {} + } +} diff --git a/specification/hybridcompute/resource-manager/Microsoft.HybridCompute/preview/2023-10-03-preview/examples/license/License_Get.json b/specification/hybridcompute/resource-manager/Microsoft.HybridCompute/preview/2023-10-03-preview/examples/license/License_Get.json new file mode 100644 index 000000000000..6ae810a6986c --- /dev/null +++ b/specification/hybridcompute/resource-manager/Microsoft.HybridCompute/preview/2023-10-03-preview/examples/license/License_Get.json @@ -0,0 +1,32 @@ +{ + "parameters": { + "subscriptionId": "{subscriptionId}", + "resourceGroupName": "myResourceGroup", + "licenseName": "{licenseName}", + "api-version": "2023-06-20-preview" + }, + "responses": { + "200": { + "body": { + "id": "/subscriptions/{subscriptionId}/resourceGroups/myResourceGroup/providers/Microsoft.HybridCompute/Licenses/{licenseName}", + "name": "{licenseName}", + "type": "Microsoft.HybridCompute/licenses", + "location": "eastus2euap", + "tags": null, + "properties": { + "tenantId": "{tenandId}", + "licenseType": "ESU", + "licenseDetails": { + "state": "Activated", + "target": "Windows Server 2012", + "edition": "Datacenter", + "type": "pCore", + "processors": 6, + "assignedLicenses": 8, + "immutableId": "" + } + } + } + } + } +} diff --git a/specification/hybridcompute/resource-manager/Microsoft.HybridCompute/preview/2023-10-03-preview/examples/license/License_ListByResourceGroup.json b/specification/hybridcompute/resource-manager/Microsoft.HybridCompute/preview/2023-10-03-preview/examples/license/License_ListByResourceGroup.json new file mode 100644 index 000000000000..d2cd25480961 --- /dev/null +++ b/specification/hybridcompute/resource-manager/Microsoft.HybridCompute/preview/2023-10-03-preview/examples/license/License_ListByResourceGroup.json @@ -0,0 +1,36 @@ +{ + "parameters": { + "subscriptionId": "{subscriptionId}", + "resourceGroupName": "myResourceGroup", + "licenseName": "{licenseName}", + "api-version": "2023-06-20-preview" + }, + "responses": { + "200": { + "body": { + "value": [ + { + "id": "/subscriptions/{subscriptionId}/resourceGroups/myResourceGroup/providers/Microsoft.HybridCompute/Licenses/{licenseName}", + "name": "{licenseName}", + "type": "Microsoft.HybridCompute/licenses", + "location": "eastus2euap", + "tags": null, + "properties": { + "tenantId": "{tenandId}", + "licenseType": "ESU", + "licenseDetails": { + "state": "Activated", + "target": "Windows Server 2012", + "edition": "Datacenter", + "type": "pCore", + "processors": 6, + "assignedLicenses": 8, + "immutableId": "" + } + } + } + ] + } + } + } +} diff --git a/specification/hybridcompute/resource-manager/Microsoft.HybridCompute/preview/2023-10-03-preview/examples/license/License_ListBySubscription.json b/specification/hybridcompute/resource-manager/Microsoft.HybridCompute/preview/2023-10-03-preview/examples/license/License_ListBySubscription.json new file mode 100644 index 000000000000..77bc45bdd38f --- /dev/null +++ b/specification/hybridcompute/resource-manager/Microsoft.HybridCompute/preview/2023-10-03-preview/examples/license/License_ListBySubscription.json @@ -0,0 +1,35 @@ +{ + "parameters": { + "subscriptionId": "{subscriptionId}", + "licenseName": "{licenseName}", + "api-version": "2023-06-20-preview" + }, + "responses": { + "200": { + "body": { + "value": [ + { + "id": "/subscriptions/{subscriptionId}/resourceGroups/myResourceGroup/providers/Microsoft.HybridCompute/Licenses/{licenseName}", + "name": "{licenseName}", + "type": "Microsoft.HybridCompute/licenses", + "location": "eastus2euap", + "tags": null, + "properties": { + "tenantId": "{tenandId}", + "licenseType": "ESU", + "licenseDetails": { + "state": "Activated", + "target": "Windows Server 2012", + "edition": "Datacenter", + "type": "pCore", + "processors": 6, + "assignedLicenses": 8, + "immutableId": "" + } + } + } + ] + } + } + } +} diff --git a/specification/hybridcompute/resource-manager/Microsoft.HybridCompute/preview/2023-10-03-preview/examples/license/License_Update.json b/specification/hybridcompute/resource-manager/Microsoft.HybridCompute/preview/2023-10-03-preview/examples/license/License_Update.json new file mode 100644 index 000000000000..cacc94b63148 --- /dev/null +++ b/specification/hybridcompute/resource-manager/Microsoft.HybridCompute/preview/2023-10-03-preview/examples/license/License_Update.json @@ -0,0 +1,43 @@ +{ + "parameters": { + "subscriptionId": "{subscriptionId}", + "resourceGroupName": "myResourceGroup", + "licenseName": "{licenseName}", + "api-version": "2023-06-20-preview", + "parameters": { + "properties": { + "licenseType": "ESU", + "licenseDetails": { + "state": "Activated", + "target": "Windows Server 2012", + "edition": "Datacenter", + "type": "pCore", + "processors": 6 + } + } + } + }, + "responses": { + "200": { + "body": { + "id": "/subscriptions/{subscriptionId}/resourceGroups/myResourceGroup/providers/Microsoft.HybridCompute/licenses/{licenseName}", + "name": "{licenseName}", + "type": "Microsoft.HybridCompute/licenses", + "location": "eastus2euap", + "properties": { + "tenantId": "{tenandId}", + "licenseType": "ESU", + "licenseDetails": { + "state": "Activated", + "target": "Windows Server 2012", + "edition": "Datacenter", + "type": "pCore", + "processors": 6, + "assignedLicenses": 8, + "immutableId": "" + } + } + } + } + } +} diff --git a/specification/hybridcompute/resource-manager/Microsoft.HybridCompute/preview/2023-10-03-preview/examples/license/License_ValidateLicense.json b/specification/hybridcompute/resource-manager/Microsoft.HybridCompute/preview/2023-10-03-preview/examples/license/License_ValidateLicense.json new file mode 100644 index 000000000000..e4547c384aa0 --- /dev/null +++ b/specification/hybridcompute/resource-manager/Microsoft.HybridCompute/preview/2023-10-03-preview/examples/license/License_ValidateLicense.json @@ -0,0 +1,44 @@ +{ + "parameters": { + "subscriptionId": "{subscriptionId}", + "licenseName": "{licenseName}", + "api-version": "2023-06-20-preview", + "parameters": { + "location": "eastus2euap", + "properties": { + "licenseType": "ESU", + "licenseDetails": { + "state": "Activated", + "target": "Windows Server 2012", + "edition": "Datacenter", + "type": "pCore", + "processors": 6 + } + } + } + }, + "responses": { + "200": { + "body": { + "id": "/subscriptions/{subscriptionId}/providers/Microsoft.HybridCompute/Licenses/{licenseName}", + "name": "{licenseName}", + "type": "Microsoft.HybridCompute/licenses", + "location": "eastus2euap", + "tags": null, + "properties": { + "tenantId": "{tenandId}", + "licenseType": "ESU", + "licenseDetails": { + "state": "Activated", + "target": "Windows Server 2012", + "edition": "Datacenter", + "type": "pCore", + "processors": 6, + "assignedLicenses": 2, + "immutableId": "" + } + } + } + } + } +} diff --git a/specification/hybridcompute/resource-manager/Microsoft.HybridCompute/preview/2023-10-03-preview/examples/licenseProfile/LicenseProfile_CreateOrUpdate.json b/specification/hybridcompute/resource-manager/Microsoft.HybridCompute/preview/2023-10-03-preview/examples/licenseProfile/LicenseProfile_CreateOrUpdate.json new file mode 100644 index 000000000000..e47f2728d7ac --- /dev/null +++ b/specification/hybridcompute/resource-manager/Microsoft.HybridCompute/preview/2023-10-03-preview/examples/licenseProfile/LicenseProfile_CreateOrUpdate.json @@ -0,0 +1,78 @@ +{ + "parameters": { + "subscriptionId": "{subscriptionId}", + "resourceGroupName": "myResourceGroup", + "machineName": "myMachine", + "licenseProfileName": "default", + "api-version": "2023-06-20-preview", + "parameters": { + "location": "eastus2euap", + "properties": { + "esuProfile": { + "assignedLicense": "{LicenseResourceId}" + } + } + } + }, + "responses": { + "200": { + "body": { + "id": "/subscriptions/{subscriptionId}/resourceGroups/myResourceGroup/providers/Microsoft.HybridCompute/Machines/myMachine/licenseProfiles/default", + "name": "default", + "type": "Microsoft.HybridCompute/machines/licenseProfiles", + "location": "eastus2euap", + "tags": null, + "properties": { + "esuProfile": { + "assignedLicense": "{LicenseResourceId}", + "assignedLicenseImmutableId": "{Guid}", + "esuEligibility": "Eligible", + "serverType": "Standard", + "esuKeyState": "Inactive", + "esuKeys": [ + { + "sku": "skuNumber1", + "licenseStatus": "licenseStatus1" + }, + { + "sku": "skuNumber2", + "licenseStatus": "licenseStatus2" + } + ] + } + } + } + }, + "201": { + "headers": { + "Location": "{callbackUrl}", + "Retry-After": 200, + "Azure-AsyncOperation": "{callbackUri}" + }, + "body": { + "id": "/subscriptions/{subscriptionId}/resourceGroups/myResourceGroup/providers/Microsoft.HybridCompute/Machines/myMachine/licenseProfiles/default", + "name": "default", + "type": "Microsoft.HybridCompute/machines/licenseProfiles", + "location": "eastus2euap", + "properties": { + "esuProfile": { + "assignedLicense": "{LicenseResourceId}", + "esuEligibility": "Eligible", + "serverType": "Standard", + "esuKeyState": "Inactive", + "esuKeys": [ + { + "sku": "skuNumber1", + "licenseStatus": "licenseStatus1" + }, + { + "sku": "skuNumber2", + "licenseStatus": "licenseStatus2" + } + ] + } + } + } + } + } +} diff --git a/specification/hybridcompute/resource-manager/Microsoft.HybridCompute/preview/2023-10-03-preview/examples/licenseProfile/LicenseProfile_Delete.json b/specification/hybridcompute/resource-manager/Microsoft.HybridCompute/preview/2023-10-03-preview/examples/licenseProfile/LicenseProfile_Delete.json new file mode 100644 index 000000000000..5993531e67c5 --- /dev/null +++ b/specification/hybridcompute/resource-manager/Microsoft.HybridCompute/preview/2023-10-03-preview/examples/licenseProfile/LicenseProfile_Delete.json @@ -0,0 +1,19 @@ +{ + "parameters": { + "subscriptionId": "{subscriptionId}", + "resourceGroupName": "myResourceGroup", + "machineName": "myMachine", + "licenseProfileName": "default", + "api-version": "2023-06-20-preview" + }, + "responses": { + "202": { + "headers": { + "Location": "{callbackUrl}", + "Retry-After": 200, + "Azure-AsyncOperation": "{callbackUri}" + } + }, + "204": {} + } +} diff --git a/specification/hybridcompute/resource-manager/Microsoft.HybridCompute/preview/2023-10-03-preview/examples/licenseProfile/LicenseProfile_Get.json b/specification/hybridcompute/resource-manager/Microsoft.HybridCompute/preview/2023-10-03-preview/examples/licenseProfile/LicenseProfile_Get.json new file mode 100644 index 000000000000..c3fe6c01d497 --- /dev/null +++ b/specification/hybridcompute/resource-manager/Microsoft.HybridCompute/preview/2023-10-03-preview/examples/licenseProfile/LicenseProfile_Get.json @@ -0,0 +1,38 @@ +{ + "parameters": { + "subscriptionId": "{subscriptionId}", + "resourceGroupName": "myResourceGroup", + "machineName": "myMachine", + "licenseProfileName": "default", + "api-version": "2023-06-20-preview" + }, + "responses": { + "200": { + "body": { + "id": "/subscriptions/{subscriptionId}/resourceGroups/myResourceGroup/providers/Microsoft.HybridCompute/Machines/myMachine/licenseProfiles/default", + "name": "default", + "type": "Microsoft.HybridCompute/machines/licenseProfiles", + "location": "eastus2euap", + "tags": null, + "properties": { + "esuProfile": { + "assignedLicense": "{LicenseResourceId}", + "esuEligibility": "Eligible", + "serverType": "Standard", + "esuKeyState": "Inactive", + "esuKeys": [ + { + "sku": "skuNumber1", + "licenseStatus": "licenseStatus1" + }, + { + "sku": "skuNumber2", + "licenseStatus": "licenseStatus2" + } + ] + } + } + } + } + } +} diff --git a/specification/hybridcompute/resource-manager/Microsoft.HybridCompute/preview/2023-10-03-preview/examples/licenseProfile/LicenseProfile_List.json b/specification/hybridcompute/resource-manager/Microsoft.HybridCompute/preview/2023-10-03-preview/examples/licenseProfile/LicenseProfile_List.json new file mode 100644 index 000000000000..dd955a79a219 --- /dev/null +++ b/specification/hybridcompute/resource-manager/Microsoft.HybridCompute/preview/2023-10-03-preview/examples/licenseProfile/LicenseProfile_List.json @@ -0,0 +1,42 @@ +{ + "parameters": { + "subscriptionId": "{subscriptionId}", + "resourceGroupName": "myResourceGroup", + "machineName": "myMachine", + "licenseProfileName": "default", + "api-version": "2023-06-20-preview" + }, + "responses": { + "200": { + "body": { + "value": [ + { + "id": "/subscriptions/{subscriptionId}/resourceGroups/myResourceGroup/providers/Microsoft.HybridCompute/Machines/myMachine/licenseProfiles/default", + "name": "default", + "type": "Microsoft.HybridCompute/machines/licenseProfiles", + "location": "eastus2euap", + "tags": null, + "properties": { + "esuProfile": { + "assignedLicense": "{LicenseResourceId}", + "esuEligibility": "Eligible", + "serverType": "Standard", + "esuKeyState": "Inactive", + "esuKeys": [ + { + "sku": "skuNumber1", + "licenseStatus": "licenseStatus1" + }, + { + "sku": "skuNumber2", + "licenseStatus": "licenseStatus2" + } + ] + } + } + } + ] + } + } + } +} diff --git a/specification/hybridcompute/resource-manager/Microsoft.HybridCompute/preview/2023-10-03-preview/examples/licenseProfile/LicenseProfile_Update.json b/specification/hybridcompute/resource-manager/Microsoft.HybridCompute/preview/2023-10-03-preview/examples/licenseProfile/LicenseProfile_Update.json new file mode 100644 index 000000000000..5a770698801c --- /dev/null +++ b/specification/hybridcompute/resource-manager/Microsoft.HybridCompute/preview/2023-10-03-preview/examples/licenseProfile/LicenseProfile_Update.json @@ -0,0 +1,51 @@ +{ + "parameters": { + "subscriptionId": "{subscriptionId}", + "resourceGroupName": "myResourceGroup", + "machineName": "myMachine", + "licenseProfileName": "default", + "api-version": "2023-06-20-preview", + "parameters": { + "properties": { + "esuProfile": { + "assignedLicense": "{LicenseResourceId}" + } + } + } + }, + "responses": { + "200": { + "body": { + "id": "/subscriptions/{subscriptionId}/resourceGroups/myResourceGroup/providers/Microsoft.HybridCompute/Machines/myMachine/licenseProfiles/default", + "name": "default", + "type": "Microsoft.HybridCompute/machines/licenseProfiles", + "location": "eastus2euap", + "properties": { + "esuProfile": { + "assignedLicense": "{LicenseResourceId}", + "esuEligibility": "Eligible", + "serverType": "Standard", + "esuKeyState": "Inactive", + "esuKeys": [ + { + "sku": "skuNumber1", + "licenseStatus": "licenseStatus1" + }, + { + "sku": "skuNumber2", + "licenseStatus": "licenseStatus2" + } + ] + } + } + } + }, + "202": { + "headers": { + "Location": "{callbackUrl}", + "Retry-After": 200, + "Azure-AsyncOperation": "{callbackUri}" + } + } + } +} diff --git a/specification/hybridcompute/resource-manager/Microsoft.HybridCompute/preview/2023-10-03-preview/examples/machine/Machine_AssessPatches.json b/specification/hybridcompute/resource-manager/Microsoft.HybridCompute/preview/2023-10-03-preview/examples/machine/Machine_AssessPatches.json new file mode 100644 index 000000000000..212250fcae4b --- /dev/null +++ b/specification/hybridcompute/resource-manager/Microsoft.HybridCompute/preview/2023-10-03-preview/examples/machine/Machine_AssessPatches.json @@ -0,0 +1,37 @@ +{ + "parameters": { + "subscriptionId": "{subscription-id}", + "resourceGroupName": "myResourceGroupName", + "name": "myMachineName", + "api-version": "2023-06-20-preview" + }, + "responses": { + "200": { + "body": { + "status": "Succeeded", + "assessmentActivityId": "68f8b292-dfc2-4646-9781-33cc88631968", + "rebootPending": true, + "startDateTime": "2021-08-22T02:15:20.9340000Z", + "lastModifiedDateTime": "2021-08-22T02:16:06.9740000Z", + "availablePatchCountByClassification": { + "security": 0, + "updateRollup": 1, + "featurePack": 0, + "servicePack": 0, + "definition": 0, + "critical": 0, + "updates": 1, + "tools": 0 + }, + "startedBy": "User", + "osType": "Windows", + "errorDetails": null + } + }, + "202": { + "headers": { + "Location": "eastus2euap" + } + } + } +} diff --git a/specification/hybridcompute/resource-manager/Microsoft.HybridCompute/preview/2023-10-03-preview/examples/machine/Machine_InstallPatches.json b/specification/hybridcompute/resource-manager/Microsoft.HybridCompute/preview/2023-10-03-preview/examples/machine/Machine_InstallPatches.json new file mode 100644 index 000000000000..8f27ee0bcd7f --- /dev/null +++ b/specification/hybridcompute/resource-manager/Microsoft.HybridCompute/preview/2023-10-03-preview/examples/machine/Machine_InstallPatches.json @@ -0,0 +1,44 @@ +{ + "parameters": { + "subscriptionId": "{subscription-id}", + "resourceGroupName": "myResourceGroupName", + "name": "myMachineName", + "api-version": "2023-06-20-preview", + "installPatchesInput": { + "maximumDuration": "PT4H", + "rebootSetting": "IfRequired", + "windowsParameters": { + "classificationsToInclude": [ + "Critical", + "Security" + ], + "maxPatchPublishDate": "2021-08-19T02:36:43.0539904+00:00" + } + } + }, + "responses": { + "200": { + "body": { + "status": "Succeeded", + "installationActivityId": "68f8b292-dfc2-4646-9781-33cc88631968", + "rebootStatus": "Completed", + "maintenanceWindowExceeded": false, + "excludedPatchCount": 0, + "notSelectedPatchCount": 0, + "pendingPatchCount": 2, + "installedPatchCount": 3, + "failedPatchCount": 0, + "startDateTime": "2021-08-22T02:15:06.9740000Z", + "lastModifiedDateTime": "2021-08-22T02:16:06.9740000Z", + "startedBy": "User", + "osType": "Windows", + "errorDetails": null + } + }, + "202": { + "headers": { + "Location": "eastus2euap" + } + } + } +} diff --git a/specification/hybridcompute/resource-manager/Microsoft.HybridCompute/preview/2023-10-03-preview/examples/machine/Machines_CreateOrUpdate.json b/specification/hybridcompute/resource-manager/Microsoft.HybridCompute/preview/2023-10-03-preview/examples/machine/Machines_CreateOrUpdate.json new file mode 100644 index 000000000000..558a5f9ab402 --- /dev/null +++ b/specification/hybridcompute/resource-manager/Microsoft.HybridCompute/preview/2023-10-03-preview/examples/machine/Machines_CreateOrUpdate.json @@ -0,0 +1,105 @@ +{ + "parameters": { + "subscriptionId": "{subscriptionId}", + "resourceGroupName": "myResourceGroup", + "machineName": "myMachine", + "api-version": "2023-06-20-preview", + "parameters": { + "location": "eastus2euap", + "properties": { + "vmId": "b7a098cc-b0b8-46e8-a205-62f301a62a8f", + "locationData": { + "name": "Redmond" + }, + "clientPublicKey": "string", + "parentClusterResourceId": "{AzureStackHCIResourceId}", + "privateLinkScopeResourceId": "/subscriptions/{subscriptionId}/resourceGroups/myResourceGroup/providers/Microsoft.HybridCompute/privateLinkScopes/privateLinkScopeName" + }, + "identity": { + "type": "SystemAssigned" + } + } + }, + "responses": { + "200": { + "body": { + "id": "/subscriptions/{subscriptionId}/resourceGroups/myResourceGroup/providers/Microsoft.HybridCompute/machines/myMachine", + "name": "myMachine", + "location": "eastus2euap", + "tags": null, + "identity": { + "type": "SystemAssigned", + "principalId": "string", + "tenantId": "string" + }, + "type": "Microsoft.HybridCompute/machines", + "kind": null, + "properties": { + "provisioningState": "Succeeded", + "agentVersion": null, + "status": null, + "lastStatusChange": null, + "errorDetails": null, + "displayName": null, + "machineFqdn": null, + "vmUuid": null, + "osSku": null, + "domainName": null, + "adFqdn": null, + "dnsFqdn": null, + "osVersion": null, + "osType": null, + "osProfile": { + "computerName": null, + "windowsConfiguration": { + "patchSettings": { + "assessmentMode": null, + "patchMode": null + } + }, + "linuxConfiguration": { + "patchSettings": { + "assessmentMode": null, + "patchMode": null + } + } + }, + "licenseProfile": { + "esuProfile": { + "licenseAssignmentState": "Assigned", + "esuEligibility": "Ineligible", + "serverType": "Standard", + "esuKeyState": "Inactive", + "esuKeys": [ + { + "sku": "skuNumber1", + "licenseStatus": "licenseStatus1" + }, + { + "sku": "skuNumber2", + "licenseStatus": "licenseStatus2" + } + ] + } + }, + "vmId": "b7a098cc-b0b8-46e8-a205-62f301a62a8f", + "locationData": { + "name": "Redmond", + "city": "redmond", + "district": null, + "countryOrRegion": "usa" + }, + "clientPublicKey": "string", + "parentClusterResourceId": "{AzureStackHCIResourceId}", + "mssqlDiscovered": "false", + "detectedProperties": { + "cloudprovider": "N/A", + "manufacturer": "Microsoft Corporation", + "model": "Virtual Machine" + }, + "privateLinkScopeResourceId": "/subscriptions/{subscriptionId}/resourceGroups/myResourceGroup/providers/Microsoft.HybridCompute/privateLinkScopes/privateLinkScopeName" + } + } + } + } +} diff --git a/specification/hybridcompute/resource-manager/Microsoft.HybridCompute/preview/2023-10-03-preview/examples/machine/Machines_Delete.json b/specification/hybridcompute/resource-manager/Microsoft.HybridCompute/preview/2023-10-03-preview/examples/machine/Machines_Delete.json new file mode 100644 index 000000000000..30ce93eaf749 --- /dev/null +++ b/specification/hybridcompute/resource-manager/Microsoft.HybridCompute/preview/2023-10-03-preview/examples/machine/Machines_Delete.json @@ -0,0 +1,12 @@ +{ + "parameters": { + "subscriptionId": "{subscriptionId}", + "resourceGroupName": "myResourceGroup", + "machineName": "myMachine", + "api-version": "2023-06-20-preview" + }, + "responses": { + "200": {}, + "204": {} + } +} diff --git a/specification/hybridcompute/resource-manager/Microsoft.HybridCompute/preview/2023-10-03-preview/examples/machine/Machines_Get.json b/specification/hybridcompute/resource-manager/Microsoft.HybridCompute/preview/2023-10-03-preview/examples/machine/Machines_Get.json new file mode 100644 index 000000000000..175b92b90539 --- /dev/null +++ b/specification/hybridcompute/resource-manager/Microsoft.HybridCompute/preview/2023-10-03-preview/examples/machine/Machines_Get.json @@ -0,0 +1,143 @@ +{ + "parameters": { + "subscriptionId": "{subscriptionId}", + "resourceGroupName": "myResourceGroup", + "machineName": "myMachine", + "api-version": "2023-06-20-preview" + }, + "responses": { + "200": { + "body": { + "id": "/subscriptions/{subscriptionId}/resourceGroups/myResourceGroup/providers/Microsoft.HybridCompute/machines/myMachine", + "name": "myMachine", + "location": "eastus2euap", + "tags": null, + "identity": { + "type": "SystemAssigned", + "principalId": "string", + "tenantId": "string" + }, + "type": "Microsoft.HybridCompute/machines", + "kind": null, + "properties": { + "provisioningState": "Succeeded", + "agentVersion": null, + "status": null, + "lastStatusChange": null, + "errorDetails": null, + "displayName": null, + "machineFqdn": null, + "vmUuid": null, + "osSku": null, + "domainName": null, + "adFqdn": null, + "dnsFqdn": null, + "osVersion": null, + "osType": null, + "osProfile": { + "computerName": null, + "windowsConfiguration": { + "patchSettings": { + "assessmentMode": null, + "patchMode": null + } + }, + "linuxConfiguration": { + "patchSettings": { + "assessmentMode": null, + "patchMode": null + } + } + }, + "licenseProfile": { + "esuProfile": { + "licenseAssignmentState": "Assigned", + "esuEligibility": "Ineligible", + "serverType": "Standard", + "esuKeyState": "Inactive", + "esuKeys": [ + { + "sku": "skuNumber1", + "licenseStatus": "licenseStatus1" + }, + { + "sku": "skuNumber2", + "licenseStatus": "licenseStatus2" + } + ] + } + }, + "vmId": "b7a098cc-b0b8-46e8-a205-62f301a62a8f", + "locationData": { + "name": "Redmond", + "city": "redmond", + "district": null, + "countryOrRegion": "usa" + }, + "clientPublicKey": "string", + "parentClusterResourceId": "{AzureStackHCIResourceId}", + "mssqlDiscovered": "false", + "detectedProperties": { + "cloudprovider": "N/A", + "manufacturer": "Microsoft Corporation", + "model": "Virtual Machine" + }, + "agentConfiguration": { + "proxyUrl": "https://test.test", + "incomingConnectionsPorts": [ + "22", + "23" + ], + "extensionsAllowList": null, + "extensionsBlockList": null, + "proxyBypass": [ + "proxy1", + "proxy2" + ], + "extensionsEnabled": "true", + "guestConfigurationEnabled": "true", + "configMode": "full" + }, + "serviceStatuses": { + "extensionService": { + "status": "Running", + "startupType": "Automatic" + }, + "guestConfigurationService": { + "status": "Running", + "startupType": "Automatic" + } + }, + "privateLinkScopeResourceId": "/subscriptions/{subscriptionId}/resourceGroups/myResourceGroup/providers/Microsoft.HybridCompute/privateLinkScopes/privateLinkScopeName", + "networkProfile": { + "networkInterfaces": [ + { + "ipAddresses": [ + { + "address": "192.168.12.345", + "ipAddressVersion": "IPv4", + "subnet": { + "addressPrefix": "192.168.12.0/24" + } + } + ] + }, + { + "ipAddresses": [ + { + "address": "1001:0:34aa:5000:1234:aaaa:bbbb:cccc", + "ipAddressVersion": "IPv6", + "subnet": { + "addressPrefix": "1001:0:34aa:5000::/64" + } + } + ] + } + ] + } + }, + "resources": [] + } + } + } +} diff --git a/specification/hybridcompute/resource-manager/Microsoft.HybridCompute/preview/2023-10-03-preview/examples/machine/Machines_Get_LicenseProfileInstanceView.json b/specification/hybridcompute/resource-manager/Microsoft.HybridCompute/preview/2023-10-03-preview/examples/machine/Machines_Get_LicenseProfileInstanceView.json new file mode 100644 index 000000000000..817a93062f71 --- /dev/null +++ b/specification/hybridcompute/resource-manager/Microsoft.HybridCompute/preview/2023-10-03-preview/examples/machine/Machines_Get_LicenseProfileInstanceView.json @@ -0,0 +1,164 @@ +{ + "parameters": { + "subscriptionId": "{subscriptionId}", + "resourceGroupName": "myResourceGroup", + "machineName": "myMachine", + "$expand": "instanceView", + "api-version": "2023-06-20-preview" + }, + "responses": { + "200": { + "body": { + "id": "/subscriptions/{subscriptionId}/resourceGroups/myResourceGroup/providers/Microsoft.HybridCompute/machines/myMachine", + "name": "myMachine", + "location": "eastus2euap", + "tags": null, + "identity": { + "type": "SystemAssigned", + "principalId": "string", + "tenantId": "string" + }, + "type": "Microsoft.HybridCompute/machines", + "kind": null, + "properties": { + "provisioningState": "Succeeded", + "agentVersion": null, + "status": null, + "lastStatusChange": null, + "errorDetails": null, + "displayName": null, + "machineFqdn": null, + "vmUuid": null, + "osSku": null, + "domainName": null, + "adFqdn": null, + "dnsFqdn": null, + "osVersion": null, + "osType": null, + "osProfile": { + "computerName": null, + "windowsConfiguration": { + "patchSettings": { + "assessmentMode": null, + "patchMode": null + } + }, + "linuxConfiguration": { + "patchSettings": { + "assessmentMode": null, + "patchMode": null + } + } + }, + "licenseProfile": { + "esuProfile": { + "assignedLicense": { + "id": "/subscriptions/{subscriptionId}/resourceGroups/myResourceGroup/providers/Microsoft.HybridCompute/Licenses/{licenseName}", + "name": "{licenseName}", + "type": "Microsoft.HybridCompute/licenses", + "location": "eastus2euap", + "tags": null, + "properties": { + "tenantId": "{tenandId}", + "licenseType": "ESU", + "licenseDetails": { + "state": "Activated", + "target": "Windows Server 2012", + "edition": "Datacenter", + "type": "pCore", + "processors": 6, + "assignedLicenses": 8, + "immutableId": "" + } + } + }, + "licenseAssignmentState": "Assigned", + "esuEligibility": "Ineligible", + "serverType": "Standard", + "esuKeyState": "Inactive", + "esuKeys": [ + { + "sku": "skuNumber1", + "licenseStatus": "licenseStatus1" + }, + { + "sku": "skuNumber2", + "licenseStatus": "licenseStatus2" + } + ] + } + }, + "vmId": "b7a098cc-b0b8-46e8-a205-62f301a62a8f", + "locationData": { + "name": "Redmond", + "city": "redmond", + "district": null, + "countryOrRegion": "usa" + }, + "clientPublicKey": "string", + "parentClusterResourceId": "{AzureStackHCIResourceId}", + "mssqlDiscovered": "false", + "detectedProperties": { + "cloudprovider": "N/A", + "manufacturer": "Microsoft Corporation", + "model": "Virtual Machine" + }, + "agentConfiguration": { + "proxyUrl": "https://test.test", + "incomingConnectionsPorts": [ + "22", + "23" + ], + "extensionsAllowList": null, + "extensionsBlockList": null, + "proxyBypass": [ + "proxy1", + "proxy2" + ], + "extensionsEnabled": "true", + "guestConfigurationEnabled": "true", + "configMode": "full" + }, + "serviceStatuses": { + "extensionService": { + "status": "Running", + "startupType": "Automatic" + }, + "guestConfigurationService": { + "status": "Running", + "startupType": "Automatic" + } + }, + "privateLinkScopeResourceId": "/subscriptions/{subscriptionId}/resourceGroups/myResourceGroup/providers/Microsoft.HybridCompute/privateLinkScopes/privateLinkScopeName", + "networkProfile": { + "networkInterfaces": [ + { + "ipAddresses": [ + { + "address": "192.168.12.345", + "ipAddressVersion": "IPv4", + "subnet": { + "addressPrefix": "192.168.12.0/24" + } + } + ] + }, + { + "ipAddresses": [ + { + "address": "1001:0:34aa:5000:1234:aaaa:bbbb:cccc", + "ipAddressVersion": "IPv6", + "subnet": { + "addressPrefix": "1001:0:34aa:5000::/64" + } + } + ] + } + ] + } + }, + "resources": [] + } + } + } +} diff --git a/specification/hybridcompute/resource-manager/Microsoft.HybridCompute/preview/2023-10-03-preview/examples/machine/Machines_ListByResourceGroup.json b/specification/hybridcompute/resource-manager/Microsoft.HybridCompute/preview/2023-10-03-preview/examples/machine/Machines_ListByResourceGroup.json new file mode 100644 index 000000000000..01e7ec416ba0 --- /dev/null +++ b/specification/hybridcompute/resource-manager/Microsoft.HybridCompute/preview/2023-10-03-preview/examples/machine/Machines_ListByResourceGroup.json @@ -0,0 +1,193 @@ +{ + "parameters": { + "subscriptionId": "{subscription-id}", + "resourceGroupName": "myResourceGroup", + "api-version": "2023-06-20-preview" + }, + "responses": { + "200": { + "body": { + "value": [ + { + "id": "/subscriptions/{subscriptionId}/resourceGroups/myResourceGroup/providers/Microsoft.HybridCompute/machines/myMachine", + "name": "myMachine", + "location": "eastus2euap", + "tags": null, + "identity": { + "type": "SystemAssigned", + "principalId": "f7a068cc-b0b8-46e8-a203-22f301a62a8f", + "tenantId": "c4098cc-91b8-46c2-a205-d82ab1a62a8f" + }, + "type": "Microsoft.HybridCompute/machines", + "kind": null, + "properties": { + "provisioningState": "Succeeded", + "agentVersion": null, + "status": null, + "lastStatusChange": null, + "errorDetails": null, + "displayName": null, + "machineFqdn": null, + "vmUuid": null, + "osSku": null, + "domainName": null, + "adFqdn": null, + "dnsFqdn": null, + "osVersion": null, + "osType": null, + "osProfile": { + "computerName": null, + "windowsConfiguration": { + "patchSettings": { + "assessmentMode": null, + "patchMode": null + } + }, + "linuxConfiguration": { + "patchSettings": { + "assessmentMode": null, + "patchMode": null + } + } + }, + "licenseProfile": { + "esuProfile": { + "licenseAssignmentState": "Assigned", + "esuEligibility": "Ineligible", + "serverType": "Standard", + "esuKeyState": "Inactive", + "esuKeys": [ + { + "sku": "skuNumber1", + "licenseStatus": "licenseStatus1" + }, + { + "sku": "skuNumber2", + "licenseStatus": "licenseStatus2" + } + ] + } + }, + "vmId": "b7a098cc-b0b8-46e8-a205-62f301a62a8f", + "locationData": { + "name": "Redmond" + }, + "clientPublicKey": "string", + "parentClusterResourceId": null, + "mssqlDiscovered": "false", + "detectedProperties": { + "cloudprovider": "N/A", + "manufacturer": "Microsoft Corporation", + "model": "Virtual Machine" + }, + "agentConfiguration": { + "proxyUrl": "https://test.test", + "incomingConnectionsPorts": [ + "22", + "23" + ], + "extensionsAllowList": null, + "extensionsBlockList": null, + "proxyBypass": [ + "proxy1", + "proxy2" + ], + "extensionsEnabled": "true", + "guestConfigurationEnabled": "true", + "configMode": "full" + }, + "privateLinkScopeResourceId": "/subscriptions/{subscriptionId}/resourceGroups/myResourceGroup/providers/Microsoft.HybridCompute/privateLinkScopes/privateLinkScopeName" + } + }, + { + "id": "/subscriptions/{subscription-id}/resourceGroups/myResourceGroup/providers/Microsoft.HybridCompute/machines/myMachine2", + "name": "myMachine2", + "location": "westus2", + "tags": null, + "identity": { + "type": "SystemAssigned", + "principalId": "e7a068cc-b0b8-46e8-a203-22f301a62a8f", + "tenantId": "c4098cc-91b8-46c2-a205-d82ab1a62a8f" + }, + "type": "Microsoft.HybridCompute/machines", + "kind": null, + "properties": { + "provisioningState": "Succeeded", + "agentVersion": null, + "status": null, + "lastStatusChange": null, + "errorDetails": null, + "displayName": null, + "machineFqdn": null, + "osVersion": null, + "osType": null, + "osProfile": { + "computerName": null, + "windowsConfiguration": { + "patchSettings": { + "assessmentMode": null, + "patchMode": null + } + }, + "linuxConfiguration": { + "patchSettings": { + "assessmentMode": null, + "patchMode": null + } + } + }, + "licenseProfile": { + "esuProfile": { + "licenseAssignmentState": "Assigned", + "esuEligibility": "Ineligible", + "serverType": "Standard", + "esuKeyState": "Inactive", + "esuKeys": [ + { + "sku": "skuNumber1", + "licenseStatus": "licenseStatus1" + }, + { + "sku": "skuNumber2", + "licenseStatus": "licenseStatus2" + } + ] + } + }, + "vmId": "a4a098cc-b0b8-46e8-a205-62f301a62a8f", + "locationData": { + "name": "Redmond" + }, + "clientPublicKey": "string", + "parentClusterResourceId": "{AzureStackHCIResourceId}", + "mssqlDiscovered": "true", + "detectedProperties": { + "cloudprovider": "N/A", + "manufacturer": "Microsoft Corporation", + "model": "Surfacebook" + }, + "agentConfiguration": { + "proxyUrl": "https://test.test", + "incomingConnectionsPorts": [ + "22", + "23" + ], + "extensionsAllowList": null, + "extensionsBlockList": null, + "proxyBypass": [ + "proxy1", + "proxy2" + ], + "extensionsEnabled": "true", + "guestConfigurationEnabled": "true", + "configMode": "full" + }, + "privateLinkScopeResourceId": "/subscriptions/{subscriptionId}/resourceGroups/myResourceGroup/providers/Microsoft.HybridCompute/privateLinkScopes/privateLinkScopeName" + } + } + ], + "nextLink": null + } + } + } +} diff --git a/specification/hybridcompute/resource-manager/Microsoft.HybridCompute/preview/2023-10-03-preview/examples/machine/Machines_ListBySubscription.json b/specification/hybridcompute/resource-manager/Microsoft.HybridCompute/preview/2023-10-03-preview/examples/machine/Machines_ListBySubscription.json new file mode 100644 index 000000000000..f52e4afdc9ff --- /dev/null +++ b/specification/hybridcompute/resource-manager/Microsoft.HybridCompute/preview/2023-10-03-preview/examples/machine/Machines_ListBySubscription.json @@ -0,0 +1,191 @@ +{ + "parameters": { + "subscriptionId": "{subscription-id}", + "api-version": "2023-06-20-preview" + }, + "responses": { + "200": { + "body": { + "value": [ + { + "id": "/subscriptions/{subscriptionId}/resourceGroups/myResourceGroup/providers/Microsoft.HybridCompute/machines/myMachine", + "name": "myMachine", + "location": "eastus2euap", + "tags": null, + "identity": { + "type": "SystemAssigned", + "principalId": "string", + "tenantId": "string" + }, + "type": "Microsoft.HybridCompute/machines", + "kind": null, + "properties": { + "provisioningState": "Succeeded", + "agentVersion": null, + "status": null, + "lastStatusChange": null, + "errorDetails": null, + "displayName": null, + "machineFqdn": null, + "vmUuid": null, + "osSku": null, + "domainName": null, + "adFqdn": null, + "dnsFqdn": null, + "osVersion": null, + "osType": null, + "osProfile": { + "computerName": null, + "windowsConfiguration": { + "patchSettings": { + "assessmentMode": null, + "patchMode": null + } + }, + "linuxConfiguration": { + "patchSettings": { + "assessmentMode": null, + "patchMode": null + } + } + }, + "licenseProfile": { + "esuProfile": { + "licenseAssignmentState": "Assigned", + "esuEligibility": "Ineligible", + "serverType": "Standard", + "esuKeyState": "Inactive", + "esuKeys": [ + { + "sku": "skuNumber1", + "licenseStatus": "licenseStatus1" + }, + { + "sku": "skuNumber2", + "licenseStatus": "licenseStatus2" + } + ] + } + }, + "vmId": "b7a098cc-b0b8-46e8-a205-62f301a62a8f", + "locationData": { + "name": "Redmond" + }, + "clientPublicKey": "string", + "parentClusterResourceId": null, + "mssqlDiscovered": "false", + "detectedProperties": { + "cloudprovider": "N/A", + "manufacturer": "Microsoft Corporation", + "model": "Virtual Machine" + }, + "agentConfiguration": { + "proxyUrl": "https://test.test", + "incomingConnectionsPorts": [ + "22", + "23" + ], + "extensionsAllowList": null, + "extensionsBlockList": null, + "proxyBypass": [ + "proxy1", + "proxy2" + ], + "extensionsEnabled": "true", + "guestConfigurationEnabled": "true", + "configMode": "full" + }, + "privateLinkScopeResourceId": "/subscriptions/{subscriptionId}/resourceGroups/myResourceGroup/providers/Microsoft.HybridCompute/privateLinkScopes/privateLinkScopeName" + } + }, + { + "id": "/subscriptions/{subscriptionId}/resourceGroups/myResourceGroup2/providers/Microsoft.HybridCompute/machines/myMachine2", + "name": "myMachine2", + "location": "westus2", + "tags": null, + "identity": { + "type": "SystemAssigned", + "principalId": "e7a068cc-b0b8-46e8-a203-22f301a62a8f", + "tenantId": "c4098cc-91b8-46c2-a205-d82ab1a62a8f" + }, + "type": "Microsoft.HybridCompute/machines", + "kind": null, + "properties": { + "provisioningState": "Succeeded", + "agentVersion": null, + "status": null, + "lastStatusChange": null, + "errorDetails": null, + "displayName": null, + "machineFqdn": null, + "osVersion": null, + "osType": null, + "osProfile": { + "computerName": null, + "windowsConfiguration": { + "patchSettings": { + "assessmentMode": null, + "patchMode": null + } + }, + "linuxConfiguration": { + "patchSettings": { + "assessmentMode": null, + "patchMode": null + } + } + }, + "licenseProfile": { + "esuProfile": { + "licenseAssignmentState": "Assigned", + "esuEligibility": "Ineligible", + "serverType": "Standard", + "esuKeyState": "Inactive", + "esuKeys": [ + { + "sku": "skuNumber1", + "licenseStatus": "licenseStatus1" + }, + { + "sku": "skuNumber2", + "licenseStatus": "licenseStatus2" + } + ] + } + }, + "vmId": "a4a098cc-b0b8-46e8-a205-62f301a62a8f", + "locationData": { + "name": "Redmond" + }, + "clientPublicKey": "string", + "parentClusterResourceId": "{AzureStackHCIResourceId}", + "mssqlDiscovered": "true", + "detectedProperties": { + "cloudprovider": "N/A", + "manufacturer": "Microsoft Corporation", + "model": "Surfacebook" + }, + "agentConfiguration": { + "proxyUrl": "https://test.test", + "incomingConnectionsPorts": [ + "22", + "23" + ], + "extensionsAllowList": null, + "extensionsBlockList": null, + "proxyBypass": [ + "proxy1", + "proxy2" + ], + "extensionsEnabled": "true", + "guestConfigurationEnabled": "true", + "configMode": "full" + } + } + } + ], + "nextLink": "string" + } + } + } +} diff --git a/specification/hybridcompute/resource-manager/Microsoft.HybridCompute/preview/2023-10-03-preview/examples/machine/Machines_Update.json b/specification/hybridcompute/resource-manager/Microsoft.HybridCompute/preview/2023-10-03-preview/examples/machine/Machines_Update.json new file mode 100644 index 000000000000..5a8043201bd9 --- /dev/null +++ b/specification/hybridcompute/resource-manager/Microsoft.HybridCompute/preview/2023-10-03-preview/examples/machine/Machines_Update.json @@ -0,0 +1,110 @@ +{ + "parameters": { + "subscriptionId": "{subscription-id}", + "resourceGroupName": "myResourceGroup", + "machineName": "myMachine", + "api-version": "2023-06-20-preview", + "location": "eastus2euap", + "kind": null, + "parameters": { + "properties": { + "locationData": { + "name": "Redmond" + }, + "osProfile": { + "windowsConfiguration": { + "patchSettings": { + "assessmentMode": "ImageDefault", + "patchMode": "Manual" + } + }, + "linuxConfiguration": { + "patchSettings": { + "assessmentMode": "ImageDefault", + "patchMode": "Manual" + } + } + }, + "parentClusterResourceId": "{AzureStackHCIResourceId}", + "privateLinkScopeResourceId": "/subscriptions/{subscriptionId}/resourceGroups/myResourceGroup/providers/Microsoft.HybridCompute/privateLinkScopes/privateLinkScopeName" + }, + "identity": { + "type": "SystemAssigned" + } + } + }, + "responses": { + "200": { + "body": { + "id": "/subscriptions/{subscriptionId}/resourceGroups/myResourceGroup/providers/Microsoft.HybridCompute/machines/myMachine", + "name": "myMachine", + "location": "eastus2euap", + "tags": null, + "identity": { + "type": "SystemAssigned", + "principalId": "string", + "tenantId": "string" + }, + "type": "Microsoft.HybridCompute/machines", + "kind": null, + "properties": { + "provisioningState": "Succeeded", + "agentVersion": null, + "status": null, + "lastStatusChange": null, + "errorDetails": null, + "displayName": null, + "machineFqdn": null, + "vmUuid": null, + "osSku": null, + "domainName": null, + "adFqdn": null, + "dnsFqdn": null, + "osVersion": null, + "osType": null, + "osProfile": { + "computerName": null, + "windowsConfiguration": { + "patchSettings": { + "assessmentMode": "ImageDefault", + "patchMode": "Manual" + } + }, + "linuxConfiguration": { + "patchSettings": { + "assessmentMode": "ImageDefault", + "patchMode": "Manual" + } + } + }, + "licenseProfile": { + "esuProfile": { + "licenseAssignmentState": "Assigned", + "esuEligibility": "Ineligible", + "serverType": "Standard", + "esuKeyState": "Inactive", + "esuKeys": [ + { + "sku": "skuNumber1", + "licenseStatus": "licenseStatus1" + }, + { + "sku": "skuNumber2", + "licenseStatus": "licenseStatus2" + } + ] + } + }, + "vmId": "b7a098cc-b0b8-46e8-a205-62f301a62a8f", + "locationData": { + "name": "Redmond" + }, + "clientPublicKey": "string", + "parentClusterResourceId": "{AzureStackHCIResourceId}", + "detectedProperties": null, + "privateLinkScopeResourceId": "/subscriptions/{subscriptionId}/resourceGroups/myResourceGroup/providers/Microsoft.HybridCompute/privateLinkScopes/privateLinkScopeName" + } + } + } + } +} diff --git a/specification/hybridcompute/resource-manager/Microsoft.HybridCompute/preview/2023-10-03-preview/examples/privateEndpoint/PrivateEndpointConnection_Delete.json b/specification/hybridcompute/resource-manager/Microsoft.HybridCompute/preview/2023-10-03-preview/examples/privateEndpoint/PrivateEndpointConnection_Delete.json new file mode 100644 index 000000000000..838ac2275b40 --- /dev/null +++ b/specification/hybridcompute/resource-manager/Microsoft.HybridCompute/preview/2023-10-03-preview/examples/privateEndpoint/PrivateEndpointConnection_Delete.json @@ -0,0 +1,20 @@ +{ + "parameters": { + "subscriptionId": "00000000-1111-2222-3333-444444444444", + "resourceGroupName": "myResourceGroup", + "scopeName": "myPrivateLinkScope", + "privateEndpointConnectionName": "private-endpoint-connection-name", + "api-version": "2023-06-20-preview" + }, + "responses": { + "200": {}, + "202": { + "headers": { + "Location": "{callbackUrl}", + "Retry-After": 200, + "Azure-AsyncOperation": "{callbackUri}" + } + }, + "204": {} + } +} diff --git a/specification/hybridcompute/resource-manager/Microsoft.HybridCompute/preview/2023-10-03-preview/examples/privateEndpoint/PrivateEndpointConnection_Get.json b/specification/hybridcompute/resource-manager/Microsoft.HybridCompute/preview/2023-10-03-preview/examples/privateEndpoint/PrivateEndpointConnection_Get.json new file mode 100644 index 000000000000..4e4387f0d823 --- /dev/null +++ b/specification/hybridcompute/resource-manager/Microsoft.HybridCompute/preview/2023-10-03-preview/examples/privateEndpoint/PrivateEndpointConnection_Get.json @@ -0,0 +1,32 @@ +{ + "parameters": { + "subscriptionId": "00000000-1111-2222-3333-444444444444", + "resourceGroupName": "myResourceGroup", + "scopeName": "myPrivateLinkScope", + "privateEndpointConnectionName": "private-endpoint-connection-name", + "api-version": "2023-06-20-preview" + }, + "responses": { + "200": { + "body": { + "id": "/subscriptions/00000000-1111-2222-3333-444444444444/resourceGroups/myResourceGroup/providers/Microsoft.HybridCompute/privateLinkScopes/myPrivateLinkScope/privateEndpointConnections/private-endpoint-connection-name", + "name": "private-endpoint-connection-name", + "type": "Microsoft.HybridCompute/privateLinkScopes/privateEndpointConnections", + "properties": { + "provisioningState": "Succeeded", + "privateEndpoint": { + "id": "/subscriptions/55555555-6666-7777-8888-999999999999/resourceGroups/Default-Network/providers/Microsoft.Network/privateEndpoints/private-endpoint-name" + }, + "privateLinkServiceConnectionState": { + "status": "Approved", + "description": "Auto-approved", + "actionsRequired": "None" + }, + "groupIds": [ + "hybridcompute" + ] + } + } + } + } +} diff --git a/specification/hybridcompute/resource-manager/Microsoft.HybridCompute/preview/2023-10-03-preview/examples/privateEndpoint/PrivateEndpointConnection_List.json b/specification/hybridcompute/resource-manager/Microsoft.HybridCompute/preview/2023-10-03-preview/examples/privateEndpoint/PrivateEndpointConnection_List.json new file mode 100644 index 000000000000..d768ea5fa6ca --- /dev/null +++ b/specification/hybridcompute/resource-manager/Microsoft.HybridCompute/preview/2023-10-03-preview/examples/privateEndpoint/PrivateEndpointConnection_List.json @@ -0,0 +1,54 @@ +{ + "parameters": { + "subscriptionId": "00000000-1111-2222-3333-444444444444", + "resourceGroupName": "myResourceGroup", + "scopeName": "myPrivateLinkScope", + "api-version": "2023-06-20-preview" + }, + "responses": { + "200": { + "body": { + "value": [ + { + "id": "/subscriptions/00000000-1111-2222-3333-444444444444/resourceGroups/myResourceGroup/providers/Microsoft.HybridCompute/privateLinkScopes/myPrivateLinkScope/privateEndpointConnections/private-endpoint-connection-name-2", + "name": "private-endpoint-connection-name", + "type": "Microsoft.HybridCompute/privateLinkScopes/privateEndpointConnections", + "properties": { + "provisioningState": "Succeeded", + "privateEndpoint": { + "id": "/subscriptions/55555555-6666-7777-8888-999999999999/resourceGroups/Default-Network/providers/Microsoft.Network/privateEndpoints/private-endpoint-name" + }, + "privateLinkServiceConnectionState": { + "status": "Approved", + "description": "Auto-approved", + "actionsRequired": "None" + }, + "groupIds": [ + "hybridcompute" + ] + } + }, + { + "id": "/subscriptions/00000000-1111-2222-3333-444444444444/resourceGroups/myResourceGroup/providers/Microsoft.HybridCompute/privateLinkScopes/myPrivateLinkScope/privateEndpointConnections/private-endpoint-connection-name-2", + "name": "private-endpoint-connection-name-2", + "type": "Microsoft.HybridCompute/privateLinkScopes/privateEndpointConnections", + "properties": { + "provisioningState": "Succeeded", + "privateEndpoint": { + "id": "/subscriptions/55555555-6666-7777-8888-999999999999/resourceGroups/Default-Network/providers/Microsoft.Network/privateEndpoints/private-endpoint-name-2" + }, + "privateLinkServiceConnectionState": { + "status": "Pending", + "description": "Please approve my connection.", + "actionsRequired": "None" + }, + "groupIds": [ + "hybridcompute" + ] + } + } + ] + } + } + } +} diff --git a/specification/hybridcompute/resource-manager/Microsoft.HybridCompute/preview/2023-10-03-preview/examples/privateEndpoint/PrivateEndpointConnection_Update.json b/specification/hybridcompute/resource-manager/Microsoft.HybridCompute/preview/2023-10-03-preview/examples/privateEndpoint/PrivateEndpointConnection_Update.json new file mode 100644 index 000000000000..d661f60ff84d --- /dev/null +++ b/specification/hybridcompute/resource-manager/Microsoft.HybridCompute/preview/2023-10-03-preview/examples/privateEndpoint/PrivateEndpointConnection_Update.json @@ -0,0 +1,41 @@ +{ + "parameters": { + "subscriptionId": "00000000-1111-2222-3333-444444444444", + "resourceGroupName": "myResourceGroup", + "scopeName": "myPrivateLinkScope", + "privateEndpointConnectionName": "private-endpoint-connection-name", + "api-version": "2023-06-20-preview", + "parameters": { + "properties": { + "privateLinkServiceConnectionState": { + "status": "Approved", + "description": "Approved by johndoe@contoso.com" + } + } + } + }, + "responses": { + "200": { + "body": { + "id": "/subscriptions/00000000-1111-2222-3333-444444444444/resourceGroups/myResourceGroup/providers/Microsoft.HybridCompute/privateLinkScopes/myPrivateLinkScope/privateEndpointConnections/private-endpoint-connection-name", + "name": "private-endpoint-connection-name", + "type": "Microsoft.HybridCompute/privateLinkScopes/privateEndpointConnections", + "properties": { + "provisioningState": "Succeeded", + "privateEndpoint": { + "id": "/subscriptions/55555555-6666-7777-8888-999999999999/resourceGroups/Default-Network/providers/Microsoft.Network/privateEndpoints/private-endpoint-name" + }, + "privateLinkServiceConnectionState": { + "status": "Approved", + "description": "Approved by johndoe@contoso.com", + "actionsRequired": "None" + }, + "groupIds": [ + "hybridcompute" + ] + } + } + }, + "202": {} + } +} diff --git a/specification/hybridcompute/resource-manager/Microsoft.HybridCompute/preview/2023-10-03-preview/examples/privateLinkScope/PrivateLinkScopePrivateLinkResource_Get.json b/specification/hybridcompute/resource-manager/Microsoft.HybridCompute/preview/2023-10-03-preview/examples/privateLinkScope/PrivateLinkScopePrivateLinkResource_Get.json new file mode 100644 index 000000000000..b90af661b12b --- /dev/null +++ b/specification/hybridcompute/resource-manager/Microsoft.HybridCompute/preview/2023-10-03-preview/examples/privateLinkScope/PrivateLinkScopePrivateLinkResource_Get.json @@ -0,0 +1,31 @@ +{ + "parameters": { + "subscriptionId": "00000000-1111-2222-3333-444444444444", + "resourceGroupName": "myResourceGroup", + "scopeName": "myPrivateLinkScope", + "api-version": "2023-06-20-preview", + "groupName": "hybridcompute" + }, + "responses": { + "200": { + "body": { + "id": "/subscriptions/00000000-1111-2222-3333-444444444444/resourceGroups/myResourceGroup/providers/Microsoft.HybridCompute/privateLinkScopes/myPrivateLinkScope/privateLinkResources/hybridcompute", + "name": "hybridcompute", + "type": "Microsoft.HybridCompute/privateLinkScopes/privateLinkResources", + "properties": { + "groupId": "hybridcompute", + "requiredMembers": [ + "HybridCompute.Server", + "HybridCompute.K8sConfiguration", + "GuestConfig.DP" + ], + "requiredZoneNames": [ + "privatelink.his.arc.azure.com", + "privatelink.kubernetesconfiguration.azure.com", + "privatelink.Guestconfiguration.azure.com" + ] + } + } + } + } +} diff --git a/specification/hybridcompute/resource-manager/Microsoft.HybridCompute/preview/2023-10-03-preview/examples/privateLinkScope/PrivateLinkScopePrivateLinkResource_ListGet.json b/specification/hybridcompute/resource-manager/Microsoft.HybridCompute/preview/2023-10-03-preview/examples/privateLinkScope/PrivateLinkScopePrivateLinkResource_ListGet.json new file mode 100644 index 000000000000..3270ca8eecc1 --- /dev/null +++ b/specification/hybridcompute/resource-manager/Microsoft.HybridCompute/preview/2023-10-03-preview/examples/privateLinkScope/PrivateLinkScopePrivateLinkResource_ListGet.json @@ -0,0 +1,35 @@ +{ + "parameters": { + "subscriptionId": "00000000-1111-2222-3333-444444444444", + "resourceGroupName": "myResourceGroup", + "scopeName": "myPrivateLinkScope", + "api-version": "2023-06-20-preview" + }, + "responses": { + "200": { + "body": { + "value": [ + { + "id": "/subscriptions/00000000-1111-2222-3333-444444444444/resourceGroups/myResourceGroup/providers/Microsoft.HybridCompute/privateLinkScopes/myPrivateLinkScope/privateLinkResources/hybridcompute", + "name": "hybridcompute", + "type": "Microsoft.HybridCompute/privateLinkScopes/privateLinkResources", + "properties": { + "groupId": "hybridcompute", + "requiredMembers": [ + "HybridCompute.ServerDP", + "HybridCompute.K8sConfigurationDP", + "HybridCompute.GuestConfigDP" + ], + "requiredZoneNames": [ + "privatelink.his.arc.azure.com", + "privatelink.kubernetesconfiguration.azure.com", + "privatelink.Guestconfiguration.azure.com" + ] + } + } + ], + "nextLink": null + } + } + } +} diff --git a/specification/hybridcompute/resource-manager/Microsoft.HybridCompute/preview/2023-10-03-preview/examples/privateLinkScope/PrivateLinkScopes_Create.json b/specification/hybridcompute/resource-manager/Microsoft.HybridCompute/preview/2023-10-03-preview/examples/privateLinkScope/PrivateLinkScopes_Create.json new file mode 100644 index 000000000000..f311be083db7 --- /dev/null +++ b/specification/hybridcompute/resource-manager/Microsoft.HybridCompute/preview/2023-10-03-preview/examples/privateLinkScope/PrivateLinkScopes_Create.json @@ -0,0 +1,77 @@ +{ + "parameters": { + "api-version": "2023-06-20-preview", + "subscriptionId": "86dc51d3-92ed-4d7e-947a-775ea79b4919", + "resourceGroupName": "my-resource-group", + "scopeName": "my-privatelinkscope", + "parameters": { + "location": "westus" + } + }, + "responses": { + "200": { + "body": { + "id": "/subscriptions/86dc51d3-92ed-4d7e-947a-775ea79b4919/resourceGroups/my-resource-group/providers/microsoft.hybridcompute/privateLinkScopes/my-privatelinkscope", + "name": "my-privatelinkscope", + "type": "Microsoft.HybridCompute/privateLinkScopes", + "location": "westus", + "tags": {}, + "properties": { + "privateLinkScopeId": "e5dc51d3-92ed-4d7e-947a-775ea79b4919", + "provisioningState": "Succeeded", + "publicNetworkAccess": "Disabled", + "privateEndpointConnections": [ + { + "id": "/subscriptions/00000000-1111-2222-3333-444444444444/resourceGroups/myResourceGroup/providers/Microsoft.HybridCompute/privateLinkScopes/myPrivateLinkScope/privateEndpointConnections/private-endpoint-connection-name", + "name": "private-endpoint-connection-name", + "type": "Microsoft.HybridCompute/privateLinkScopes/privateEndpointConnections", + "properties": { + "provisioningState": "Succeeded", + "privateEndpoint": { + "id": "/subscriptions/55555555-6666-7777-8888-999999999999/resourceGroups/Default-Network/providers/Microsoft.Network/privateEndpoints/private-endpoint-name" + }, + "privateLinkServiceConnectionState": { + "status": "Approved", + "description": "Auto-approved", + "actionsRequired": "None" + } + } + } + ] + } + } + }, + "201": { + "body": { + "id": "/subscriptions/86dc51d3-92ed-4d7e-947a-775ea79b4919/resourceGroups/my-resource-group/providers/microsoft.hybridcompute/privateLinkScopes/my-privatelinkscope", + "name": "my-privatelinkscope", + "type": "Microsoft.HybridCompute/privateLinkScopes", + "location": "westus", + "tags": {}, + "properties": { + "privateLinkScopeId": "e5dc51d3-92ed-4d7e-947a-775ea79b4919", + "provisioningState": "Succeeded", + "publicNetworkAccess": "Disabled", + "privateEndpointConnections": [ + { + "id": "/subscriptions/00000000-1111-2222-3333-444444444444/resourceGroups/myResourceGroup/providers/Microsoft.HybridCompute/privateLinkScopes/myPrivateLinkScope/privateEndpointConnections/private-endpoint-connection-name", + "name": "private-endpoint-connection-name", + "type": "Microsoft.HybridCompute/privateLinkScopes/privateEndpointConnections", + "properties": { + "provisioningState": "Succeeded", + "privateEndpoint": { + "id": "/subscriptions/55555555-6666-7777-8888-999999999999/resourceGroups/Default-Network/providers/Microsoft.Network/privateEndpoints/private-endpoint-name" + }, + "privateLinkServiceConnectionState": { + "status": "Approved", + "description": "Auto-approved", + "actionsRequired": "None" + } + } + } + ] + } + } + } + } +} diff --git a/specification/hybridcompute/resource-manager/Microsoft.HybridCompute/preview/2023-10-03-preview/examples/privateLinkScope/PrivateLinkScopes_Delete.json b/specification/hybridcompute/resource-manager/Microsoft.HybridCompute/preview/2023-10-03-preview/examples/privateLinkScope/PrivateLinkScopes_Delete.json new file mode 100644 index 000000000000..aada5caa206d --- /dev/null +++ b/specification/hybridcompute/resource-manager/Microsoft.HybridCompute/preview/2023-10-03-preview/examples/privateLinkScope/PrivateLinkScopes_Delete.json @@ -0,0 +1,19 @@ +{ + "parameters": { + "api-version": "2023-06-20-preview", + "subscriptionId": "86dc51d3-92ed-4d7e-947a-775ea79b4919", + "resourceGroupName": "my-resource-group", + "scopeName": "my-privatelinkscope" + }, + "responses": { + "200": {}, + "204": {}, + "202": { + "headers": { + "Location": "{callbackUrl}", + "Retry-After": 200, + "Azure-AsyncOperation": "{callbackUri}" + } + } + } +} diff --git a/specification/hybridcompute/resource-manager/Microsoft.HybridCompute/preview/2023-10-03-preview/examples/privateLinkScope/PrivateLinkScopes_Get.json b/specification/hybridcompute/resource-manager/Microsoft.HybridCompute/preview/2023-10-03-preview/examples/privateLinkScope/PrivateLinkScopes_Get.json new file mode 100644 index 000000000000..fddef3aa053f --- /dev/null +++ b/specification/hybridcompute/resource-manager/Microsoft.HybridCompute/preview/2023-10-03-preview/examples/privateLinkScope/PrivateLinkScopes_Get.json @@ -0,0 +1,42 @@ +{ + "parameters": { + "api-version": "2023-06-20-preview", + "subscriptionId": "86dc51d3-92ed-4d7e-947a-775ea79b4919", + "resourceGroupName": "my-resource-group", + "scopeName": "my-privatelinkscope" + }, + "responses": { + "200": { + "body": { + "id": "/subscriptions/86dc51d3-92ed-4d7e-947a-775ea79b4919/resourceGroups/my-resource-group/providers/microsoft.hybridcompute/privateLinkScopes/my-privatelinkscope", + "name": "my-privatelinkscope", + "type": "Microsoft.HybridCompute/privateLinkScopes", + "location": "westus", + "tags": {}, + "properties": { + "privateLinkScopeId": "f5dc51d3-92ed-4d7e-947a-775ea79b4919", + "provisioningState": "Succeeded", + "publicNetworkAccess": "Disabled", + "privateEndpointConnections": [ + { + "id": "/subscriptions/00000000-1111-2222-3333-444444444444/resourceGroups/myResourceGroup/providers/Microsoft.HybridCompute/privateLinkScopes/myPrivateLinkScope/privateEndpointConnections/private-endpoint-connection-name", + "name": "private-endpoint-connection-name", + "type": "Microsoft.HybridCompute/privateLinkScopes/privateEndpointConnections", + "properties": { + "provisioningState": "Succeeded", + "privateEndpoint": { + "id": "/subscriptions/55555555-6666-7777-8888-999999999999/resourceGroups/Default-Network/providers/Microsoft.Network/privateEndpoints/private-endpoint-name" + }, + "privateLinkServiceConnectionState": { + "status": "Approved", + "description": "Auto-approved", + "actionsRequired": "None" + } + } + } + ] + } + } + } + } +} diff --git a/specification/hybridcompute/resource-manager/Microsoft.HybridCompute/preview/2023-10-03-preview/examples/privateLinkScope/PrivateLinkScopes_GetValidation.json b/specification/hybridcompute/resource-manager/Microsoft.HybridCompute/preview/2023-10-03-preview/examples/privateLinkScope/PrivateLinkScopes_GetValidation.json new file mode 100644 index 000000000000..53e1aff90f35 --- /dev/null +++ b/specification/hybridcompute/resource-manager/Microsoft.HybridCompute/preview/2023-10-03-preview/examples/privateLinkScope/PrivateLinkScopes_GetValidation.json @@ -0,0 +1,25 @@ +{ + "parameters": { + "api-version": "2023-06-20-preview", + "location": "wus2", + "subscriptionId": "86dc51d3-92ed-4d7e-947a-775ea79b4919", + "privateLinkScopeId": "f5dc51d3-92ed-4d7e-947a-775ea79b4919" + }, + "responses": { + "200": { + "body": { + "id": "/subscriptions/86dc51d3-92ed-4d7e-947a-775ea79b4919/resourceGroups/my-resource-group/providers/microsoft.hybridcompute/privateLinkScopes/my-privatelinkscope", + "publicNetworkAccess": "Disabled", + "connectionDetails": [ + { + "id": "id", + "privateIpAddress": "ip", + "linkIdentifier": "linkId", + "groupId": "groupId", + "memberName": "memberName" + } + ] + } + } + } +} diff --git a/specification/hybridcompute/resource-manager/Microsoft.HybridCompute/preview/2023-10-03-preview/examples/privateLinkScope/PrivateLinkScopes_GetValidationForMachine.json b/specification/hybridcompute/resource-manager/Microsoft.HybridCompute/preview/2023-10-03-preview/examples/privateLinkScope/PrivateLinkScopes_GetValidationForMachine.json new file mode 100644 index 000000000000..eecdf7f9af0f --- /dev/null +++ b/specification/hybridcompute/resource-manager/Microsoft.HybridCompute/preview/2023-10-03-preview/examples/privateLinkScope/PrivateLinkScopes_GetValidationForMachine.json @@ -0,0 +1,26 @@ +{ + "parameters": { + "api-version": "2023-06-20-preview", + "location": "wus2", + "subscriptionId": "86dc51d3-92ed-4d7e-947a-775ea79b4919", + "resourceGroupName": "my-resource-group", + "machineName": "machineName" + }, + "responses": { + "200": { + "body": { + "id": "/subscriptions/86dc51d3-92ed-4d7e-947a-775ea79b4919/resourceGroups/my-resource-group/providers/microsoft.hybridcompute/privateLinkScopes/my-privatelinkscope", + "publicNetworkAccess": "Disabled", + "connectionDetails": [ + { + "id": "id", + "privateIpAddress": "ip", + "linkIdentifier": "linkId", + "groupId": "groupId", + "memberName": "memberName" + } + ] + } + } + } +} diff --git a/specification/hybridcompute/resource-manager/Microsoft.HybridCompute/preview/2023-10-03-preview/examples/privateLinkScope/PrivateLinkScopes_List.json b/specification/hybridcompute/resource-manager/Microsoft.HybridCompute/preview/2023-10-03-preview/examples/privateLinkScope/PrivateLinkScopes_List.json new file mode 100644 index 000000000000..2dc194117a2d --- /dev/null +++ b/specification/hybridcompute/resource-manager/Microsoft.HybridCompute/preview/2023-10-03-preview/examples/privateLinkScope/PrivateLinkScopes_List.json @@ -0,0 +1,57 @@ +{ + "parameters": { + "api-version": "2023-06-20-preview", + "subscriptionId": "86dc51d3-92ed-4d7e-947a-775ea79b4919" + }, + "responses": { + "200": { + "body": { + "value": [ + { + "id": "/subscriptions/86dc51d3-92ed-4d7e-947a-775ea79b4919/resourceGroups/my-resource-group/providers/microsoft.hybridcompute/privateLinkScopes/my-privatelinkscope", + "name": "my-privatelinkscope", + "type": "Microsoft.HybridCompute/privateLinkScopes", + "location": "westus", + "tags": {}, + "properties": { + "privateLinkScopeId": "e5dc51d3-92ed-4d7e-947a-775ea79b4919", + "provisioningState": "Succeeded", + "publicNetworkAccess": "Disabled" + } + }, + { + "id": "/subscriptions/86dc51d3-92ed-4d7e-947a-775ea79b4919/resourceGroups/my-resource-group/providers/microsoft.hybridcompute/privateLinkScopes/my-other-privatelinkscope", + "name": "my-other-privatelinkscope", + "type": "Microsoft.HybridCompute/privateLinkScopes", + "location": "westus", + "tags": {}, + "properties": { + "privateLinkScopeId": "f5dc51d3-92ed-4d7e-947a-775ea79b4919", + "provisioningState": "Succeeded", + "publicNetworkAccess": "Disabled", + "privateEndpointConnections": [ + { + "id": "/subscriptions/00000000-1111-2222-3333-444444444444/resourceGroups/myResourceGroup/providers/Microsoft.HybridCompute/privateLinkScopes/myPrivateLinkScope/privateEndpointConnections/private-endpoint-connection-name", + "name": "private-endpoint-connection-name", + "type": "Microsoft.HybridCompute/privateLinkScopes/privateEndpointConnections", + "properties": { + "provisioningState": "Succeeded", + "privateEndpoint": { + "id": "/subscriptions/55555555-6666-7777-8888-999999999999/resourceGroups/Default-Network/providers/Microsoft.Network/privateEndpoints/private-endpoint-name" + }, + "privateLinkServiceConnectionState": { + "status": "Approved", + "description": "Auto-approved", + "actionsRequired": "None" + } + } + } + ] + } + } + ], + "nextLink": null + } + } + } +} diff --git a/specification/hybridcompute/resource-manager/Microsoft.HybridCompute/preview/2023-10-03-preview/examples/privateLinkScope/PrivateLinkScopes_ListByResourceGroup.json b/specification/hybridcompute/resource-manager/Microsoft.HybridCompute/preview/2023-10-03-preview/examples/privateLinkScope/PrivateLinkScopes_ListByResourceGroup.json new file mode 100644 index 000000000000..de7905edc959 --- /dev/null +++ b/specification/hybridcompute/resource-manager/Microsoft.HybridCompute/preview/2023-10-03-preview/examples/privateLinkScope/PrivateLinkScopes_ListByResourceGroup.json @@ -0,0 +1,76 @@ +{ + "parameters": { + "api-version": "2023-06-20-preview", + "subscriptionId": "86dc51d3-92ed-4d7e-947a-775ea79b4919", + "resourceGroupName": "my-resource-group" + }, + "responses": { + "200": { + "body": { + "value": [ + { + "id": "/subscriptions/86dc51d3-92ed-4d7e-947a-775ea79b4919/resourceGroups/my-resource-group/providers/microsoft.hybridcompute/privateLinkScopes/my-privatelinkscope", + "name": "my-privatelinkscope", + "type": "Microsoft.HybridCompute/privateLinkScopes", + "location": "westus", + "tags": {}, + "properties": { + "privateLinkScopeId": "f5dc51d3-92ed-4d7e-947a-775ea79b4919", + "provisioningState": "Succeeded", + "publicNetworkAccess": "Disabled", + "privateEndpointConnections": [ + { + "id": "/subscriptions/00000000-1111-2222-3333-444444444444/resourceGroups/myResourceGroup/providers/Microsoft.HybridCompute/privateLinkScopes/myPrivateLinkScope/privateEndpointConnections/private-endpoint-connection-name", + "name": "private-endpoint-connection-name", + "type": "Microsoft.HybridCompute/privateLinkScopes/privateEndpointConnections", + "properties": { + "provisioningState": "Succeeded", + "privateEndpoint": { + "id": "/subscriptions/55555555-6666-7777-8888-999999999999/resourceGroups/Default-Network/providers/Microsoft.Network/privateEndpoints/private-endpoint-name" + }, + "privateLinkServiceConnectionState": { + "status": "Approved", + "description": "Auto-approved", + "actionsRequired": "None" + } + } + } + ] + } + }, + { + "id": "/subscriptions/86dc51d3-92ed-4d7e-947a-775ea79b4919/resourceGroups/my-resource-group/providers/microsoft.hybridcompute/privateLinkScopes/my-other-privatelinkscope", + "name": "my-other-privatelinkscope", + "type": "Microsoft.HybridCompute/privateLinkScopes", + "location": "westus", + "tags": {}, + "properties": { + "privateLinkScopeId": "a5dc51d3-92ed-4d7e-947a-775ea79b4919", + "provisioningState": "Succeeded", + "publicNetworkAccess": "Disabled", + "privateEndpointConnections": [ + { + "id": "/subscriptions/00000000-1111-2222-3333-444444444444/resourceGroups/myResourceGroup/providers/Microsoft.HybridCompute/privateLinkScopes/myPrivateLinkScope/privateEndpointConnections/private-endpoint-connection-name", + "name": "private-endpoint-connection-name", + "type": "Microsoft.HybridCompute/privateLinkScopes/privateEndpointConnections", + "properties": { + "provisioningState": "Succeeded", + "privateEndpoint": { + "id": "/subscriptions/55555555-6666-7777-8888-999999999999/resourceGroups/Default-Network/providers/Microsoft.Network/privateEndpoints/private-endpoint-name" + }, + "privateLinkServiceConnectionState": { + "status": "Approved", + "description": "Auto-approved", + "actionsRequired": "None" + } + } + } + ] + } + } + ], + "nextLink": null + } + } + } +} diff --git a/specification/hybridcompute/resource-manager/Microsoft.HybridCompute/preview/2023-10-03-preview/examples/privateLinkScope/PrivateLinkScopes_Update.json b/specification/hybridcompute/resource-manager/Microsoft.HybridCompute/preview/2023-10-03-preview/examples/privateLinkScope/PrivateLinkScopes_Update.json new file mode 100644 index 000000000000..98294662e7ed --- /dev/null +++ b/specification/hybridcompute/resource-manager/Microsoft.HybridCompute/preview/2023-10-03-preview/examples/privateLinkScope/PrivateLinkScopes_Update.json @@ -0,0 +1,84 @@ +{ + "parameters": { + "api-version": "2023-06-20-preview", + "subscriptionId": "86dc51d3-92ed-4d7e-947a-775ea79b4919", + "resourceGroupName": "my-resource-group", + "scopeName": "my-privatelinkscope", + "parameters": { + "location": "westus", + "tags": { + "Tag1": "Value1" + } + } + }, + "responses": { + "200": { + "body": { + "id": "/subscriptions/86dc51d3-92ed-4d7e-947a-775ea79b4919/resourceGroups/my-resource-group/providers/microsoft.hybridCompute/privateLinkScopes/my-privatelinkscope", + "name": "my-privatelinkscope", + "type": "Microsoft.HybridCompute/privateLinkScopes", + "location": "westus", + "tags": { + "Tag1": "Value1" + }, + "properties": { + "privateLinkScopeId": "e5dc51d3-92ed-4d7e-947a-775ea79b4919", + "provisioningState": "Succeeded", + "publicNetworkAccess": "Disabled", + "privateEndpointConnections": [ + { + "id": "/subscriptions/00000000-1111-2222-3333-444444444444/resourceGroups/myResourceGroup/providers/Microsoft.HybridCompute/privateLinkScopes/myPrivateLinkScope/privateEndpointConnections/private-endpoint-connection-name", + "name": "private-endpoint-connection-name", + "type": "Microsoft.HybridCompute/privateLinkScopes/privateEndpointConnections", + "properties": { + "provisioningState": "Succeeded", + "privateEndpoint": { + "id": "/subscriptions/55555555-6666-7777-8888-999999999999/resourceGroups/Default-Network/providers/Microsoft.Network/privateEndpoints/private-endpoint-name" + }, + "privateLinkServiceConnectionState": { + "status": "Approved", + "description": "Auto-approved", + "actionsRequired": "None" + } + } + } + ] + } + } + }, + "201": { + "body": { + "id": "/subscriptions/86dc51d3-92ed-4d7e-947a-775ea79b4919/resourceGroups/my-resource-group/providers/microsoft.hybridCompute/privateLinkScopes/my-privatelinkscope", + "name": "my-privatelinkscope", + "type": "Microsoft.HybridCompute/privateLinkScopes", + "location": "westus", + "tags": { + "Tag1": "Value1" + }, + "properties": { + "privateLinkScopeId": "e5dc51d3-92ed-4d7e-947a-775ea79b4919", + "provisioningState": "Succeeded", + "publicNetworkAccess": "Disabled", + "privateEndpointConnections": [ + { + "id": "/subscriptions/00000000-1111-2222-3333-444444444444/resourceGroups/myResourceGroup/providers/Microsoft.HybridCompute/privateLinkScopes/myPrivateLinkScope/privateEndpointConnections/private-endpoint-connection-name", + "name": "private-endpoint-connection-name", + "type": "Microsoft.HybridCompute/privateLinkScopes/privateEndpointConnections", + "properties": { + "provisioningState": "Succeeded", + "privateEndpoint": { + "id": "/subscriptions/55555555-6666-7777-8888-999999999999/resourceGroups/Default-Network/providers/Microsoft.Network/privateEndpoints/private-endpoint-name" + }, + "privateLinkServiceConnectionState": { + "status": "Approved", + "description": "Auto-approved", + "actionsRequired": "None" + } + } + } + ] + } + } + } + } +} diff --git a/specification/hybridcompute/resource-manager/Microsoft.HybridCompute/preview/2023-10-03-preview/examples/privateLinkScope/PrivateLinkScopes_UpdateTagsOnly.json b/specification/hybridcompute/resource-manager/Microsoft.HybridCompute/preview/2023-10-03-preview/examples/privateLinkScope/PrivateLinkScopes_UpdateTagsOnly.json new file mode 100644 index 000000000000..8c8a1996568e --- /dev/null +++ b/specification/hybridcompute/resource-manager/Microsoft.HybridCompute/preview/2023-10-03-preview/examples/privateLinkScope/PrivateLinkScopes_UpdateTagsOnly.json @@ -0,0 +1,51 @@ +{ + "parameters": { + "api-version": "2023-06-20-preview", + "subscriptionId": "subid", + "resourceGroupName": "my-resource-group", + "scopeName": "my-privatelinkscope", + "PrivateLinkScopeTags": { + "tags": { + "Tag1": "Value1", + "Tag2": "Value2" + } + } + }, + "responses": { + "200": { + "body": { + "id": "/subscriptions/subid/resourceGroups/my-resource-group/providers/microsoft.hybridcompute/privateLinkScopes/my-privatelinkscope", + "name": "my-privatelinkscope", + "type": "Microsoft.HybridCompute/privateLinkScopes", + "location": "westus", + "tags": { + "Tag1": "Value1", + "Tag2": "Value2" + }, + "properties": { + "privateLinkScopeId": "e5dc51d3-92ed-4d7e-947a-775ea79b4919", + "provisioningState": "Succeeded", + "publicNetworkAccess": "Disabled", + "privateEndpointConnections": [ + { + "id": "/subscriptions/00000000-1111-2222-3333-444444444444/resourceGroups/myResourceGroup/providers/Microsoft.HybridCompute/privateLinkScopes/myPrivateLinkScope/privateEndpointConnections/private-endpoint-connection-name", + "name": "private-endpoint-connection-name", + "type": "Microsoft.HybridCompute/privateLinkScopes/privateEndpointConnections", + "properties": { + "provisioningState": "Succeeded", + "privateEndpoint": { + "id": "/subscriptions/55555555-6666-7777-8888-999999999999/resourceGroups/Default-Network/providers/Microsoft.Network/privateEndpoints/private-endpoint-name" + }, + "privateLinkServiceConnectionState": { + "status": "Approved", + "description": "Auto-approved", + "actionsRequired": "None" + } + } + } + ] + } + } + } + } +} diff --git a/specification/hybridcompute/resource-manager/Microsoft.HybridCompute/preview/2023-10-03-preview/privateLinkScopes.json b/specification/hybridcompute/resource-manager/Microsoft.HybridCompute/preview/2023-10-03-preview/privateLinkScopes.json new file mode 100644 index 000000000000..e3b9dfa4ee75 --- /dev/null +++ b/specification/hybridcompute/resource-manager/Microsoft.HybridCompute/preview/2023-10-03-preview/privateLinkScopes.json @@ -0,0 +1,1130 @@ +{ + "swagger": "2.0", + "info": { + "title": "HybridComputeManagementClient", + "x-ms-code-generation-settings": { + "name": "HybridComputeManagementClient" + }, + "description": "Azure Arc( Servers and K8s Clusters) API reference for Private Link's Scopes management.", + "version": "2023-06-20-preview" + }, + "host": "management.azure.com", + "schemes": [ + "https" + ], + "consumes": [ + "application/json" + ], + "produces": [ + "application/json" + ], + "security": [ + { + "azure_auth": [ + "user_impersonation" + ] + } + ], + "securityDefinitions": { + "azure_auth": { + "type": "oauth2", + "authorizationUrl": "https://login.microsoftonline.com/common/oauth2/authorize", + "flow": "implicit", + "description": "Azure Active Directory OAuth2 Flow", + "scopes": { + "user_impersonation": "impersonate your user account" + } + } + }, + "paths": { + "/subscriptions/{subscriptionId}/providers/Microsoft.HybridCompute/privateLinkScopes": { + "get": { + "description": "Gets a list of all Azure Arc PrivateLinkScopes within a subscription.", + "operationId": "PrivateLinkScopes_List", + "parameters": [ + { + "$ref": "../../../../../common-types/resource-management/v3/types.json#/parameters/ApiVersionParameter" + }, + { + "$ref": "../../../../../common-types/resource-management/v3/types.json#/parameters/SubscriptionIdParameter" + } + ], + "responses": { + "200": { + "description": "A list containing 0 or more Azure Arc PrivateLinkScope definitions.", + "schema": { + "$ref": "#/definitions/HybridComputePrivateLinkScopeListResult" + } + }, + "default": { + "description": "Error response describing why the operation failed.", + "schema": { + "$ref": "../../../../../common-types/resource-management/v3/types.json#/definitions/ErrorResponse" + } + } + }, + "x-ms-examples": { + "PrivateLinkScopesList.json": { + "$ref": "./examples/privateLinkScope/PrivateLinkScopes_List.json" + } + }, + "x-ms-pageable": { + "nextLinkName": "nextLink" + } + } + }, + "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.HybridCompute/privateLinkScopes": { + "get": { + "description": "Gets a list of Azure Arc PrivateLinkScopes within a resource group.", + "operationId": "PrivateLinkScopes_ListByResourceGroup", + "parameters": [ + { + "$ref": "../../../../../common-types/resource-management/v3/types.json#/parameters/ResourceGroupNameParameter" + }, + { + "$ref": "../../../../../common-types/resource-management/v3/types.json#/parameters/ApiVersionParameter" + }, + { + "$ref": "../../../../../common-types/resource-management/v3/types.json#/parameters/SubscriptionIdParameter" + } + ], + "responses": { + "200": { + "description": "A list containing 0 or more Azure Arc PrivateLinkScope definitions.", + "schema": { + "$ref": "#/definitions/HybridComputePrivateLinkScopeListResult" + } + }, + "default": { + "description": "Error response describing why the operation failed.", + "schema": { + "$ref": "../../../../../common-types/resource-management/v3/types.json#/definitions/ErrorResponse" + } + } + }, + "x-ms-examples": { + "PrivateLinkScopeListByResourceGroup": { + "$ref": "./examples/privateLinkScope/PrivateLinkScopes_ListByResourceGroup.json" + } + }, + "x-ms-pageable": { + "nextLinkName": "nextLink" + } + } + }, + "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.HybridCompute/privateLinkScopes/{scopeName}": { + "delete": { + "description": "Deletes a Azure Arc PrivateLinkScope.", + "operationId": "PrivateLinkScopes_Delete", + "parameters": [ + { + "$ref": "../../../../../common-types/resource-management/v3/types.json#/parameters/ResourceGroupNameParameter" + }, + { + "$ref": "../../../../../common-types/resource-management/v3/types.json#/parameters/ApiVersionParameter" + }, + { + "$ref": "../../../../../common-types/resource-management/v3/types.json#/parameters/SubscriptionIdParameter" + }, + { + "$ref": "#/parameters/PrivateLinkScopeName" + } + ], + "responses": { + "200": { + "description": "Successful request when deleting an Azure Arc PrivateLinkScope." + }, + "202": { + "description": "Accepted.", + "headers": { + "Location": { + "description": "The URL of the resource used to check the status of the asynchronous operation.", + "type": "string" + }, + "Retry-After": { + "description": "The recommended number of seconds to wait before calling the URI specified in Azure-AsyncOperation.", + "type": "integer", + "format": "int32" + }, + "Azure-AsyncOperation": { + "description": "The URI to poll for completion status.", + "type": "string" + } + } + }, + "204": { + "description": "The specified PrivateLinkScope does not exist." + }, + "default": { + "description": "Error response describing why the operation failed.", + "schema": { + "$ref": "../../../../../common-types/resource-management/v3/types.json#/definitions/ErrorResponse" + } + } + }, + "x-ms-long-running-operation": true, + "x-ms-examples": { + "PrivateLinkScopesDelete": { + "$ref": "./examples/privateLinkScope/PrivateLinkScopes_Delete.json" + } + } + }, + "get": { + "description": "Returns a Azure Arc PrivateLinkScope.", + "operationId": "PrivateLinkScopes_Get", + "parameters": [ + { + "$ref": "../../../../../common-types/resource-management/v3/types.json#/parameters/ResourceGroupNameParameter" + }, + { + "$ref": "../../../../../common-types/resource-management/v3/types.json#/parameters/ApiVersionParameter" + }, + { + "$ref": "../../../../../common-types/resource-management/v3/types.json#/parameters/SubscriptionIdParameter" + }, + { + "$ref": "#/parameters/PrivateLinkScopeName" + } + ], + "responses": { + "200": { + "description": "Azure Arc PrivateLinkScope definition.", + "schema": { + "$ref": "#/definitions/HybridComputePrivateLinkScope" + } + }, + "default": { + "description": "Error response describing why the operation failed.", + "schema": { + "$ref": "../../../../../common-types/resource-management/v3/types.json#/definitions/ErrorResponse" + } + } + }, + "x-ms-examples": { + "PrivateLinkScopeGet": { + "$ref": "./examples/privateLinkScope/PrivateLinkScopes_Get.json" + } + } + }, + "put": { + "description": "Creates (or updates) a Azure Arc PrivateLinkScope. Note: You cannot specify a different value for InstrumentationKey nor AppId in the Put operation.", + "operationId": "PrivateLinkScopes_CreateOrUpdate", + "parameters": [ + { + "$ref": "../../../../../common-types/resource-management/v3/types.json#/parameters/ResourceGroupNameParameter" + }, + { + "$ref": "../../../../../common-types/resource-management/v3/types.json#/parameters/ApiVersionParameter" + }, + { + "$ref": "../../../../../common-types/resource-management/v3/types.json#/parameters/SubscriptionIdParameter" + }, + { + "$ref": "#/parameters/PrivateLinkScopeName" + }, + { + "name": "parameters", + "description": "Properties that need to be specified to create or update a Azure Arc for Servers and Clusters PrivateLinkScope.", + "in": "body", + "required": true, + "schema": { + "$ref": "#/definitions/HybridComputePrivateLinkScope" + } + } + ], + "responses": { + "200": { + "description": "Successful request when creating or updating a Azure Arc PrivateLinkScope. The updated PrivateLinkScope is returned.", + "schema": { + "$ref": "#/definitions/HybridComputePrivateLinkScope" + } + }, + "201": { + "description": "Successful request when creating or updating a Azure Arc PrivateLinkScope. The updated PrivateLinkScope was created and is returned.", + "schema": { + "$ref": "#/definitions/HybridComputePrivateLinkScope" + } + }, + "default": { + "description": "Error response describing why the operation failed.", + "schema": { + "$ref": "../../../../../common-types/resource-management/v3/types.json#/definitions/ErrorResponse" + } + } + }, + "x-ms-examples": { + "PrivateLinkScopeCreate": { + "$ref": "./examples/privateLinkScope/PrivateLinkScopes_Create.json" + }, + "PrivateLinkScopeUpdate": { + "$ref": "./examples/privateLinkScope/PrivateLinkScopes_Update.json" + } + } + }, + "patch": { + "description": "Updates an existing PrivateLinkScope's tags. To update other fields use the CreateOrUpdate method.", + "operationId": "PrivateLinkScopes_UpdateTags", + "parameters": [ + { + "$ref": "../../../../../common-types/resource-management/v3/types.json#/parameters/ResourceGroupNameParameter" + }, + { + "$ref": "../../../../../common-types/resource-management/v3/types.json#/parameters/ApiVersionParameter" + }, + { + "$ref": "../../../../../common-types/resource-management/v3/types.json#/parameters/SubscriptionIdParameter" + }, + { + "$ref": "#/parameters/PrivateLinkScopeName" + }, + { + "name": "PrivateLinkScopeTags", + "description": "Updated tag information to set into the PrivateLinkScope instance.", + "in": "body", + "required": true, + "schema": { + "$ref": "#/definitions/TagsResource" + } + } + ], + "responses": { + "200": { + "description": "Updating the Azure Arc PrivateLinkScope's tags was successful. PrivateLinkScope tags are updated and returned with the rest of the PrivateLinkScope's object properties.", + "schema": { + "$ref": "#/definitions/HybridComputePrivateLinkScope" + } + }, + "default": { + "description": "Error response describing why the operation failed.", + "schema": { + "$ref": "../../../../../common-types/resource-management/v3/types.json#/definitions/ErrorResponse" + } + } + }, + "x-ms-examples": { + "PrivateLinkScopeUpdateTagsOnly": { + "$ref": "./examples/privateLinkScope/PrivateLinkScopes_UpdateTagsOnly.json" + } + } + } + }, + "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.HybridCompute/privateLinkScopes/{scopeName}/privateLinkResources": { + "get": { + "tags": [ + "PrivateLinkResources" + ], + "description": "Gets the private link resources that need to be created for a Azure Monitor PrivateLinkScope.", + "operationId": "PrivateLinkResources_ListByPrivateLinkScope", + "x-ms-pageable": { + "nextLinkName": "nextLink" + }, + "parameters": [ + { + "$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/ApiVersionParameter" + }, + { + "$ref": "#/parameters/PrivateLinkScopeName" + } + ], + "responses": { + "200": { + "description": "Successfully retrieved private link resources.", + "schema": { + "$ref": "#/definitions/PrivateLinkResourceListResult" + } + }, + "default": { + "description": "Error response describing why the operation failed.", + "schema": { + "$ref": "../../../../../common-types/resource-management/v3/types.json#/definitions/ErrorResponse" + } + } + }, + "x-ms-examples": { + "Gets private endpoint connection.": { + "$ref": "./examples/privateLinkScope/PrivateLinkScopePrivateLinkResource_ListGet.json" + } + } + } + }, + "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.HybridCompute/privateLinkScopes/{scopeName}/privateLinkResources/{groupName}": { + "get": { + "tags": [ + "PrivateLinkResources" + ], + "description": "Gets the private link resources that need to be created for a Azure Monitor PrivateLinkScope.", + "operationId": "PrivateLinkResources_Get", + "parameters": [ + { + "$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/ApiVersionParameter" + }, + { + "$ref": "#/parameters/PrivateLinkScopeName" + }, + { + "$ref": "#/parameters/GroupNameParameter" + } + ], + "responses": { + "200": { + "description": "Successfully retrieved a specified private link resource.", + "schema": { + "$ref": "#/definitions/PrivateLinkResource" + } + }, + "default": { + "description": "Error response describing why the operation failed.", + "schema": { + "$ref": "../../../../../common-types/resource-management/v3/types.json#/definitions/ErrorResponse" + } + } + }, + "x-ms-examples": { + "Gets private endpoint connection.": { + "$ref": "./examples/privateLinkScope/PrivateLinkScopePrivateLinkResource_Get.json" + } + } + } + }, + "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.HybridCompute/privateLinkScopes/{scopeName}/privateEndpointConnections/{privateEndpointConnectionName}": { + "get": { + "tags": [ + "PrivateEndpointConnections" + ], + "description": "Gets a private endpoint connection.", + "operationId": "PrivateEndpointConnections_Get", + "parameters": [ + { + "$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/ApiVersionParameter" + }, + { + "$ref": "#/parameters/PrivateLinkScopeName" + }, + { + "name": "privateEndpointConnectionName", + "in": "path", + "description": "The name of the private endpoint connection.", + "required": true, + "type": "string" + } + ], + "responses": { + "200": { + "description": "Successfully retrieved a specified private endpoint connection.", + "schema": { + "$ref": "#/definitions/PrivateEndpointConnection" + } + }, + "default": { + "description": "Error response describing why the operation failed.", + "schema": { + "$ref": "../../../../../common-types/resource-management/v3/types.json#/definitions/ErrorResponse" + } + } + }, + "x-ms-examples": { + "Gets private endpoint connection.": { + "$ref": "./examples/privateEndpoint/PrivateEndpointConnection_Get.json" + } + } + }, + "put": { + "tags": [ + "PrivateEndpointConnections" + ], + "description": "Approve or reject a private endpoint connection with a given name.", + "operationId": "PrivateEndpointConnections_CreateOrUpdate", + "parameters": [ + { + "$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/ApiVersionParameter" + }, + { + "$ref": "#/parameters/PrivateLinkScopeName" + }, + { + "name": "privateEndpointConnectionName", + "in": "path", + "description": "The name of the private endpoint connection.", + "required": true, + "type": "string" + }, + { + "name": "parameters", + "in": "body", + "required": true, + "schema": { + "$ref": "#/definitions/PrivateEndpointConnection" + } + } + ], + "responses": { + "200": { + "description": "Successfully approved or rejected private endpoint connection.", + "schema": { + "$ref": "#/definitions/PrivateEndpointConnection" + } + }, + "202": { + "description": "Accepted" + }, + "default": { + "description": "Error response describing why the operation failed.", + "schema": { + "$ref": "../../../../../common-types/resource-management/v3/types.json#/definitions/ErrorResponse" + } + } + }, + "x-ms-long-running-operation": true, + "x-ms-examples": { + "Approve or reject a private endpoint connection with a given name.": { + "$ref": "./examples/privateEndpoint/PrivateEndpointConnection_Update.json" + } + } + }, + "delete": { + "tags": [ + "PrivateEndpointConnections" + ], + "description": "Deletes a private endpoint connection with a given name.", + "operationId": "PrivateEndpointConnections_Delete", + "parameters": [ + { + "$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/ApiVersionParameter" + }, + { + "$ref": "#/parameters/PrivateLinkScopeName" + }, + { + "name": "privateEndpointConnectionName", + "in": "path", + "description": "The name of the private endpoint connection.", + "required": true, + "type": "string" + } + ], + "responses": { + "200": { + "description": "Successfully deleted private endpoint connection." + }, + "202": { + "description": "Accepted", + "headers": { + "Location": { + "description": "The URL of the resource used to check the status of the asynchronous operation.", + "type": "string" + }, + "Retry-After": { + "description": "The recommended number of seconds to wait before calling the URI specified in Azure-AsyncOperation.", + "type": "integer", + "format": "int32" + }, + "Azure-AsyncOperation": { + "description": "The URI to poll for completion status.", + "type": "string" + } + } + }, + "204": { + "description": "Private endpoint connection does not exist." + }, + "default": { + "description": "Error response describing why the operation failed.", + "schema": { + "$ref": "../../../../../common-types/resource-management/v3/types.json#/definitions/ErrorResponse" + } + } + }, + "x-ms-long-running-operation": true, + "x-ms-examples": { + "Deletes a private endpoint connection with a given name.": { + "$ref": "./examples/privateEndpoint/PrivateEndpointConnection_Delete.json" + } + } + } + }, + "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.HybridCompute/privateLinkScopes/{scopeName}/privateEndpointConnections": { + "get": { + "tags": [ + "PrivateEndpointConnections" + ], + "description": "Gets all private endpoint connections on a private link scope.", + "operationId": "PrivateEndpointConnections_ListByPrivateLinkScope", + "parameters": [ + { + "$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/ApiVersionParameter" + }, + { + "$ref": "#/parameters/PrivateLinkScopeName" + } + ], + "responses": { + "200": { + "description": "Successfully retrieved private endpoint connections.", + "schema": { + "$ref": "#/definitions/PrivateEndpointConnectionListResult" + } + }, + "default": { + "description": "Error response describing why the operation failed.", + "schema": { + "$ref": "../../../../../common-types/resource-management/v3/types.json#/definitions/ErrorResponse" + } + } + }, + "x-ms-pageable": { + "nextLinkName": "nextLink" + }, + "x-ms-examples": { + "Gets list of private endpoint connections on a private link scope.": { + "$ref": "./examples/privateEndpoint/PrivateEndpointConnection_List.json" + } + } + } + }, + "/subscriptions/{subscriptionId}/providers/Microsoft.HybridCompute/locations/{location}/privateLinkScopes/{privateLinkScopeId}": { + "get": { + "description": "Returns a Azure Arc PrivateLinkScope's validation details.", + "operationId": "PrivateLinkScopes_GetValidationDetails", + "parameters": [ + { + "$ref": "#/parameters/LocationParameter" + }, + { + "$ref": "../../../../../common-types/resource-management/v3/types.json#/parameters/ApiVersionParameter" + }, + { + "$ref": "../../../../../common-types/resource-management/v3/types.json#/parameters/SubscriptionIdParameter" + }, + { + "$ref": "#/parameters/PrivateLinkScopeId" + } + ], + "responses": { + "200": { + "description": "Azure Arc PrivateLinkScope validation details definition.", + "schema": { + "$ref": "#/definitions/PrivateLinkScopeValidationDetails" + } + }, + "default": { + "description": "Error response describing why the operation failed.", + "schema": { + "$ref": "../../../../../common-types/resource-management/v3/types.json#/definitions/ErrorResponse" + } + } + }, + "x-ms-examples": { + "PrivateLinkScopeGet": { + "$ref": "./examples/privateLinkScope/PrivateLinkScopes_GetValidation.json" + } + } + } + }, + "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.HybridCompute/machines/{machineName}/privateLinkScopes/current": { + "get": { + "description": "Returns a Azure Arc PrivateLinkScope's validation details for a given machine.", + "operationId": "PrivateLinkScopes_GetValidationDetailsForMachine", + "parameters": [ + { + "$ref": "../../../../../common-types/resource-management/v3/types.json#/parameters/ApiVersionParameter" + }, + { + "$ref": "../../../../../common-types/resource-management/v3/types.json#/parameters/SubscriptionIdParameter" + }, + { + "$ref": "../../../../../common-types/resource-management/v3/types.json#/parameters/ResourceGroupNameParameter" + }, + { + "$ref": "#/parameters/MachineNameParameter" + } + ], + "responses": { + "200": { + "description": "Azure Arc PrivateLinkScope validation details definition.", + "schema": { + "$ref": "#/definitions/PrivateLinkScopeValidationDetails" + } + }, + "default": { + "description": "Error response describing why the operation failed.", + "schema": { + "$ref": "../../../../../common-types/resource-management/v3/types.json#/definitions/ErrorResponse" + } + } + }, + "x-ms-examples": { + "PrivateLinkScopeGet": { + "$ref": "./examples/privateLinkScope/PrivateLinkScopes_GetValidationForMachine.json" + } + } + } + } + }, + "definitions": { + "PrivateLinkScopesResource": { + "type": "object", + "properties": { + "id": { + "type": "string", + "readOnly": true, + "description": "Azure resource Id" + }, + "name": { + "type": "string", + "description": "Azure resource name", + "readOnly": true + }, + "type": { + "type": "string", + "readOnly": true, + "description": "Azure resource type" + }, + "location": { + "type": "string", + "description": "Resource location", + "x-ms-mutability": [ + "create", + "read" + ] + }, + "tags": { + "type": "object", + "additionalProperties": { + "type": "string" + }, + "description": "Resource tags" + } + }, + "required": [ + "location" + ], + "x-ms-azure-resource": true, + "description": "An azure resource object" + }, + "TagsResource": { + "type": "object", + "properties": { + "tags": { + "type": "object", + "additionalProperties": { + "type": "string" + }, + "description": "Resource tags" + } + }, + "description": "A container holding only the Tags for a resource, allowing the user to update the tags on a PrivateLinkScope instance." + }, + "HybridComputePrivateLinkScope": { + "type": "object", + "properties": { + "properties": { + "description": "Properties that define a Azure Arc PrivateLinkScope resource.", + "$ref": "#/definitions/HybridComputePrivateLinkScopeProperties" + }, + "systemData": { + "readOnly": true, + "description": "The system meta data relating to this resource.", + "$ref": "../../../../../common-types/resource-management/v3/types.json#/definitions/systemData" + } + }, + "allOf": [ + { + "$ref": "#/definitions/PrivateLinkScopesResource" + } + ], + "description": "An Azure Arc PrivateLinkScope definition." + }, + "PrivateLinkScopeValidationDetails": { + "type": "object", + "properties": { + "id": { + "type": "string", + "readOnly": true, + "description": "Azure resource Id" + }, + "publicNetworkAccess": { + "description": "Indicates whether machines associated with the private link scope can also use public Azure Arc service endpoints.", + "$ref": "#/definitions/PublicNetworkAccessType" + }, + "connectionDetails": { + "type": "array", + "description": "List of Private Endpoint Connection details.", + "items": { + "$ref": "#/definitions/ConnectionDetail" + } + } + } + }, + "ConnectionDetail": { + "type": "object", + "properties": { + "id": { + "type": "string", + "readOnly": true, + "description": "Azure resource Id" + }, + "privateIpAddress": { + "type": "string", + "readOnly": true, + "description": "The private endpoint connection private ip address" + }, + "linkIdentifier": { + "type": "string", + "readOnly": true, + "description": "The private endpoint connection link identifier" + }, + "groupId": { + "type": "string", + "readOnly": true, + "description": "The private endpoint connection group id" + }, + "memberName": { + "type": "string", + "readOnly": true, + "description": "The private endpoint connection member name" + } + } + }, + "HybridComputePrivateLinkScopeProperties": { + "type": "object", + "description": "Properties that define a Azure Arc PrivateLinkScope resource.", + "properties": { + "publicNetworkAccess": { + "description": "Indicates whether machines associated with the private link scope can also use public Azure Arc service endpoints.", + "$ref": "#/definitions/PublicNetworkAccessType" + }, + "provisioningState": { + "type": "string", + "description": "Current state of this PrivateLinkScope: whether or not is has been provisioned within the resource group it is defined. Users cannot change this value but are able to read from it. Values will include Provisioning ,Succeeded, Canceled and Failed.", + "readOnly": true + }, + "privateLinkScopeId": { + "readOnly": true, + "description": "The Guid id of the private link scope.", + "type": "string" + }, + "privateEndpointConnections": { + "readOnly": true, + "description": "The collection of associated Private Endpoint Connections.", + "type": "array", + "items": { + "$ref": "#/definitions/PrivateEndpointConnectionDataModel" + } + } + } + }, + "HybridComputePrivateLinkScopeListResult": { + "type": "object", + "description": "Describes the list of Azure Arc PrivateLinkScope resources.", + "required": [ + "value" + ], + "properties": { + "value": { + "type": "array", + "description": "List of Azure Arc PrivateLinkScope definitions.", + "items": { + "$ref": "#/definitions/HybridComputePrivateLinkScope" + } + }, + "nextLink": { + "type": "string", + "description": "The URI to get the next set of Azure Arc PrivateLinkScope definitions if too many PrivateLinkScopes where returned in the result set." + } + } + }, + "PrivateLinkResourceListResult": { + "type": "object", + "description": "A list of private link resources", + "properties": { + "value": { + "description": "Array of results.", + "type": "array", + "items": { + "$ref": "#/definitions/PrivateLinkResource" + }, + "readOnly": true + }, + "nextLink": { + "description": "Link to retrieve next page of results.", + "type": "string", + "readOnly": true + } + } + }, + "PrivateLinkResource": { + "type": "object", + "description": "A private link resource", + "properties": { + "properties": { + "$ref": "#/definitions/PrivateLinkResourceProperties", + "description": "Resource properties." + }, + "systemData": { + "readOnly": true, + "description": "The system meta data relating to this resource.", + "$ref": "../../../../../common-types/resource-management/v3/types.json#/definitions/systemData" + } + }, + "allOf": [ + { + "$ref": "../../../../../common-types/resource-management/v3/types.json#/definitions/ProxyResource" + } + ] + }, + "PrivateLinkResourceProperties": { + "type": "object", + "description": "Properties of a private link resource.", + "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": { + "description": "Required DNS zone names of the the private link resource.", + "type": "array", + "items": { + "type": "string" + }, + "readOnly": true + } + } + }, + "PrivateEndpointConnectionDataModel": { + "type": "object", + "description": "The Data Model for a Private Endpoint Connection associated with a Private Link Scope", + "properties": { + "id": { + "description": "The ARM Resource Id of the Private Endpoint.", + "type": "string", + "readOnly": true + }, + "name": { + "description": "The Name of the Private Endpoint.", + "type": "string", + "readOnly": true + }, + "type": { + "type": "string", + "readOnly": true, + "description": "Azure resource type" + }, + "properties": { + "$ref": "#/definitions/PrivateEndpointConnectionProperties", + "description": "The Private Endpoint Connection properties." + } + } + }, + "PrivateEndpointConnectionProperties": { + "type": "object", + "description": "Properties of a private endpoint connection.", + "properties": { + "privateEndpoint": { + "$ref": "#/definitions/PrivateEndpointProperty", + "description": "Private endpoint which the connection belongs to." + }, + "privateLinkServiceConnectionState": { + "$ref": "#/definitions/PrivateLinkServiceConnectionStateProperty", + "description": "Connection state of the private endpoint connection." + }, + "provisioningState": { + "description": "State of the private endpoint connection.", + "type": "string", + "readOnly": true + }, + "groupIds": { + "description": "List of group IDs.", + "type": "array", + "items": { + "type": "string" + }, + "readOnly": true + } + } + }, + "PrivateEndpointProperty": { + "type": "object", + "description": "Private endpoint which the connection belongs to.", + "properties": { + "id": { + "description": "Resource id of the private endpoint.", + "type": "string" + } + } + }, + "PrivateLinkServiceConnectionStateProperty": { + "type": "object", + "description": "State of the private endpoint connection.", + "required": [ + "status", + "description" + ], + "properties": { + "status": { + "description": "The private link service connection status.", + "type": "string" + }, + "description": { + "description": "The private link service connection description.", + "type": "string" + }, + "actionsRequired": { + "description": "The actions required for private link service connection.", + "type": "string", + "readOnly": true + } + } + }, + "PrivateEndpointConnection": { + "type": "object", + "description": "A private endpoint connection", + "allOf": [ + { + "$ref": "../../../../../common-types/resource-management/v3/types.json#/definitions/ProxyResource" + } + ], + "properties": { + "properties": { + "$ref": "#/definitions/PrivateEndpointConnectionProperties", + "description": "Resource properties." + }, + "systemData": { + "readOnly": true, + "description": "The system meta data relating to this resource.", + "$ref": "../../../../../common-types/resource-management/v3/types.json#/definitions/systemData" + } + } + }, + "PrivateEndpointConnectionListResult": { + "type": "object", + "description": "A list of private endpoint connections.", + "properties": { + "value": { + "description": "Array of results.", + "type": "array", + "items": { + "$ref": "#/definitions/PrivateEndpointConnection" + }, + "readOnly": true + }, + "nextLink": { + "description": "Link to retrieve next page of results.", + "type": "string", + "readOnly": true + } + } + }, + "PublicNetworkAccessType": { + "type": "string", + "description": "The network access policy to determine if Azure Arc agents can use public Azure Arc service endpoints. Defaults to disabled (access to Azure Arc services only via private link).", + "default": "Disabled", + "enum": [ + "Enabled", + "Disabled" + ], + "x-ms-enum": { + "name": "PublicNetworkAccessType", + "modelAsString": true, + "values": [ + { + "value": "Enabled", + "description": "Allows Azure Arc agents to communicate with Azure Arc services over both public (internet) and private endpoints." + }, + { + "value": "Disabled", + "description": "Does not allow Azure Arc agents to communicate with Azure Arc services over public (internet) endpoints. The agents must use the private link." + } + ] + } + } + }, + "parameters": { + "PrivateLinkScopeName": { + "name": "scopeName", + "in": "path", + "required": true, + "type": "string", + "description": "The name of the Azure Arc PrivateLinkScope resource.", + "x-ms-parameter-location": "method" + }, + "PrivateLinkScopeId": { + "name": "privateLinkScopeId", + "in": "path", + "required": true, + "type": "string", + "description": "The id (Guid) of the Azure Arc PrivateLinkScope resource.", + "x-ms-parameter-location": "method" + }, + "GroupNameParameter": { + "name": "groupName", + "in": "path", + "description": "The name of the private link resource.", + "required": true, + "x-ms-parameter-location": "method", + "type": "string" + }, + "LocationParameter": { + "name": "location", + "in": "path", + "required": true, + "type": "string", + "x-ms-parameter-location": "method", + "description": "The location of the target resource.", + "minLength": 1 + }, + "MachineNameParameter": { + "name": "machineName", + "in": "path", + "required": true, + "type": "string", + "description": "The name of the target machine to get the private link scope validation details for.", + "minLength": 1, + "x-ms-parameter-location": "method" + } + } +} From 1ba7b83425392470680e14189cf935a501f1d95a Mon Sep 17 00:00:00 2001 From: Ved Kale Date: Mon, 2 Oct 2023 17:11:47 -0700 Subject: [PATCH 02/57] Updates readme --- .../hybridcompute/resource-manager/readme.md | 16 ++++++++++++---- 1 file changed, 12 insertions(+), 4 deletions(-) diff --git a/specification/hybridcompute/resource-manager/readme.md b/specification/hybridcompute/resource-manager/readme.md index 71538476d132..024ec8ef90d2 100644 --- a/specification/hybridcompute/resource-manager/readme.md +++ b/specification/hybridcompute/resource-manager/readme.md @@ -26,9 +26,7 @@ These are the global settings for the HybridCompute API. ``` yaml openapi-type: arm - -tag: package-preview-2023-06 - +tag: package-preview-2023-10 directive: - where: - $.definitions.Machine.properties @@ -36,11 +34,21 @@ directive: - BodyTopLevelProperties ``` + +### Tag: package-preview-2023-10 + +These settings apply only when `--tag=package-preview-2023-10` is specified on the command line. + +```yaml $(tag) == 'package-preview-2023-10' +input-file: + - Microsoft.HybridCompute/preview/2023-10-03-preview/HybridCompute.json + - Microsoft.HybridCompute/preview/2023-10-03-preview/privateLinkScopes.json +``` ### Tag: package-preview-2023-06 These settings apply only when `--tag=package-preview-2023-06` is specified on the command line. -```yaml $(tag) == 'package-preview-2023-06' +``` yaml $(tag) == 'package-preview-2023-06' input-file: - Microsoft.HybridCompute/preview/2023-06-20-preview/HybridCompute.json - Microsoft.HybridCompute/preview/2023-06-20-preview/privateLinkScopes.json From 26820df6a6567515a437e1bb29abcce847ef23ff Mon Sep 17 00:00:00 2001 From: Ved Kale Date: Mon, 2 Oct 2023 17:11:50 -0700 Subject: [PATCH 03/57] Updates API version in new specs and examples --- .../preview/2023-10-03-preview/HybridCompute.json | 2 +- .../2023-10-03-preview/examples/AgentVersion_GetLatest.json | 2 +- .../preview/2023-10-03-preview/examples/AgentVersions_Get.json | 2 +- .../2023-10-03-preview/examples/HybridIdentityMetadata_Get.json | 2 +- .../examples/HybridIdentityMetadata_ListByVirtualMachines.json | 2 +- .../preview/2023-10-03-preview/examples/NetworkProfile_Get.json | 2 +- .../preview/2023-10-03-preview/examples/Operations_List.json | 2 +- .../examples/extension/ExtensionMetadata_Get.json | 2 +- .../examples/extension/ExtensionMetadata_List.json | 2 +- .../examples/extension/Extension_CreateOrUpdate.json | 2 +- .../2023-10-03-preview/examples/extension/Extension_Delete.json | 2 +- .../2023-10-03-preview/examples/extension/Extension_Get.json | 2 +- .../2023-10-03-preview/examples/extension/Extension_List.json | 2 +- .../2023-10-03-preview/examples/extension/Extension_Update.json | 2 +- .../examples/extension/Extensions_Upgrade.json | 2 +- .../examples/license/License_CreateOrUpdate.json | 2 +- .../2023-10-03-preview/examples/license/License_Delete.json | 2 +- .../2023-10-03-preview/examples/license/License_Get.json | 2 +- .../examples/license/License_ListByResourceGroup.json | 2 +- .../examples/license/License_ListBySubscription.json | 2 +- .../2023-10-03-preview/examples/license/License_Update.json | 2 +- .../examples/license/License_ValidateLicense.json | 2 +- .../examples/licenseProfile/LicenseProfile_CreateOrUpdate.json | 2 +- .../examples/licenseProfile/LicenseProfile_Delete.json | 2 +- .../examples/licenseProfile/LicenseProfile_Get.json | 2 +- .../examples/licenseProfile/LicenseProfile_List.json | 2 +- .../examples/licenseProfile/LicenseProfile_Update.json | 2 +- .../examples/machine/Machine_AssessPatches.json | 2 +- .../examples/machine/Machine_InstallPatches.json | 2 +- .../examples/machine/Machines_CreateOrUpdate.json | 2 +- .../2023-10-03-preview/examples/machine/Machines_Delete.json | 2 +- .../2023-10-03-preview/examples/machine/Machines_Get.json | 2 +- .../machine/Machines_Get_LicenseProfileInstanceView.json | 2 +- .../examples/machine/Machines_ListByResourceGroup.json | 2 +- .../examples/machine/Machines_ListBySubscription.json | 2 +- .../2023-10-03-preview/examples/machine/Machines_Update.json | 2 +- .../privateEndpoint/PrivateEndpointConnection_Delete.json | 2 +- .../examples/privateEndpoint/PrivateEndpointConnection_Get.json | 2 +- .../privateEndpoint/PrivateEndpointConnection_List.json | 2 +- .../privateEndpoint/PrivateEndpointConnection_Update.json | 2 +- .../PrivateLinkScopePrivateLinkResource_Get.json | 2 +- .../PrivateLinkScopePrivateLinkResource_ListGet.json | 2 +- .../examples/privateLinkScope/PrivateLinkScopes_Create.json | 2 +- .../examples/privateLinkScope/PrivateLinkScopes_Delete.json | 2 +- .../examples/privateLinkScope/PrivateLinkScopes_Get.json | 2 +- .../privateLinkScope/PrivateLinkScopes_GetValidation.json | 2 +- .../PrivateLinkScopes_GetValidationForMachine.json | 2 +- .../examples/privateLinkScope/PrivateLinkScopes_List.json | 2 +- .../privateLinkScope/PrivateLinkScopes_ListByResourceGroup.json | 2 +- .../examples/privateLinkScope/PrivateLinkScopes_Update.json | 2 +- .../privateLinkScope/PrivateLinkScopes_UpdateTagsOnly.json | 2 +- .../preview/2023-10-03-preview/privateLinkScopes.json | 2 +- 52 files changed, 52 insertions(+), 52 deletions(-) diff --git a/specification/hybridcompute/resource-manager/Microsoft.HybridCompute/preview/2023-10-03-preview/HybridCompute.json b/specification/hybridcompute/resource-manager/Microsoft.HybridCompute/preview/2023-10-03-preview/HybridCompute.json index 76cfa4ebb9c9..fac208bd1a55 100644 --- a/specification/hybridcompute/resource-manager/Microsoft.HybridCompute/preview/2023-10-03-preview/HybridCompute.json +++ b/specification/hybridcompute/resource-manager/Microsoft.HybridCompute/preview/2023-10-03-preview/HybridCompute.json @@ -3,7 +3,7 @@ "info": { "title": "HybridComputeManagementClient", "description": "The Hybrid Compute Management Client.", - "version": "2023-06-20-preview" + "version": "2023-10-03-preview" }, "host": "management.azure.com", "schemes": [ diff --git a/specification/hybridcompute/resource-manager/Microsoft.HybridCompute/preview/2023-10-03-preview/examples/AgentVersion_GetLatest.json b/specification/hybridcompute/resource-manager/Microsoft.HybridCompute/preview/2023-10-03-preview/examples/AgentVersion_GetLatest.json index 246c3853a3bb..cddbc5f2910b 100644 --- a/specification/hybridcompute/resource-manager/Microsoft.HybridCompute/preview/2023-10-03-preview/examples/AgentVersion_GetLatest.json +++ b/specification/hybridcompute/resource-manager/Microsoft.HybridCompute/preview/2023-10-03-preview/examples/AgentVersion_GetLatest.json @@ -2,7 +2,7 @@ "parameters": { "osType": "myOsType", "version": "1.27", - "api-version": "2023-06-20-preview" + "api-version": "2023-10-03-preview" }, "responses": { "200": { diff --git a/specification/hybridcompute/resource-manager/Microsoft.HybridCompute/preview/2023-10-03-preview/examples/AgentVersions_Get.json b/specification/hybridcompute/resource-manager/Microsoft.HybridCompute/preview/2023-10-03-preview/examples/AgentVersions_Get.json index 9c0b5ef532e1..ab02bdcd7031 100644 --- a/specification/hybridcompute/resource-manager/Microsoft.HybridCompute/preview/2023-10-03-preview/examples/AgentVersions_Get.json +++ b/specification/hybridcompute/resource-manager/Microsoft.HybridCompute/preview/2023-10-03-preview/examples/AgentVersions_Get.json @@ -1,7 +1,7 @@ { "parameters": { "osType": "myOsType", - "api-version": "2023-06-20-preview" + "api-version": "2023-10-03-preview" }, "responses": { "200": { diff --git a/specification/hybridcompute/resource-manager/Microsoft.HybridCompute/preview/2023-10-03-preview/examples/HybridIdentityMetadata_Get.json b/specification/hybridcompute/resource-manager/Microsoft.HybridCompute/preview/2023-10-03-preview/examples/HybridIdentityMetadata_Get.json index aa04200c9e58..49bdfc8ab7da 100644 --- a/specification/hybridcompute/resource-manager/Microsoft.HybridCompute/preview/2023-10-03-preview/examples/HybridIdentityMetadata_Get.json +++ b/specification/hybridcompute/resource-manager/Microsoft.HybridCompute/preview/2023-10-03-preview/examples/HybridIdentityMetadata_Get.json @@ -1,6 +1,6 @@ { "parameters": { - "api-version": "2023-06-20-preview", + "api-version": "2023-10-03-preview", "subscriptionId": "fd3c3665-1729-4b7b-9a38-238e83b0f98b", "resourceGroupName": "testrg", "machineName": "ContosoVm", diff --git a/specification/hybridcompute/resource-manager/Microsoft.HybridCompute/preview/2023-10-03-preview/examples/HybridIdentityMetadata_ListByVirtualMachines.json b/specification/hybridcompute/resource-manager/Microsoft.HybridCompute/preview/2023-10-03-preview/examples/HybridIdentityMetadata_ListByVirtualMachines.json index d906ec7b19a1..9bc45e7eef95 100644 --- a/specification/hybridcompute/resource-manager/Microsoft.HybridCompute/preview/2023-10-03-preview/examples/HybridIdentityMetadata_ListByVirtualMachines.json +++ b/specification/hybridcompute/resource-manager/Microsoft.HybridCompute/preview/2023-10-03-preview/examples/HybridIdentityMetadata_ListByVirtualMachines.json @@ -1,6 +1,6 @@ { "parameters": { - "api-version": "2023-06-20-preview", + "api-version": "2023-10-03-preview", "subscriptionId": "fd3c3665-1729-4b7b-9a38-238e83b0f98b", "resourceGroupName": "testrg", "machineName": "ContosoVm" diff --git a/specification/hybridcompute/resource-manager/Microsoft.HybridCompute/preview/2023-10-03-preview/examples/NetworkProfile_Get.json b/specification/hybridcompute/resource-manager/Microsoft.HybridCompute/preview/2023-10-03-preview/examples/NetworkProfile_Get.json index 498c27b3adc1..aab06b8c7b59 100644 --- a/specification/hybridcompute/resource-manager/Microsoft.HybridCompute/preview/2023-10-03-preview/examples/NetworkProfile_Get.json +++ b/specification/hybridcompute/resource-manager/Microsoft.HybridCompute/preview/2023-10-03-preview/examples/NetworkProfile_Get.json @@ -3,7 +3,7 @@ "subscriptionId": "00000000-1111-2222-3333-444444444444", "resourceGroupName": "myResourceGroup", "machineName": "myMachine", - "api-version": "2023-06-20-preview" + "api-version": "2023-10-03-preview" }, "responses": { "200": { diff --git a/specification/hybridcompute/resource-manager/Microsoft.HybridCompute/preview/2023-10-03-preview/examples/Operations_List.json b/specification/hybridcompute/resource-manager/Microsoft.HybridCompute/preview/2023-10-03-preview/examples/Operations_List.json index 984e068fb926..fed49a291f4f 100644 --- a/specification/hybridcompute/resource-manager/Microsoft.HybridCompute/preview/2023-10-03-preview/examples/Operations_List.json +++ b/specification/hybridcompute/resource-manager/Microsoft.HybridCompute/preview/2023-10-03-preview/examples/Operations_List.json @@ -1,6 +1,6 @@ { "parameters": { - "api-version": "2023-06-20-preview" + "api-version": "2023-10-03-preview" }, "responses": { "200": { diff --git a/specification/hybridcompute/resource-manager/Microsoft.HybridCompute/preview/2023-10-03-preview/examples/extension/ExtensionMetadata_Get.json b/specification/hybridcompute/resource-manager/Microsoft.HybridCompute/preview/2023-10-03-preview/examples/extension/ExtensionMetadata_Get.json index 495bb9128f21..1f706d918944 100644 --- a/specification/hybridcompute/resource-manager/Microsoft.HybridCompute/preview/2023-10-03-preview/examples/extension/ExtensionMetadata_Get.json +++ b/specification/hybridcompute/resource-manager/Microsoft.HybridCompute/preview/2023-10-03-preview/examples/extension/ExtensionMetadata_Get.json @@ -5,7 +5,7 @@ "publisher": "microsoft.azure.monitor", "extensionType": "azuremonitorlinuxagent", "version": "1.9.1", - "api-version": "2023-06-20-preview" + "api-version": "2023-10-03-preview" }, "responses": { "200": { diff --git a/specification/hybridcompute/resource-manager/Microsoft.HybridCompute/preview/2023-10-03-preview/examples/extension/ExtensionMetadata_List.json b/specification/hybridcompute/resource-manager/Microsoft.HybridCompute/preview/2023-10-03-preview/examples/extension/ExtensionMetadata_List.json index 61859b6f36e2..f74bf2660653 100644 --- a/specification/hybridcompute/resource-manager/Microsoft.HybridCompute/preview/2023-10-03-preview/examples/extension/ExtensionMetadata_List.json +++ b/specification/hybridcompute/resource-manager/Microsoft.HybridCompute/preview/2023-10-03-preview/examples/extension/ExtensionMetadata_List.json @@ -4,7 +4,7 @@ "location": "EastUS", "publisher": "microsoft.azure.monitor", "extensionType": "azuremonitorlinuxagent", - "api-version": "2023-06-20-preview" + "api-version": "2023-10-03-preview" }, "responses": { "200": { diff --git a/specification/hybridcompute/resource-manager/Microsoft.HybridCompute/preview/2023-10-03-preview/examples/extension/Extension_CreateOrUpdate.json b/specification/hybridcompute/resource-manager/Microsoft.HybridCompute/preview/2023-10-03-preview/examples/extension/Extension_CreateOrUpdate.json index a241baf544ca..d31b27e41309 100644 --- a/specification/hybridcompute/resource-manager/Microsoft.HybridCompute/preview/2023-10-03-preview/examples/extension/Extension_CreateOrUpdate.json +++ b/specification/hybridcompute/resource-manager/Microsoft.HybridCompute/preview/2023-10-03-preview/examples/extension/Extension_CreateOrUpdate.json @@ -4,7 +4,7 @@ "resourceGroupName": "myResourceGroup", "machineName": "myMachine", "extensionName": "CustomScriptExtension", - "api-version": "2023-06-20-preview", + "api-version": "2023-10-03-preview", "extensionParameters": { "location": "eastus2euap", "properties": { diff --git a/specification/hybridcompute/resource-manager/Microsoft.HybridCompute/preview/2023-10-03-preview/examples/extension/Extension_Delete.json b/specification/hybridcompute/resource-manager/Microsoft.HybridCompute/preview/2023-10-03-preview/examples/extension/Extension_Delete.json index ca1d79628113..4e21e9656015 100644 --- a/specification/hybridcompute/resource-manager/Microsoft.HybridCompute/preview/2023-10-03-preview/examples/extension/Extension_Delete.json +++ b/specification/hybridcompute/resource-manager/Microsoft.HybridCompute/preview/2023-10-03-preview/examples/extension/Extension_Delete.json @@ -4,7 +4,7 @@ "resourceGroupName": "myResourceGroup", "machineName": "myMachine", "extensionName": "MMA", - "api-version": "2023-06-20-preview" + "api-version": "2023-10-03-preview" }, "responses": { "200": {}, diff --git a/specification/hybridcompute/resource-manager/Microsoft.HybridCompute/preview/2023-10-03-preview/examples/extension/Extension_Get.json b/specification/hybridcompute/resource-manager/Microsoft.HybridCompute/preview/2023-10-03-preview/examples/extension/Extension_Get.json index 51df909cfb51..68d6663eebfc 100644 --- a/specification/hybridcompute/resource-manager/Microsoft.HybridCompute/preview/2023-10-03-preview/examples/extension/Extension_Get.json +++ b/specification/hybridcompute/resource-manager/Microsoft.HybridCompute/preview/2023-10-03-preview/examples/extension/Extension_Get.json @@ -4,7 +4,7 @@ "resourceGroupName": "myResourceGroup", "machineName": "myMachine", "extensionName": "CustomScriptExtension", - "api-version": "2023-06-20-preview" + "api-version": "2023-10-03-preview" }, "responses": { "200": { diff --git a/specification/hybridcompute/resource-manager/Microsoft.HybridCompute/preview/2023-10-03-preview/examples/extension/Extension_List.json b/specification/hybridcompute/resource-manager/Microsoft.HybridCompute/preview/2023-10-03-preview/examples/extension/Extension_List.json index abe91df97c4b..e780e6fe051f 100644 --- a/specification/hybridcompute/resource-manager/Microsoft.HybridCompute/preview/2023-10-03-preview/examples/extension/Extension_List.json +++ b/specification/hybridcompute/resource-manager/Microsoft.HybridCompute/preview/2023-10-03-preview/examples/extension/Extension_List.json @@ -3,7 +3,7 @@ "subscriptionId": "{subscriptionId}", "resourceGroupName": "myResourceGroup", "machineName": "myMachine", - "api-version": "2023-06-20-preview" + "api-version": "2023-10-03-preview" }, "responses": { "200": { diff --git a/specification/hybridcompute/resource-manager/Microsoft.HybridCompute/preview/2023-10-03-preview/examples/extension/Extension_Update.json b/specification/hybridcompute/resource-manager/Microsoft.HybridCompute/preview/2023-10-03-preview/examples/extension/Extension_Update.json index a3fbda27f297..f3fb0a8e1319 100644 --- a/specification/hybridcompute/resource-manager/Microsoft.HybridCompute/preview/2023-10-03-preview/examples/extension/Extension_Update.json +++ b/specification/hybridcompute/resource-manager/Microsoft.HybridCompute/preview/2023-10-03-preview/examples/extension/Extension_Update.json @@ -4,7 +4,7 @@ "resourceGroupName": "myResourceGroup", "machineName": "myMachine", "extensionName": "CustomScriptExtension", - "api-version": "2023-06-20-preview", + "api-version": "2023-10-03-preview", "extensionParameters": { "properties": { "publisher": "Microsoft.Compute", diff --git a/specification/hybridcompute/resource-manager/Microsoft.HybridCompute/preview/2023-10-03-preview/examples/extension/Extensions_Upgrade.json b/specification/hybridcompute/resource-manager/Microsoft.HybridCompute/preview/2023-10-03-preview/examples/extension/Extensions_Upgrade.json index 464e2a085505..e9bad8ec9e50 100644 --- a/specification/hybridcompute/resource-manager/Microsoft.HybridCompute/preview/2023-10-03-preview/examples/extension/Extensions_Upgrade.json +++ b/specification/hybridcompute/resource-manager/Microsoft.HybridCompute/preview/2023-10-03-preview/examples/extension/Extensions_Upgrade.json @@ -3,7 +3,7 @@ "subscriptionId": "{subscriptionId}", "resourceGroupName": "myResourceGroup", "machineName": "myMachine", - "api-version": "2023-06-20-preview", + "api-version": "2023-10-03-preview", "extensionUpgradeParameters": { "extensionTargets": { "Microsoft.Compute.CustomScriptExtension": { diff --git a/specification/hybridcompute/resource-manager/Microsoft.HybridCompute/preview/2023-10-03-preview/examples/license/License_CreateOrUpdate.json b/specification/hybridcompute/resource-manager/Microsoft.HybridCompute/preview/2023-10-03-preview/examples/license/License_CreateOrUpdate.json index 165ecb827f5d..08adbbedff7f 100644 --- a/specification/hybridcompute/resource-manager/Microsoft.HybridCompute/preview/2023-10-03-preview/examples/license/License_CreateOrUpdate.json +++ b/specification/hybridcompute/resource-manager/Microsoft.HybridCompute/preview/2023-10-03-preview/examples/license/License_CreateOrUpdate.json @@ -3,7 +3,7 @@ "subscriptionId": "{subscriptionId}", "resourceGroupName": "myResourceGroup", "licenseName": "{licenseName}", - "api-version": "2023-06-20-preview", + "api-version": "2023-10-03-preview", "parameters": { "location": "eastus2euap", "properties": { diff --git a/specification/hybridcompute/resource-manager/Microsoft.HybridCompute/preview/2023-10-03-preview/examples/license/License_Delete.json b/specification/hybridcompute/resource-manager/Microsoft.HybridCompute/preview/2023-10-03-preview/examples/license/License_Delete.json index f825ad2b78e0..72385bbf5343 100644 --- a/specification/hybridcompute/resource-manager/Microsoft.HybridCompute/preview/2023-10-03-preview/examples/license/License_Delete.json +++ b/specification/hybridcompute/resource-manager/Microsoft.HybridCompute/preview/2023-10-03-preview/examples/license/License_Delete.json @@ -3,7 +3,7 @@ "subscriptionId": "{subscriptionId}", "resourceGroupName": "myResourceGroup", "licenseName": "{licenseName}", - "api-version": "2023-06-20-preview" + "api-version": "2023-10-03-preview" }, "responses": { "200": {}, diff --git a/specification/hybridcompute/resource-manager/Microsoft.HybridCompute/preview/2023-10-03-preview/examples/license/License_Get.json b/specification/hybridcompute/resource-manager/Microsoft.HybridCompute/preview/2023-10-03-preview/examples/license/License_Get.json index 6ae810a6986c..081595b34e0c 100644 --- a/specification/hybridcompute/resource-manager/Microsoft.HybridCompute/preview/2023-10-03-preview/examples/license/License_Get.json +++ b/specification/hybridcompute/resource-manager/Microsoft.HybridCompute/preview/2023-10-03-preview/examples/license/License_Get.json @@ -3,7 +3,7 @@ "subscriptionId": "{subscriptionId}", "resourceGroupName": "myResourceGroup", "licenseName": "{licenseName}", - "api-version": "2023-06-20-preview" + "api-version": "2023-10-03-preview" }, "responses": { "200": { diff --git a/specification/hybridcompute/resource-manager/Microsoft.HybridCompute/preview/2023-10-03-preview/examples/license/License_ListByResourceGroup.json b/specification/hybridcompute/resource-manager/Microsoft.HybridCompute/preview/2023-10-03-preview/examples/license/License_ListByResourceGroup.json index d2cd25480961..97a4d7bcc946 100644 --- a/specification/hybridcompute/resource-manager/Microsoft.HybridCompute/preview/2023-10-03-preview/examples/license/License_ListByResourceGroup.json +++ b/specification/hybridcompute/resource-manager/Microsoft.HybridCompute/preview/2023-10-03-preview/examples/license/License_ListByResourceGroup.json @@ -3,7 +3,7 @@ "subscriptionId": "{subscriptionId}", "resourceGroupName": "myResourceGroup", "licenseName": "{licenseName}", - "api-version": "2023-06-20-preview" + "api-version": "2023-10-03-preview" }, "responses": { "200": { diff --git a/specification/hybridcompute/resource-manager/Microsoft.HybridCompute/preview/2023-10-03-preview/examples/license/License_ListBySubscription.json b/specification/hybridcompute/resource-manager/Microsoft.HybridCompute/preview/2023-10-03-preview/examples/license/License_ListBySubscription.json index 77bc45bdd38f..932d1946f1fe 100644 --- a/specification/hybridcompute/resource-manager/Microsoft.HybridCompute/preview/2023-10-03-preview/examples/license/License_ListBySubscription.json +++ b/specification/hybridcompute/resource-manager/Microsoft.HybridCompute/preview/2023-10-03-preview/examples/license/License_ListBySubscription.json @@ -2,7 +2,7 @@ "parameters": { "subscriptionId": "{subscriptionId}", "licenseName": "{licenseName}", - "api-version": "2023-06-20-preview" + "api-version": "2023-10-03-preview" }, "responses": { "200": { diff --git a/specification/hybridcompute/resource-manager/Microsoft.HybridCompute/preview/2023-10-03-preview/examples/license/License_Update.json b/specification/hybridcompute/resource-manager/Microsoft.HybridCompute/preview/2023-10-03-preview/examples/license/License_Update.json index cacc94b63148..bcfc61078323 100644 --- a/specification/hybridcompute/resource-manager/Microsoft.HybridCompute/preview/2023-10-03-preview/examples/license/License_Update.json +++ b/specification/hybridcompute/resource-manager/Microsoft.HybridCompute/preview/2023-10-03-preview/examples/license/License_Update.json @@ -3,7 +3,7 @@ "subscriptionId": "{subscriptionId}", "resourceGroupName": "myResourceGroup", "licenseName": "{licenseName}", - "api-version": "2023-06-20-preview", + "api-version": "2023-10-03-preview", "parameters": { "properties": { "licenseType": "ESU", diff --git a/specification/hybridcompute/resource-manager/Microsoft.HybridCompute/preview/2023-10-03-preview/examples/license/License_ValidateLicense.json b/specification/hybridcompute/resource-manager/Microsoft.HybridCompute/preview/2023-10-03-preview/examples/license/License_ValidateLicense.json index e4547c384aa0..782e259e657d 100644 --- a/specification/hybridcompute/resource-manager/Microsoft.HybridCompute/preview/2023-10-03-preview/examples/license/License_ValidateLicense.json +++ b/specification/hybridcompute/resource-manager/Microsoft.HybridCompute/preview/2023-10-03-preview/examples/license/License_ValidateLicense.json @@ -2,7 +2,7 @@ "parameters": { "subscriptionId": "{subscriptionId}", "licenseName": "{licenseName}", - "api-version": "2023-06-20-preview", + "api-version": "2023-10-03-preview", "parameters": { "location": "eastus2euap", "properties": { diff --git a/specification/hybridcompute/resource-manager/Microsoft.HybridCompute/preview/2023-10-03-preview/examples/licenseProfile/LicenseProfile_CreateOrUpdate.json b/specification/hybridcompute/resource-manager/Microsoft.HybridCompute/preview/2023-10-03-preview/examples/licenseProfile/LicenseProfile_CreateOrUpdate.json index e47f2728d7ac..009904869873 100644 --- a/specification/hybridcompute/resource-manager/Microsoft.HybridCompute/preview/2023-10-03-preview/examples/licenseProfile/LicenseProfile_CreateOrUpdate.json +++ b/specification/hybridcompute/resource-manager/Microsoft.HybridCompute/preview/2023-10-03-preview/examples/licenseProfile/LicenseProfile_CreateOrUpdate.json @@ -4,7 +4,7 @@ "resourceGroupName": "myResourceGroup", "machineName": "myMachine", "licenseProfileName": "default", - "api-version": "2023-06-20-preview", + "api-version": "2023-10-03-preview", "parameters": { "location": "eastus2euap", "properties": { diff --git a/specification/hybridcompute/resource-manager/Microsoft.HybridCompute/preview/2023-10-03-preview/examples/licenseProfile/LicenseProfile_Delete.json b/specification/hybridcompute/resource-manager/Microsoft.HybridCompute/preview/2023-10-03-preview/examples/licenseProfile/LicenseProfile_Delete.json index 5993531e67c5..24423672727b 100644 --- a/specification/hybridcompute/resource-manager/Microsoft.HybridCompute/preview/2023-10-03-preview/examples/licenseProfile/LicenseProfile_Delete.json +++ b/specification/hybridcompute/resource-manager/Microsoft.HybridCompute/preview/2023-10-03-preview/examples/licenseProfile/LicenseProfile_Delete.json @@ -4,7 +4,7 @@ "resourceGroupName": "myResourceGroup", "machineName": "myMachine", "licenseProfileName": "default", - "api-version": "2023-06-20-preview" + "api-version": "2023-10-03-preview" }, "responses": { "202": { diff --git a/specification/hybridcompute/resource-manager/Microsoft.HybridCompute/preview/2023-10-03-preview/examples/licenseProfile/LicenseProfile_Get.json b/specification/hybridcompute/resource-manager/Microsoft.HybridCompute/preview/2023-10-03-preview/examples/licenseProfile/LicenseProfile_Get.json index c3fe6c01d497..a713bb897ed5 100644 --- a/specification/hybridcompute/resource-manager/Microsoft.HybridCompute/preview/2023-10-03-preview/examples/licenseProfile/LicenseProfile_Get.json +++ b/specification/hybridcompute/resource-manager/Microsoft.HybridCompute/preview/2023-10-03-preview/examples/licenseProfile/LicenseProfile_Get.json @@ -4,7 +4,7 @@ "resourceGroupName": "myResourceGroup", "machineName": "myMachine", "licenseProfileName": "default", - "api-version": "2023-06-20-preview" + "api-version": "2023-10-03-preview" }, "responses": { "200": { diff --git a/specification/hybridcompute/resource-manager/Microsoft.HybridCompute/preview/2023-10-03-preview/examples/licenseProfile/LicenseProfile_List.json b/specification/hybridcompute/resource-manager/Microsoft.HybridCompute/preview/2023-10-03-preview/examples/licenseProfile/LicenseProfile_List.json index dd955a79a219..60e0d3ba6d5b 100644 --- a/specification/hybridcompute/resource-manager/Microsoft.HybridCompute/preview/2023-10-03-preview/examples/licenseProfile/LicenseProfile_List.json +++ b/specification/hybridcompute/resource-manager/Microsoft.HybridCompute/preview/2023-10-03-preview/examples/licenseProfile/LicenseProfile_List.json @@ -4,7 +4,7 @@ "resourceGroupName": "myResourceGroup", "machineName": "myMachine", "licenseProfileName": "default", - "api-version": "2023-06-20-preview" + "api-version": "2023-10-03-preview" }, "responses": { "200": { diff --git a/specification/hybridcompute/resource-manager/Microsoft.HybridCompute/preview/2023-10-03-preview/examples/licenseProfile/LicenseProfile_Update.json b/specification/hybridcompute/resource-manager/Microsoft.HybridCompute/preview/2023-10-03-preview/examples/licenseProfile/LicenseProfile_Update.json index 5a770698801c..a24d36aa1e95 100644 --- a/specification/hybridcompute/resource-manager/Microsoft.HybridCompute/preview/2023-10-03-preview/examples/licenseProfile/LicenseProfile_Update.json +++ b/specification/hybridcompute/resource-manager/Microsoft.HybridCompute/preview/2023-10-03-preview/examples/licenseProfile/LicenseProfile_Update.json @@ -4,7 +4,7 @@ "resourceGroupName": "myResourceGroup", "machineName": "myMachine", "licenseProfileName": "default", - "api-version": "2023-06-20-preview", + "api-version": "2023-10-03-preview", "parameters": { "properties": { "esuProfile": { diff --git a/specification/hybridcompute/resource-manager/Microsoft.HybridCompute/preview/2023-10-03-preview/examples/machine/Machine_AssessPatches.json b/specification/hybridcompute/resource-manager/Microsoft.HybridCompute/preview/2023-10-03-preview/examples/machine/Machine_AssessPatches.json index 212250fcae4b..c11bf2384a72 100644 --- a/specification/hybridcompute/resource-manager/Microsoft.HybridCompute/preview/2023-10-03-preview/examples/machine/Machine_AssessPatches.json +++ b/specification/hybridcompute/resource-manager/Microsoft.HybridCompute/preview/2023-10-03-preview/examples/machine/Machine_AssessPatches.json @@ -3,7 +3,7 @@ "subscriptionId": "{subscription-id}", "resourceGroupName": "myResourceGroupName", "name": "myMachineName", - "api-version": "2023-06-20-preview" + "api-version": "2023-10-03-preview" }, "responses": { "200": { diff --git a/specification/hybridcompute/resource-manager/Microsoft.HybridCompute/preview/2023-10-03-preview/examples/machine/Machine_InstallPatches.json b/specification/hybridcompute/resource-manager/Microsoft.HybridCompute/preview/2023-10-03-preview/examples/machine/Machine_InstallPatches.json index 8f27ee0bcd7f..58e77f746342 100644 --- a/specification/hybridcompute/resource-manager/Microsoft.HybridCompute/preview/2023-10-03-preview/examples/machine/Machine_InstallPatches.json +++ b/specification/hybridcompute/resource-manager/Microsoft.HybridCompute/preview/2023-10-03-preview/examples/machine/Machine_InstallPatches.json @@ -3,7 +3,7 @@ "subscriptionId": "{subscription-id}", "resourceGroupName": "myResourceGroupName", "name": "myMachineName", - "api-version": "2023-06-20-preview", + "api-version": "2023-10-03-preview", "installPatchesInput": { "maximumDuration": "PT4H", "rebootSetting": "IfRequired", diff --git a/specification/hybridcompute/resource-manager/Microsoft.HybridCompute/preview/2023-10-03-preview/examples/machine/Machines_CreateOrUpdate.json b/specification/hybridcompute/resource-manager/Microsoft.HybridCompute/preview/2023-10-03-preview/examples/machine/Machines_CreateOrUpdate.json index 558a5f9ab402..b8a66230510d 100644 --- a/specification/hybridcompute/resource-manager/Microsoft.HybridCompute/preview/2023-10-03-preview/examples/machine/Machines_CreateOrUpdate.json +++ b/specification/hybridcompute/resource-manager/Microsoft.HybridCompute/preview/2023-10-03-preview/examples/machine/Machines_CreateOrUpdate.json @@ -3,7 +3,7 @@ "subscriptionId": "{subscriptionId}", "resourceGroupName": "myResourceGroup", "machineName": "myMachine", - "api-version": "2023-06-20-preview", + "api-version": "2023-10-03-preview", "parameters": { "location": "eastus2euap", "properties": { diff --git a/specification/hybridcompute/resource-manager/Microsoft.HybridCompute/preview/2023-10-03-preview/examples/machine/Machines_Delete.json b/specification/hybridcompute/resource-manager/Microsoft.HybridCompute/preview/2023-10-03-preview/examples/machine/Machines_Delete.json index 30ce93eaf749..06f1d878eafb 100644 --- a/specification/hybridcompute/resource-manager/Microsoft.HybridCompute/preview/2023-10-03-preview/examples/machine/Machines_Delete.json +++ b/specification/hybridcompute/resource-manager/Microsoft.HybridCompute/preview/2023-10-03-preview/examples/machine/Machines_Delete.json @@ -3,7 +3,7 @@ "subscriptionId": "{subscriptionId}", "resourceGroupName": "myResourceGroup", "machineName": "myMachine", - "api-version": "2023-06-20-preview" + "api-version": "2023-10-03-preview" }, "responses": { "200": {}, diff --git a/specification/hybridcompute/resource-manager/Microsoft.HybridCompute/preview/2023-10-03-preview/examples/machine/Machines_Get.json b/specification/hybridcompute/resource-manager/Microsoft.HybridCompute/preview/2023-10-03-preview/examples/machine/Machines_Get.json index 175b92b90539..9b0d5a54fb37 100644 --- a/specification/hybridcompute/resource-manager/Microsoft.HybridCompute/preview/2023-10-03-preview/examples/machine/Machines_Get.json +++ b/specification/hybridcompute/resource-manager/Microsoft.HybridCompute/preview/2023-10-03-preview/examples/machine/Machines_Get.json @@ -3,7 +3,7 @@ "subscriptionId": "{subscriptionId}", "resourceGroupName": "myResourceGroup", "machineName": "myMachine", - "api-version": "2023-06-20-preview" + "api-version": "2023-10-03-preview" }, "responses": { "200": { diff --git a/specification/hybridcompute/resource-manager/Microsoft.HybridCompute/preview/2023-10-03-preview/examples/machine/Machines_Get_LicenseProfileInstanceView.json b/specification/hybridcompute/resource-manager/Microsoft.HybridCompute/preview/2023-10-03-preview/examples/machine/Machines_Get_LicenseProfileInstanceView.json index 817a93062f71..9bb41b4167fe 100644 --- a/specification/hybridcompute/resource-manager/Microsoft.HybridCompute/preview/2023-10-03-preview/examples/machine/Machines_Get_LicenseProfileInstanceView.json +++ b/specification/hybridcompute/resource-manager/Microsoft.HybridCompute/preview/2023-10-03-preview/examples/machine/Machines_Get_LicenseProfileInstanceView.json @@ -4,7 +4,7 @@ "resourceGroupName": "myResourceGroup", "machineName": "myMachine", "$expand": "instanceView", - "api-version": "2023-06-20-preview" + "api-version": "2023-10-03-preview" }, "responses": { "200": { diff --git a/specification/hybridcompute/resource-manager/Microsoft.HybridCompute/preview/2023-10-03-preview/examples/machine/Machines_ListByResourceGroup.json b/specification/hybridcompute/resource-manager/Microsoft.HybridCompute/preview/2023-10-03-preview/examples/machine/Machines_ListByResourceGroup.json index 01e7ec416ba0..bc2fc2d57c0a 100644 --- a/specification/hybridcompute/resource-manager/Microsoft.HybridCompute/preview/2023-10-03-preview/examples/machine/Machines_ListByResourceGroup.json +++ b/specification/hybridcompute/resource-manager/Microsoft.HybridCompute/preview/2023-10-03-preview/examples/machine/Machines_ListByResourceGroup.json @@ -2,7 +2,7 @@ "parameters": { "subscriptionId": "{subscription-id}", "resourceGroupName": "myResourceGroup", - "api-version": "2023-06-20-preview" + "api-version": "2023-10-03-preview" }, "responses": { "200": { diff --git a/specification/hybridcompute/resource-manager/Microsoft.HybridCompute/preview/2023-10-03-preview/examples/machine/Machines_ListBySubscription.json b/specification/hybridcompute/resource-manager/Microsoft.HybridCompute/preview/2023-10-03-preview/examples/machine/Machines_ListBySubscription.json index f52e4afdc9ff..7e3e53e87ab4 100644 --- a/specification/hybridcompute/resource-manager/Microsoft.HybridCompute/preview/2023-10-03-preview/examples/machine/Machines_ListBySubscription.json +++ b/specification/hybridcompute/resource-manager/Microsoft.HybridCompute/preview/2023-10-03-preview/examples/machine/Machines_ListBySubscription.json @@ -1,7 +1,7 @@ { "parameters": { "subscriptionId": "{subscription-id}", - "api-version": "2023-06-20-preview" + "api-version": "2023-10-03-preview" }, "responses": { "200": { diff --git a/specification/hybridcompute/resource-manager/Microsoft.HybridCompute/preview/2023-10-03-preview/examples/machine/Machines_Update.json b/specification/hybridcompute/resource-manager/Microsoft.HybridCompute/preview/2023-10-03-preview/examples/machine/Machines_Update.json index 5a8043201bd9..f62f79ab3540 100644 --- a/specification/hybridcompute/resource-manager/Microsoft.HybridCompute/preview/2023-10-03-preview/examples/machine/Machines_Update.json +++ b/specification/hybridcompute/resource-manager/Microsoft.HybridCompute/preview/2023-10-03-preview/examples/machine/Machines_Update.json @@ -3,7 +3,7 @@ "subscriptionId": "{subscription-id}", "resourceGroupName": "myResourceGroup", "machineName": "myMachine", - "api-version": "2023-06-20-preview", + "api-version": "2023-10-03-preview", "location": "eastus2euap", "kind": null, "parameters": { diff --git a/specification/hybridcompute/resource-manager/Microsoft.HybridCompute/preview/2023-10-03-preview/examples/privateEndpoint/PrivateEndpointConnection_Delete.json b/specification/hybridcompute/resource-manager/Microsoft.HybridCompute/preview/2023-10-03-preview/examples/privateEndpoint/PrivateEndpointConnection_Delete.json index 838ac2275b40..6562b8b8bc7d 100644 --- a/specification/hybridcompute/resource-manager/Microsoft.HybridCompute/preview/2023-10-03-preview/examples/privateEndpoint/PrivateEndpointConnection_Delete.json +++ b/specification/hybridcompute/resource-manager/Microsoft.HybridCompute/preview/2023-10-03-preview/examples/privateEndpoint/PrivateEndpointConnection_Delete.json @@ -4,7 +4,7 @@ "resourceGroupName": "myResourceGroup", "scopeName": "myPrivateLinkScope", "privateEndpointConnectionName": "private-endpoint-connection-name", - "api-version": "2023-06-20-preview" + "api-version": "2023-10-03-preview" }, "responses": { "200": {}, diff --git a/specification/hybridcompute/resource-manager/Microsoft.HybridCompute/preview/2023-10-03-preview/examples/privateEndpoint/PrivateEndpointConnection_Get.json b/specification/hybridcompute/resource-manager/Microsoft.HybridCompute/preview/2023-10-03-preview/examples/privateEndpoint/PrivateEndpointConnection_Get.json index 4e4387f0d823..5f5d37e48760 100644 --- a/specification/hybridcompute/resource-manager/Microsoft.HybridCompute/preview/2023-10-03-preview/examples/privateEndpoint/PrivateEndpointConnection_Get.json +++ b/specification/hybridcompute/resource-manager/Microsoft.HybridCompute/preview/2023-10-03-preview/examples/privateEndpoint/PrivateEndpointConnection_Get.json @@ -4,7 +4,7 @@ "resourceGroupName": "myResourceGroup", "scopeName": "myPrivateLinkScope", "privateEndpointConnectionName": "private-endpoint-connection-name", - "api-version": "2023-06-20-preview" + "api-version": "2023-10-03-preview" }, "responses": { "200": { diff --git a/specification/hybridcompute/resource-manager/Microsoft.HybridCompute/preview/2023-10-03-preview/examples/privateEndpoint/PrivateEndpointConnection_List.json b/specification/hybridcompute/resource-manager/Microsoft.HybridCompute/preview/2023-10-03-preview/examples/privateEndpoint/PrivateEndpointConnection_List.json index d768ea5fa6ca..ea8d5e2767f2 100644 --- a/specification/hybridcompute/resource-manager/Microsoft.HybridCompute/preview/2023-10-03-preview/examples/privateEndpoint/PrivateEndpointConnection_List.json +++ b/specification/hybridcompute/resource-manager/Microsoft.HybridCompute/preview/2023-10-03-preview/examples/privateEndpoint/PrivateEndpointConnection_List.json @@ -3,7 +3,7 @@ "subscriptionId": "00000000-1111-2222-3333-444444444444", "resourceGroupName": "myResourceGroup", "scopeName": "myPrivateLinkScope", - "api-version": "2023-06-20-preview" + "api-version": "2023-10-03-preview" }, "responses": { "200": { diff --git a/specification/hybridcompute/resource-manager/Microsoft.HybridCompute/preview/2023-10-03-preview/examples/privateEndpoint/PrivateEndpointConnection_Update.json b/specification/hybridcompute/resource-manager/Microsoft.HybridCompute/preview/2023-10-03-preview/examples/privateEndpoint/PrivateEndpointConnection_Update.json index d661f60ff84d..f6bc8709adef 100644 --- a/specification/hybridcompute/resource-manager/Microsoft.HybridCompute/preview/2023-10-03-preview/examples/privateEndpoint/PrivateEndpointConnection_Update.json +++ b/specification/hybridcompute/resource-manager/Microsoft.HybridCompute/preview/2023-10-03-preview/examples/privateEndpoint/PrivateEndpointConnection_Update.json @@ -4,7 +4,7 @@ "resourceGroupName": "myResourceGroup", "scopeName": "myPrivateLinkScope", "privateEndpointConnectionName": "private-endpoint-connection-name", - "api-version": "2023-06-20-preview", + "api-version": "2023-10-03-preview", "parameters": { "properties": { "privateLinkServiceConnectionState": { diff --git a/specification/hybridcompute/resource-manager/Microsoft.HybridCompute/preview/2023-10-03-preview/examples/privateLinkScope/PrivateLinkScopePrivateLinkResource_Get.json b/specification/hybridcompute/resource-manager/Microsoft.HybridCompute/preview/2023-10-03-preview/examples/privateLinkScope/PrivateLinkScopePrivateLinkResource_Get.json index b90af661b12b..3b0769f1c5ed 100644 --- a/specification/hybridcompute/resource-manager/Microsoft.HybridCompute/preview/2023-10-03-preview/examples/privateLinkScope/PrivateLinkScopePrivateLinkResource_Get.json +++ b/specification/hybridcompute/resource-manager/Microsoft.HybridCompute/preview/2023-10-03-preview/examples/privateLinkScope/PrivateLinkScopePrivateLinkResource_Get.json @@ -3,7 +3,7 @@ "subscriptionId": "00000000-1111-2222-3333-444444444444", "resourceGroupName": "myResourceGroup", "scopeName": "myPrivateLinkScope", - "api-version": "2023-06-20-preview", + "api-version": "2023-10-03-preview", "groupName": "hybridcompute" }, "responses": { diff --git a/specification/hybridcompute/resource-manager/Microsoft.HybridCompute/preview/2023-10-03-preview/examples/privateLinkScope/PrivateLinkScopePrivateLinkResource_ListGet.json b/specification/hybridcompute/resource-manager/Microsoft.HybridCompute/preview/2023-10-03-preview/examples/privateLinkScope/PrivateLinkScopePrivateLinkResource_ListGet.json index 3270ca8eecc1..1f7006dfc2e8 100644 --- a/specification/hybridcompute/resource-manager/Microsoft.HybridCompute/preview/2023-10-03-preview/examples/privateLinkScope/PrivateLinkScopePrivateLinkResource_ListGet.json +++ b/specification/hybridcompute/resource-manager/Microsoft.HybridCompute/preview/2023-10-03-preview/examples/privateLinkScope/PrivateLinkScopePrivateLinkResource_ListGet.json @@ -3,7 +3,7 @@ "subscriptionId": "00000000-1111-2222-3333-444444444444", "resourceGroupName": "myResourceGroup", "scopeName": "myPrivateLinkScope", - "api-version": "2023-06-20-preview" + "api-version": "2023-10-03-preview" }, "responses": { "200": { diff --git a/specification/hybridcompute/resource-manager/Microsoft.HybridCompute/preview/2023-10-03-preview/examples/privateLinkScope/PrivateLinkScopes_Create.json b/specification/hybridcompute/resource-manager/Microsoft.HybridCompute/preview/2023-10-03-preview/examples/privateLinkScope/PrivateLinkScopes_Create.json index f311be083db7..d255c953463d 100644 --- a/specification/hybridcompute/resource-manager/Microsoft.HybridCompute/preview/2023-10-03-preview/examples/privateLinkScope/PrivateLinkScopes_Create.json +++ b/specification/hybridcompute/resource-manager/Microsoft.HybridCompute/preview/2023-10-03-preview/examples/privateLinkScope/PrivateLinkScopes_Create.json @@ -1,6 +1,6 @@ { "parameters": { - "api-version": "2023-06-20-preview", + "api-version": "2023-10-03-preview", "subscriptionId": "86dc51d3-92ed-4d7e-947a-775ea79b4919", "resourceGroupName": "my-resource-group", "scopeName": "my-privatelinkscope", diff --git a/specification/hybridcompute/resource-manager/Microsoft.HybridCompute/preview/2023-10-03-preview/examples/privateLinkScope/PrivateLinkScopes_Delete.json b/specification/hybridcompute/resource-manager/Microsoft.HybridCompute/preview/2023-10-03-preview/examples/privateLinkScope/PrivateLinkScopes_Delete.json index aada5caa206d..85da53044545 100644 --- a/specification/hybridcompute/resource-manager/Microsoft.HybridCompute/preview/2023-10-03-preview/examples/privateLinkScope/PrivateLinkScopes_Delete.json +++ b/specification/hybridcompute/resource-manager/Microsoft.HybridCompute/preview/2023-10-03-preview/examples/privateLinkScope/PrivateLinkScopes_Delete.json @@ -1,6 +1,6 @@ { "parameters": { - "api-version": "2023-06-20-preview", + "api-version": "2023-10-03-preview", "subscriptionId": "86dc51d3-92ed-4d7e-947a-775ea79b4919", "resourceGroupName": "my-resource-group", "scopeName": "my-privatelinkscope" diff --git a/specification/hybridcompute/resource-manager/Microsoft.HybridCompute/preview/2023-10-03-preview/examples/privateLinkScope/PrivateLinkScopes_Get.json b/specification/hybridcompute/resource-manager/Microsoft.HybridCompute/preview/2023-10-03-preview/examples/privateLinkScope/PrivateLinkScopes_Get.json index fddef3aa053f..230113b65663 100644 --- a/specification/hybridcompute/resource-manager/Microsoft.HybridCompute/preview/2023-10-03-preview/examples/privateLinkScope/PrivateLinkScopes_Get.json +++ b/specification/hybridcompute/resource-manager/Microsoft.HybridCompute/preview/2023-10-03-preview/examples/privateLinkScope/PrivateLinkScopes_Get.json @@ -1,6 +1,6 @@ { "parameters": { - "api-version": "2023-06-20-preview", + "api-version": "2023-10-03-preview", "subscriptionId": "86dc51d3-92ed-4d7e-947a-775ea79b4919", "resourceGroupName": "my-resource-group", "scopeName": "my-privatelinkscope" diff --git a/specification/hybridcompute/resource-manager/Microsoft.HybridCompute/preview/2023-10-03-preview/examples/privateLinkScope/PrivateLinkScopes_GetValidation.json b/specification/hybridcompute/resource-manager/Microsoft.HybridCompute/preview/2023-10-03-preview/examples/privateLinkScope/PrivateLinkScopes_GetValidation.json index 53e1aff90f35..52c39e934881 100644 --- a/specification/hybridcompute/resource-manager/Microsoft.HybridCompute/preview/2023-10-03-preview/examples/privateLinkScope/PrivateLinkScopes_GetValidation.json +++ b/specification/hybridcompute/resource-manager/Microsoft.HybridCompute/preview/2023-10-03-preview/examples/privateLinkScope/PrivateLinkScopes_GetValidation.json @@ -1,6 +1,6 @@ { "parameters": { - "api-version": "2023-06-20-preview", + "api-version": "2023-10-03-preview", "location": "wus2", "subscriptionId": "86dc51d3-92ed-4d7e-947a-775ea79b4919", "privateLinkScopeId": "f5dc51d3-92ed-4d7e-947a-775ea79b4919" diff --git a/specification/hybridcompute/resource-manager/Microsoft.HybridCompute/preview/2023-10-03-preview/examples/privateLinkScope/PrivateLinkScopes_GetValidationForMachine.json b/specification/hybridcompute/resource-manager/Microsoft.HybridCompute/preview/2023-10-03-preview/examples/privateLinkScope/PrivateLinkScopes_GetValidationForMachine.json index eecdf7f9af0f..55378020774d 100644 --- a/specification/hybridcompute/resource-manager/Microsoft.HybridCompute/preview/2023-10-03-preview/examples/privateLinkScope/PrivateLinkScopes_GetValidationForMachine.json +++ b/specification/hybridcompute/resource-manager/Microsoft.HybridCompute/preview/2023-10-03-preview/examples/privateLinkScope/PrivateLinkScopes_GetValidationForMachine.json @@ -1,6 +1,6 @@ { "parameters": { - "api-version": "2023-06-20-preview", + "api-version": "2023-10-03-preview", "location": "wus2", "subscriptionId": "86dc51d3-92ed-4d7e-947a-775ea79b4919", "resourceGroupName": "my-resource-group", diff --git a/specification/hybridcompute/resource-manager/Microsoft.HybridCompute/preview/2023-10-03-preview/examples/privateLinkScope/PrivateLinkScopes_List.json b/specification/hybridcompute/resource-manager/Microsoft.HybridCompute/preview/2023-10-03-preview/examples/privateLinkScope/PrivateLinkScopes_List.json index 2dc194117a2d..ea97550c2afc 100644 --- a/specification/hybridcompute/resource-manager/Microsoft.HybridCompute/preview/2023-10-03-preview/examples/privateLinkScope/PrivateLinkScopes_List.json +++ b/specification/hybridcompute/resource-manager/Microsoft.HybridCompute/preview/2023-10-03-preview/examples/privateLinkScope/PrivateLinkScopes_List.json @@ -1,6 +1,6 @@ { "parameters": { - "api-version": "2023-06-20-preview", + "api-version": "2023-10-03-preview", "subscriptionId": "86dc51d3-92ed-4d7e-947a-775ea79b4919" }, "responses": { diff --git a/specification/hybridcompute/resource-manager/Microsoft.HybridCompute/preview/2023-10-03-preview/examples/privateLinkScope/PrivateLinkScopes_ListByResourceGroup.json b/specification/hybridcompute/resource-manager/Microsoft.HybridCompute/preview/2023-10-03-preview/examples/privateLinkScope/PrivateLinkScopes_ListByResourceGroup.json index de7905edc959..83b7e7792da0 100644 --- a/specification/hybridcompute/resource-manager/Microsoft.HybridCompute/preview/2023-10-03-preview/examples/privateLinkScope/PrivateLinkScopes_ListByResourceGroup.json +++ b/specification/hybridcompute/resource-manager/Microsoft.HybridCompute/preview/2023-10-03-preview/examples/privateLinkScope/PrivateLinkScopes_ListByResourceGroup.json @@ -1,6 +1,6 @@ { "parameters": { - "api-version": "2023-06-20-preview", + "api-version": "2023-10-03-preview", "subscriptionId": "86dc51d3-92ed-4d7e-947a-775ea79b4919", "resourceGroupName": "my-resource-group" }, diff --git a/specification/hybridcompute/resource-manager/Microsoft.HybridCompute/preview/2023-10-03-preview/examples/privateLinkScope/PrivateLinkScopes_Update.json b/specification/hybridcompute/resource-manager/Microsoft.HybridCompute/preview/2023-10-03-preview/examples/privateLinkScope/PrivateLinkScopes_Update.json index 98294662e7ed..9b43c986942e 100644 --- a/specification/hybridcompute/resource-manager/Microsoft.HybridCompute/preview/2023-10-03-preview/examples/privateLinkScope/PrivateLinkScopes_Update.json +++ b/specification/hybridcompute/resource-manager/Microsoft.HybridCompute/preview/2023-10-03-preview/examples/privateLinkScope/PrivateLinkScopes_Update.json @@ -1,6 +1,6 @@ { "parameters": { - "api-version": "2023-06-20-preview", + "api-version": "2023-10-03-preview", "subscriptionId": "86dc51d3-92ed-4d7e-947a-775ea79b4919", "resourceGroupName": "my-resource-group", "scopeName": "my-privatelinkscope", diff --git a/specification/hybridcompute/resource-manager/Microsoft.HybridCompute/preview/2023-10-03-preview/examples/privateLinkScope/PrivateLinkScopes_UpdateTagsOnly.json b/specification/hybridcompute/resource-manager/Microsoft.HybridCompute/preview/2023-10-03-preview/examples/privateLinkScope/PrivateLinkScopes_UpdateTagsOnly.json index 8c8a1996568e..20f21d2a5251 100644 --- a/specification/hybridcompute/resource-manager/Microsoft.HybridCompute/preview/2023-10-03-preview/examples/privateLinkScope/PrivateLinkScopes_UpdateTagsOnly.json +++ b/specification/hybridcompute/resource-manager/Microsoft.HybridCompute/preview/2023-10-03-preview/examples/privateLinkScope/PrivateLinkScopes_UpdateTagsOnly.json @@ -1,6 +1,6 @@ { "parameters": { - "api-version": "2023-06-20-preview", + "api-version": "2023-10-03-preview", "subscriptionId": "subid", "resourceGroupName": "my-resource-group", "scopeName": "my-privatelinkscope", diff --git a/specification/hybridcompute/resource-manager/Microsoft.HybridCompute/preview/2023-10-03-preview/privateLinkScopes.json b/specification/hybridcompute/resource-manager/Microsoft.HybridCompute/preview/2023-10-03-preview/privateLinkScopes.json index e3b9dfa4ee75..80b0fe0516df 100644 --- a/specification/hybridcompute/resource-manager/Microsoft.HybridCompute/preview/2023-10-03-preview/privateLinkScopes.json +++ b/specification/hybridcompute/resource-manager/Microsoft.HybridCompute/preview/2023-10-03-preview/privateLinkScopes.json @@ -6,7 +6,7 @@ "name": "HybridComputeManagementClient" }, "description": "Azure Arc( Servers and K8s Clusters) API reference for Private Link's Scopes management.", - "version": "2023-06-20-preview" + "version": "2023-10-03-preview" }, "host": "management.azure.com", "schemes": [ From 5d8b82ffaf098c40a930259d5bc594efe2e3313c Mon Sep 17 00:00:00 2001 From: Ved Kale Date: Mon, 2 Oct 2023 18:04:07 -0700 Subject: [PATCH 04/57] add run commands --- .../2023-10-03-preview/HybridCompute.json | 584 ++++++++++++++++++ .../RunCommands_CreateOrUpdate.json | 98 +++ .../runCommand/RunCommands_Delete.json | 20 + .../examples/runCommand/RunCommands_Get.json | 52 ++ .../examples/runCommand/RunCommands_List.json | 77 +++ .../runCommand/RunCommands_Update.json | 62 ++ 6 files changed, 893 insertions(+) create mode 100644 specification/hybridcompute/resource-manager/Microsoft.HybridCompute/preview/2023-10-03-preview/examples/runCommand/RunCommands_CreateOrUpdate.json create mode 100644 specification/hybridcompute/resource-manager/Microsoft.HybridCompute/preview/2023-10-03-preview/examples/runCommand/RunCommands_Delete.json create mode 100644 specification/hybridcompute/resource-manager/Microsoft.HybridCompute/preview/2023-10-03-preview/examples/runCommand/RunCommands_Get.json create mode 100644 specification/hybridcompute/resource-manager/Microsoft.HybridCompute/preview/2023-10-03-preview/examples/runCommand/RunCommands_List.json create mode 100644 specification/hybridcompute/resource-manager/Microsoft.HybridCompute/preview/2023-10-03-preview/examples/runCommand/RunCommands_Update.json diff --git a/specification/hybridcompute/resource-manager/Microsoft.HybridCompute/preview/2023-10-03-preview/HybridCompute.json b/specification/hybridcompute/resource-manager/Microsoft.HybridCompute/preview/2023-10-03-preview/HybridCompute.json index fac208bd1a55..8ff98c2ee0cd 100644 --- a/specification/hybridcompute/resource-manager/Microsoft.HybridCompute/preview/2023-10-03-preview/HybridCompute.json +++ b/specification/hybridcompute/resource-manager/Microsoft.HybridCompute/preview/2023-10-03-preview/HybridCompute.json @@ -1923,6 +1923,316 @@ } } } + }, + "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.HybridCompute/machines/{machineName}/runCommands/{runCommandName}": { + "put": { + "tags": [ + "MachineRunCommands" + ], + "operationId": "MachineRunCommands_CreateOrUpdate", + "description": "The operation to create or update a run command.", + "parameters": [ + { + "$ref": "../../../../../common-types/resource-management/v3/types.json#/parameters/ResourceGroupNameParameter" + }, + { + "$ref": "#/parameters/machineNameParameter" + }, + { + "$ref": "#/parameters/runCommandNameParameter" + }, + { + "name": "runCommandProperties", + "in": "body", + "required": true, + "schema": { + "$ref": "#/definitions/MachineRunCommand" + }, + "description": "Parameters supplied to the Create Run Command." + }, + { + "$ref": "../../../../../common-types/resource-management/v3/types.json#/parameters/ApiVersionParameter" + }, + { + "$ref": "../../../../../common-types/resource-management/v3/types.json#/parameters/SubscriptionIdParameter" + } + ], + "responses": { + "200": { + "description": "Updated Resource", + "schema": { + "$ref": "#/definitions/MachineRunCommand" + } + }, + "201": { + "description": "Created", + "schema": { + "$ref": "#/definitions/MachineRunCommand" + }, + "headers": { + "Location": { + "description": "The URL of the resource used to check the status of the asynchronous operation.", + "type": "string" + }, + "Retry-After": { + "description": "The recommended number of seconds to wait before calling the URI specified in Azure-AsyncOperation.", + "type": "integer", + "format": "int32" + }, + "Azure-AsyncOperation": { + "description": "The URI to poll for completion status.", + "type": "string" + } + } + }, + "default": { + "description": "Error response describing why the operation failed.", + "schema": { + "$ref": "../../../../../common-types/resource-management/v3/types.json#/definitions/ErrorResponse" + } + } + }, + "x-ms-examples": { + "Create or Update a Run Command": { + "$ref": "./examples/runCommand/RunCommands_CreateOrUpdate.json" + } + }, + "x-ms-long-running-operation": true, + "x-ms-long-running-operation-options": { + "final-state-via": "azure-async-operation" + } + }, + "patch": { + "tags": [ + "MachineRunCommands" + ], + "operationId": "MachineRunCommands_Update", + "description": "The operation to update the run command.", + "parameters": [ + { + "$ref": "../../../../../common-types/resource-management/v3/types.json#/parameters/ResourceGroupNameParameter" + }, + { + "$ref": "#/parameters/machineNameParameter" + }, + { + "$ref": "#/parameters/runCommandNameParameter" + }, + { + "name": "runCommandProperties", + "in": "body", + "required": true, + "schema": { + "$ref": "#/definitions/MachineRunCommandUpdate" + }, + "description": "Parameters supplied to the Create Run Command." + }, + { + "$ref": "../../../../../common-types/resource-management/v3/types.json#/parameters/ApiVersionParameter" + }, + { + "$ref": "../../../../../common-types/resource-management/v3/types.json#/parameters/SubscriptionIdParameter" + } + ], + "responses": { + "200": { + "description": "OK", + "schema": { + "$ref": "#/definitions/MachineRunCommand" + } + }, + "202": { + "description": "HTTP 202 (Accepted) if the operation was successfully started and will complete asynchronously.", + "headers": { + "Location": { + "description": "The URL of the resource used to check the status of the asynchronous operation.", + "type": "string" + }, + "Retry-After": { + "description": "The recommended number of seconds to wait before calling the URI specified in Azure-AsyncOperation.", + "type": "integer", + "format": "int32" + }, + "Azure-AsyncOperation": { + "description": "The URI to poll for completion status.", + "type": "string" + } + } + }, + "default": { + "description": "Error response describing why the operation failed.", + "schema": { + "$ref": "../../../../../common-types/resource-management/v3/types.json#/definitions/ErrorResponse" + } + } + }, + "x-ms-examples": { + "Update a Run Command": { + "$ref": "./examples/runCommand/MachineRunCommands_Update.json" + } + }, + "x-ms-long-running-operation": true + }, + "delete": { + "tags": [ + "MachineRunCommands" + ], + "operationId": "MachineRunCommands_Delete", + "description": "The operation to delete a run command.", + "parameters": [ + { + "$ref": "../../../../../common-types/resource-management/v3/types.json#/parameters/ResourceGroupNameParameter" + }, + { + "$ref": "#/parameters/machineNameParameter" + }, + { + "$ref": "#/parameters/runCommandNameParameter" + }, + { + "$ref": "../../../../../common-types/resource-management/v3/types.json#/parameters/ApiVersionParameter" + }, + { + "$ref": "../../../../../common-types/resource-management/v3/types.json#/parameters/SubscriptionIdParameter" + } + ], + "responses": { + "200": { + "description": "OK" + }, + "202": { + "description": "Accepted", + "headers": { + "Location": { + "description": "The URL of the resource used to check the status of the asynchronous operation.", + "type": "string" + }, + "Retry-After": { + "description": "The recommended number of seconds to wait before calling the URI specified in Azure-AsyncOperation.", + "type": "integer", + "format": "int32" + }, + "Azure-AsyncOperation": { + "description": "The URI to poll for completion status.", + "type": "string" + } + } + }, + "204": { + "description": "No Content" + }, + "default": { + "description": "Error response describing why the operation failed.", + "schema": { + "$ref": "../../../../../common-types/resource-management/v3/types.json#/definitions/ErrorResponse" + } + } + }, + "x-ms-long-running-operation": true, + "x-ms-long-running-operation-options": { + "final-state-via": "location" + }, + "x-ms-examples": { + "Delete a Machine Run Command": { + "$ref": "./examples/runCommand/RunCommands_Delete.json" + } + } + }, + "get": { + "tags": [ + "MachineRunCommands" + ], + "operationId": "MachineRunCommands_Get", + "description": "The operation to get a run command.", + "parameters": [ + { + "$ref": "../../../../../common-types/resource-management/v3/types.json#/parameters/ResourceGroupNameParameter" + }, + { + "$ref": "#/parameters/machineNameParameter" + }, + { + "$ref": "#/parameters/runCommandNameParameter" + }, + { + "$ref": "../../../../../common-types/resource-management/v3/types.json#/parameters/ApiVersionParameter" + }, + { + "$ref": "../../../../../common-types/resource-management/v3/types.json#/parameters/SubscriptionIdParameter" + } + ], + "responses": { + "200": { + "description": "OK", + "schema": { + "$ref": "#/definitions/MachineRunCommand" + } + }, + "default": { + "description": "Error response describing why the operation failed.", + "schema": { + "$ref": "../../../../../common-types/resource-management/v3/types.json#/definitions/ErrorResponse" + } + } + }, + "x-ms-examples": { + "Get a Run Command": { + "$ref": "./examples/runCommand/RunCommands_Get.json" + } + } + } + }, + "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.HybridCompute/machines/{machineName}/runCommands": { + "get": { + "tags": [ + "MachineRunCommands" + ], + "operationId": "MachineRunCommands_List", + "description": "The operation to get all the run commands of a non-Azure machine.", + "parameters": [ + { + "$ref": "../../../../../common-types/resource-management/v3/types.json#/parameters/ResourceGroupNameParameter" + }, + { + "$ref": "#/parameters/machineNameParameter" + }, + { + "name": "$expand", + "in": "query", + "required": false, + "type": "string", + "description": "The expand expression to apply on the operation." + }, + { + "$ref": "../../../../../common-types/resource-management/v3/types.json#/parameters/ApiVersionParameter" + }, + { + "$ref": "../../../../../common-types/resource-management/v3/types.json#/parameters/SubscriptionIdParameter" + } + ], + "responses": { + "200": { + "description": "OK", + "schema": { + "$ref": "#/definitions/MachineRunCommandsListResult" + } + }, + "default": { + "description": "Error response describing why the operation failed.", + "schema": { + "$ref": "../../../../../common-types/resource-management/v3/types.json#/definitions/ErrorResponse" + } + } + }, + "x-ms-pageable": { + "nextLinkName": "nextLink" + }, + "x-ms-examples": { + "GET all Machine Run Commands": { + "$ref": "./examples/runCommand/RunCommands_List.json" + } + } + } } }, "definitions": { @@ -3826,6 +4136,271 @@ } }, "description": "The result summary of an installation operation." + }, + "MachineRunCommand": { + "type": "object", + "properties": { + "properties": { + "x-ms-client-flatten": true, + "$ref": "#/definitions/MachineRunCommandProperties", + "description": "Describes Run Command Properties" + } + }, + "allOf": [ + { + "$ref": "../../../../../common-types/resource-management/v3/types.json#/definitions/TrackedResource" + } + ], + "description": "Describes a Run Command" + }, + "MachineRunCommandProperties": { + "type": "object", + "properties": { + "source": { + "$ref": "#/definitions/MachineRunCommandScriptSource", + "description": "The source of the run command script." + }, + "parameters": { + "type": "array", + "items": { + "$ref": "#/definitions/RunCommandInputParameter" + }, + "x-ms-identifiers": [ + "name" + ], + "description": "The parameters used by the script." + }, + "protectedParameters": { + "type": "array", + "items": { + "$ref": "#/definitions/RunCommandInputParameter" + }, + "x-ms-identifiers": [ + "name" + ], + "description": "The parameters used by the script." + }, + "asyncExecution": { + "type": "boolean", + "default": false, + "description": "Optional. If set to true, provisioning will complete as soon as script starts and will not wait for script to complete." + }, + "runAsUser": { + "type": "string", + "description": "Specifies the user account on the machine when executing the run command." + }, + "runAsPassword": { + "type": "string", + "description": "Specifies the user account password on the machine when executing the run command.", + "x-ms-secret": true + }, + "timeoutInSeconds": { + "type": "integer", + "format": "int32", + "description": "The timeout in seconds to execute the run command." + }, + "outputBlobUri": { + "type": "string", + "description": "Specifies the Azure storage blob where script output stream will be uploaded. Use a SAS URI with read, append, create, write access OR use managed identity to provide the VM access to the blob. Refer outputBlobManagedIdentity parameter. " + }, + "errorBlobUri": { + "type": "string", + "description": "Specifies the Azure storage blob where script error stream will be uploaded. Use a SAS URI with read, append, create, write access OR use managed identity to provide the VM access to the blob. Refer errorBlobManagedIdentity parameter." + }, + "outputBlobManagedIdentity": { + "$ref": "#/definitions/RunCommandManagedIdentity", + "description": "User-assigned managed identity that has access to outputBlobUri storage blob. Use an empty object in case of system-assigned identity. Make sure managed identity has been given access to blob's container with 'Storage Blob Data Contributor' role assignment. In case of user-assigned identity, make sure you add it under VM's identity. For more info on managed identity and Run Command, refer https://aka.ms/ManagedIdentity and https://aka.ms/RunCommandManaged " + }, + "errorBlobManagedIdentity": { + "$ref": "#/definitions/RunCommandManagedIdentity", + "description": "User-assigned managed identity that has access to errorBlobUri storage blob. Use an empty object in case of system-assigned identity. Make sure managed identity has been given access to blob's container with 'Storage Blob Data Contributor' role assignment. In case of user-assigned identity, make sure you add it under VM's identity. For more info on managed identity and Run Command, refer https://aka.ms/ManagedIdentity and https://aka.ms/RunCommandManaged " + }, + "provisioningState": { + "readOnly": true, + "type": "string", + "description": "The provisioning state, which only appears in the response." + }, + "instanceView": { + "readOnly": true, + "$ref": "#/definitions/MachineRunCommandInstanceView", + "description": "The machine run command instance view." + } + }, + "description": "Describes the properties of a run command." + }, + "MachineRunCommandScriptSource": { + "type": "object", + "properties": { + "script": { + "type": "string", + "description": "Specifies the script content to be executed on the machine." + }, + "scriptUri": { + "type": "string", + "description": "Specifies the script download location. It can be either SAS URI of an Azure storage blob with read access or public URI." + }, + "commandId": { + "type": "string", + "description": "Specifies the commandId of predefined built-in script." + }, + "scriptUriManagedIdentity": { + "$ref": "#/definitions/RunCommandManagedIdentity", + "description": "User-assigned managed identity that has access to scriptUri in case of Azure storage blob. Use an empty object in case of system-assigned identity. Make sure the Azure storage blob exists, and managed identity has been given access to blob's container with 'Storage Blob Data Reader' role assignment. In case of user-assigned identity, make sure you add it under VM's identity. For more info on managed identity and Run Command, refer https://aka.ms/ManagedIdentity and https://aka.ms/RunCommandManaged." + } + }, + "description": "Describes the script sources for run command. Use only one of script, scriptUri, commandId." + }, + "MachineRunCommandInstanceView": { + "type": "object", + "properties": { + "executionState": { + "type": "string", + "description": "Script execution status.", + "enum": [ + "Unknown", + "Pending", + "Running", + "Failed", + "Succeeded", + "TimedOut", + "Canceled" + ], + "x-ms-enum": { + "name": "ExecutionState", + "modelAsString": true + } + }, + "executionMessage": { + "type": "string", + "description": "Communicate script configuration errors or execution messages." + }, + "exitCode": { + "type": "integer", + "format": "int32", + "description": "Exit code returned from script execution." + }, + "output": { + "type": "string", + "description": "Script output stream." + }, + "error": { + "type": "string", + "description": "Script error stream." + }, + "startTime": { + "type": "string", + "format": "date-time", + "description": "Script start time." + }, + "endTime": { + "type": "string", + "format": "date-time", + "description": "Script end time." + }, + "statuses": { + "type": "array", + "items": { + "$ref": "#/definitions/ExtensionsResourceStatus" + }, + "x-ms-identifiers": [], + "description": "The status information." + } + }, + "description": "The instance view of a machine run command." + }, + "MachineRunCommandsListResult": { + "type": "object", + "properties": { + "value": { + "type": "array", + "items": { + "$ref": "#/definitions/MachineRunCommand" + }, + "description": "The list of run commands" + }, + "nextLink": { + "type": "string", + "description": "The uri to fetch the next page of run commands. Call ListNext() with this to fetch the next page of run commands." + } + }, + "description": "Describes the Run Commands List Result." + }, + "MachineRunCommandUpdate": { + "type": "object", + "allOf": [ + { + "$ref": "#/definitions/ResourceUpdate" + } + ], + "description": "Describes a Machine Extension Update." + }, + "RunCommandInputParameter": { + "type": "object", + "properties": { + "name": { + "type": "string", + "description": "The run command parameter name." + }, + "value": { + "type": "string", + "description": "The run command parameter value." + } + }, + "required": [ + "name", + "value" + ], + "description": "Describes the properties of a run command parameter." + }, + "RunCommandManagedIdentity": { + "type": "object", + "properties": { + "clientId": { + "type": "string", + "description": "Client Id (GUID value) of the user-assigned managed identity. ObjectId should not be used if this is provided." + }, + "objectId": { + "type": "string", + "description": "Object Id (GUID value) of the user-assigned managed identity. ClientId should not be used if this is provided." + } + }, + "description": " Contains clientId or objectId (use only one, not both) of a user-assigned managed identity that has access to storage blob used in Run Command. Use an empty RunCommandManagedIdentity object in case of system-assigned identity. Make sure the Azure storage blob exists in case of scriptUri, and managed identity has been given access to blob's container with 'Storage Blob Data Reader' role assignment with scriptUri blob and 'Storage Blob Data Contributor' for Append blobs(outputBlobUri, errorBlobUri). In case of user assigned identity, make sure you add it under VM's identity. For more info on managed identity and Run Command, refer https://aka.ms/ManagedIdentity and https://aka.ms/RunCommandManaged." + }, + "ExtensionsResourceStatus": { + "properties": { + "code": { + "type": "string", + "description": "The status code." + }, + "level": { + "type": "string", + "description": "The level code.", + "enum": [ + "Info", + "Warning", + "Error" + ], + "x-ms-enum": { + "name": "ExtensionsStatusLevelTypes", + "modelAsString": false + } + }, + "displayStatus": { + "type": "string", + "description": "The short localizable label for the status." + }, + "message": { + "type": "string", + "description": "The detailed status message, including for alerts and error messages." + }, + "time": { + "type": "string", + "format": "date-time", + "description": "The time of the status." + } + }, + "type": "object", + "description": "Instance view status." } }, "parameters": { @@ -3862,6 +4437,15 @@ "pattern": "[a-zA-Z0-9-_\\.]+", "description": "The name of the license.", "x-ms-parameter-location": "method" + }, + "runCommandNameParameter": { + "name": "runCommandName", + "in": "path", + "required": true, + "type": "string", + "pattern": "[a-zA-Z0-9-_\\.]+", + "description": "The name of the run command.", + "x-ms-parameter-location": "method" } } } diff --git a/specification/hybridcompute/resource-manager/Microsoft.HybridCompute/preview/2023-10-03-preview/examples/runCommand/RunCommands_CreateOrUpdate.json b/specification/hybridcompute/resource-manager/Microsoft.HybridCompute/preview/2023-10-03-preview/examples/runCommand/RunCommands_CreateOrUpdate.json new file mode 100644 index 000000000000..682ba599e133 --- /dev/null +++ b/specification/hybridcompute/resource-manager/Microsoft.HybridCompute/preview/2023-10-03-preview/examples/runCommand/RunCommands_CreateOrUpdate.json @@ -0,0 +1,98 @@ +{ + "parameters": { + "subscriptionId": "{subscriptionId}", + "resourceGroupName": "myResourceGroup", + "machineName": "myMachine", + "runCommandName": "myRunCommand", + "api-version": "2023-04-25-preview", + "runCommandProperties": { + "location": "eastus2", + "properties": { + "source": { + "script": "Write-Host Hello World!" + }, + "parameters": [ + { + "name": "param1", + "value": "value1" + }, + { + "name": "param2", + "value": "value2" + } + ], + "asyncExecution": false, + "runAsUser": "user1", + "runAsPassword": "", + "timeoutInSeconds": 3600, + "outputBlobUri": "https://mystorageaccount.blob.core.windows.net/myscriptoutputcontainer/MyScriptoutput.txt", + "errorBlobUri": "https://mystorageaccount.blob.core.windows.net/mycontainer/MyScriptError.txt?sp=racw&st=2022-10-07T19:40:21Z&se=2022-10-08T03:40:21Z&spr=https&sv=2021-06-08&sr=b&sig=Yh7B%2Fy83olbYBdfsfbUREvd7ol8Dq5EVP3lAO4Kj4xDcN8%3D" + } + } + }, + "responses": { + "200": { + "body": { + "id": "/subscriptions/{subscriptionId}/resourceGroups/myResourceGroup/providers/Microsoft.HybridCompute/Machines/myMachine/runcommands/myRunCommand", + "name": "myRunCommand", + "type": "Microsoft.HybridCompute/machines/runcommands", + "location": "eastus2", + "properties": { + "source": { + "script": "Write-Host Hello World!" + }, + "parameters": [ + { + "name": "param1", + "value": "value1" + }, + { + "name": "param2", + "value": "value2" + } + ], + "asyncExecution": false, + "runAsUser": "user1", + "timeoutInSeconds": 3600, + "outputBlobUri": "https://mystorageaccount.blob.core.windows.net/myscriptoutputcontainer/MyScriptoutput.txt", + "errorBlobUri": "https://mystorageaccount.blob.core.windows.net/mycontainer/MyScriptError.txt?sp=racw&st=2022-10-07T19:40:21Z&se=2022-10-08T03:40:21Z&spr=https&sv=2021-06-08&sr=b&sig=Yh7B%2Fy83olbYBdfsfbUREvd7ol8Dq5EVP3lAO4Kj4xDcN8%3D", + "provisioningState": "Succeeded" + } + } + }, + "201": { + "headers": { + "Location": "{callbackUrl}", + "Retry-After": 200, + "Azure-AsyncOperation": "{callbackUri}" + }, + "body": { + "id": "/subscriptions/{subscriptionId}/resourceGroups/myResourceGroup/providers/Microsoft.HybridCompute/Machines/myMachine/runcommands/myRunCommand", + "name": "myRunCommand", + "type": "Microsoft.HybridCompute/machines/runcommands", + "location": "eastus2", + "properties": { + "source": { + "script": "Write-Host Hello World!" + }, + "parameters": [ + { + "name": "param1", + "value": "value1" + }, + { + "name": "param2", + "value": "value2" + } + ], + "asyncExecution": false, + "runAsUser": "user1", + "timeoutInSeconds": 3600, + "outputBlobUri": "https://mystorageaccount.blob.core.windows.net/myscriptoutputcontainer/MyScriptoutput.txt", + "errorBlobUri": "https://mystorageaccount.blob.core.windows.net/mycontainer/MyScriptError.txt?sp=racw&st=2022-10-07T19:40:21Z&se=2022-10-08T03:40:21Z&spr=https&sv=2021-06-08&sr=b&sig=Yh7B%2Fy83olbYBdfsfbUREvd7ol8Dq5EVP3lAO4Kj4xDcN8%3D", + "provisioningState": "Creating" + } + } + } + } +} diff --git a/specification/hybridcompute/resource-manager/Microsoft.HybridCompute/preview/2023-10-03-preview/examples/runCommand/RunCommands_Delete.json b/specification/hybridcompute/resource-manager/Microsoft.HybridCompute/preview/2023-10-03-preview/examples/runCommand/RunCommands_Delete.json new file mode 100644 index 000000000000..25b8b714390e --- /dev/null +++ b/specification/hybridcompute/resource-manager/Microsoft.HybridCompute/preview/2023-10-03-preview/examples/runCommand/RunCommands_Delete.json @@ -0,0 +1,20 @@ +{ + "parameters": { + "subscriptionId": "{subscriptionId}", + "resourceGroupName": "myResourceGroup", + "machineName": "myMachine", + "runCommandName": "myRunCommand", + "api-version": "2023-04-25-preview" + }, + "responses": { + "200": {}, + "202": { + "headers": { + "Location": "{callbackUrl}", + "Retry-After": 200, + "Azure-AsyncOperation": "{callbackUri}" + } + }, + "204": {} + } +} diff --git a/specification/hybridcompute/resource-manager/Microsoft.HybridCompute/preview/2023-10-03-preview/examples/runCommand/RunCommands_Get.json b/specification/hybridcompute/resource-manager/Microsoft.HybridCompute/preview/2023-10-03-preview/examples/runCommand/RunCommands_Get.json new file mode 100644 index 000000000000..90eb394968d4 --- /dev/null +++ b/specification/hybridcompute/resource-manager/Microsoft.HybridCompute/preview/2023-10-03-preview/examples/runCommand/RunCommands_Get.json @@ -0,0 +1,52 @@ +{ + "parameters": { + "subscriptionId": "{subscriptionId}", + "resourceGroupName": "myResourceGroup", + "machineName": "myMachine", + "runCommandName": "myRunCommand", + "api-version": "2023-04-25-preview" + }, + "responses": { + "200": { + "body": { + "id": "/subscriptions/{subscriptionId}/resourceGroups/myResourceGroup/providers/Microsoft.HybridCompute/Machines/myMachine/runcommands/myRunCommand", + "name": "myRunCommand", + "type": "Microsoft.HybridCompute/machines/runcommands", + "location": "eastus2", + "tags": { + "tag1": "value1", + "tag2": "value2" + }, + "properties": { + "source": { + "script": "Write-Host Hello World!" + }, + "parameters": [ + { + "name": "param1", + "value": "value1" + }, + { + "name": "param2", + "value": "value2" + } + ], + "protectedParameters": [], + "asyncExecution": false, + "runAsUser": "user1", + "timeoutInSeconds": 3600, + "provisioningState": "Succeeded", + "instanceView": { + "executionState": "Succeeded", + "executionMessage": "", + "exitCode": 0, + "output": "Hello World", + "error": "", + "startTime": "2023-06-15T20:48:41.4641785+00:00", + "endTime": "2023-06-15T20:48:41.4641785+00:00" + } + } + } + } + } +} diff --git a/specification/hybridcompute/resource-manager/Microsoft.HybridCompute/preview/2023-10-03-preview/examples/runCommand/RunCommands_List.json b/specification/hybridcompute/resource-manager/Microsoft.HybridCompute/preview/2023-10-03-preview/examples/runCommand/RunCommands_List.json new file mode 100644 index 000000000000..94e89ac1bc9d --- /dev/null +++ b/specification/hybridcompute/resource-manager/Microsoft.HybridCompute/preview/2023-10-03-preview/examples/runCommand/RunCommands_List.json @@ -0,0 +1,77 @@ +{ + "parameters": { + "subscriptionId": "{subscriptionId}", + "resourceGroupName": "myResourceGroup", + "machineName": "myMachine", + "api-version": "2023-04-25-preview" + }, + "responses": { + "200": { + "body": { + "value": [ + { + "id": "/subscriptions/{subscriptionId}/resourceGroups/myResourceGroup/providers/Microsoft.HybridCompute/Machines/myMachine/runcommands/myRunCommand_1", + "name": "myRunCommand_1", + "location": "eastus2", + "type": "Microsoft.HybridCompute/machines/runcommands", + "properties": { + "source": { + "script": "Write-Host Hello World!" + }, + "parameters": [ + { + "name": "param1", + "value": "value1" + }, + { + "name": "param2", + "value": "value2" + } + ], + "protectedParameters": [], + "asyncExecution": false, + "runAsUser": "user1", + "timeoutInSeconds": 3600, + "provisioningState": "Succeeded", + "instanceView": { + "executionState": "Succeeded", + "executionMessage": "", + "exitCode": 0, + "output": "Hello World", + "error": "", + "startTime": "2023-06-15T20:48:41.4641785+00:00", + "endTime": "2023-06-15T20:48:41.4641785+00:00" + } + } + }, + { + "id": "/subscriptions/{subscriptionId}/resourceGroups/myResourceGroup/providers/Microsoft.HybridCompute/Machines/myMachine/runcommands/myRunCommand_2", + "name": "myRunCommand_2", + "location": "eastus2", + "type": "Microsoft.HybridCompute/machines/runcommands", + "properties": { + "source": { + "script": "Get-Process | Where-Object { $_.CPU -gt 10000 }" + }, + "parameters": [], + "protectedParameters": [], + "asyncExecution": false, + "runAsUser": "userA", + "timeoutInSeconds": 100, + "provisioningState": "Succeeded", + "instanceView": { + "executionState": "Succeeded", + "executionMessage": "", + "exitCode": 0, + "output": "", + "error": "", + "startTime": "2023-06-15T20:48:41.4641785+00:00", + "endTime": "2023-06-15T20:48:41.4641785+00:00" + } + } + } + ] + } + } + } +} diff --git a/specification/hybridcompute/resource-manager/Microsoft.HybridCompute/preview/2023-10-03-preview/examples/runCommand/RunCommands_Update.json b/specification/hybridcompute/resource-manager/Microsoft.HybridCompute/preview/2023-10-03-preview/examples/runCommand/RunCommands_Update.json new file mode 100644 index 000000000000..bb9d82599d5a --- /dev/null +++ b/specification/hybridcompute/resource-manager/Microsoft.HybridCompute/preview/2023-10-03-preview/examples/runCommand/RunCommands_Update.json @@ -0,0 +1,62 @@ +{ + "parameters": { + "subscriptionId": "{subscriptionId}", + "resourceGroupName": "myResourceGroup", + "machineName": "myMachine", + "runCommandName": "myRunCommand", + "api-version": "2023-04-25-preview", + "runCommandProperties": { + "tags": { + "tag1": "value1", + "tag2": "value2" + } + } + }, + "responses": { + "200": { + "body": { + "id": "/subscriptions/{subscriptionId}/resourceGroups/myResourceGroup/providers/Microsoft.HybridCompute/Machines/myMachine/runcommands/myRunCommand", + "name": "myRunCommand", + "type": "Microsoft.HybridCompute/machines/runcommands", + "location": "eastus2", + "properties": { + "source": { + "script": "Write-Host Hello World!" + }, + "parameters": [ + { + "name": "param1", + "value": "value1" + }, + { + "name": "param2", + "value": "value2" + } + ], + "asyncExecution": false, + "runAsUser": "user1", + "timeoutInSeconds": 3600, + "outputBlobUri": "https://mystorageaccount.blob.core.windows.net/myscriptoutputcontainer/MyScriptoutput.txt", + "errorBlobUri": "https://mystorageaccount.blob.core.windows.net/mycontainer/MyScriptError.txt?sp=racw&st=2022-10-07T19:40:21Z&se=2022-10-08T03:40:21Z&spr=https&sv=2021-06-08&sr=b&sig=Yh7B%2Fy83olbYBdfsfbUREvd7ol8Dq5EVP3lAO4Kj4xDcN8%3D", + "provisioningState": "Succeeded", + "instanceView": { + "executionState": "Succeeded", + "executionMessage": "", + "exitCode": 0, + "output": "Hello World", + "error": "", + "startTime": "2023-06-15T20:48:41.4641785+00:00", + "endTime": "2023-06-15T20:48:41.4641785+00:00" + } + } + } + }, + "202": { + "headers": { + "Location": "{callbackUrl}", + "Retry-After": 200, + "Azure-AsyncOperation": "{callbackUri}" + } + } + } +} From 0e9893f2a3a7f7f83d8e41d8a62199bd32a7043f Mon Sep 17 00:00:00 2001 From: Ved Kale Date: Mon, 2 Oct 2023 20:38:47 -0700 Subject: [PATCH 05/57] fix file path --- .../preview/2023-10-03-preview/HybridCompute.json | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/specification/hybridcompute/resource-manager/Microsoft.HybridCompute/preview/2023-10-03-preview/HybridCompute.json b/specification/hybridcompute/resource-manager/Microsoft.HybridCompute/preview/2023-10-03-preview/HybridCompute.json index 8ff98c2ee0cd..cf174ee430f8 100644 --- a/specification/hybridcompute/resource-manager/Microsoft.HybridCompute/preview/2023-10-03-preview/HybridCompute.json +++ b/specification/hybridcompute/resource-manager/Microsoft.HybridCompute/preview/2023-10-03-preview/HybridCompute.json @@ -2068,7 +2068,7 @@ }, "x-ms-examples": { "Update a Run Command": { - "$ref": "./examples/runCommand/MachineRunCommands_Update.json" + "$ref": "./examples/runCommand/RunCommands_Update.json" } }, "x-ms-long-running-operation": true From 3f3652ba4afb585fe79c2a7bd1155f213da8e2cb Mon Sep 17 00:00:00 2001 From: Ved Kale Date: Mon, 2 Oct 2023 20:49:05 -0700 Subject: [PATCH 06/57] remove 200 status code --- .../preview/2023-10-03-preview/HybridCompute.json | 3 --- .../examples/runCommand/RunCommands_Delete.json | 1 - 2 files changed, 4 deletions(-) diff --git a/specification/hybridcompute/resource-manager/Microsoft.HybridCompute/preview/2023-10-03-preview/HybridCompute.json b/specification/hybridcompute/resource-manager/Microsoft.HybridCompute/preview/2023-10-03-preview/HybridCompute.json index cf174ee430f8..a3c755c79341 100644 --- a/specification/hybridcompute/resource-manager/Microsoft.HybridCompute/preview/2023-10-03-preview/HybridCompute.json +++ b/specification/hybridcompute/resource-manager/Microsoft.HybridCompute/preview/2023-10-03-preview/HybridCompute.json @@ -2097,9 +2097,6 @@ } ], "responses": { - "200": { - "description": "OK" - }, "202": { "description": "Accepted", "headers": { diff --git a/specification/hybridcompute/resource-manager/Microsoft.HybridCompute/preview/2023-10-03-preview/examples/runCommand/RunCommands_Delete.json b/specification/hybridcompute/resource-manager/Microsoft.HybridCompute/preview/2023-10-03-preview/examples/runCommand/RunCommands_Delete.json index 25b8b714390e..c6464c65922a 100644 --- a/specification/hybridcompute/resource-manager/Microsoft.HybridCompute/preview/2023-10-03-preview/examples/runCommand/RunCommands_Delete.json +++ b/specification/hybridcompute/resource-manager/Microsoft.HybridCompute/preview/2023-10-03-preview/examples/runCommand/RunCommands_Delete.json @@ -7,7 +7,6 @@ "api-version": "2023-04-25-preview" }, "responses": { - "200": {}, "202": { "headers": { "Location": "{callbackUrl}", From 3939ce49f6a5bcc25c4b8f099b8aca624956d1d3 Mon Sep 17 00:00:00 2001 From: Ved Kale Date: Mon, 2 Oct 2023 20:53:28 -0700 Subject: [PATCH 07/57] update examples --- .../examples/runCommand/RunCommands_CreateOrUpdate.json | 2 +- .../examples/runCommand/RunCommands_Delete.json | 2 +- .../2023-10-03-preview/examples/runCommand/RunCommands_Get.json | 2 +- .../examples/runCommand/RunCommands_List.json | 2 +- .../examples/runCommand/RunCommands_Update.json | 2 +- 5 files changed, 5 insertions(+), 5 deletions(-) diff --git a/specification/hybridcompute/resource-manager/Microsoft.HybridCompute/preview/2023-10-03-preview/examples/runCommand/RunCommands_CreateOrUpdate.json b/specification/hybridcompute/resource-manager/Microsoft.HybridCompute/preview/2023-10-03-preview/examples/runCommand/RunCommands_CreateOrUpdate.json index 682ba599e133..b02a490ab085 100644 --- a/specification/hybridcompute/resource-manager/Microsoft.HybridCompute/preview/2023-10-03-preview/examples/runCommand/RunCommands_CreateOrUpdate.json +++ b/specification/hybridcompute/resource-manager/Microsoft.HybridCompute/preview/2023-10-03-preview/examples/runCommand/RunCommands_CreateOrUpdate.json @@ -4,7 +4,7 @@ "resourceGroupName": "myResourceGroup", "machineName": "myMachine", "runCommandName": "myRunCommand", - "api-version": "2023-04-25-preview", + "api-version": "2023-10-03-preview", "runCommandProperties": { "location": "eastus2", "properties": { diff --git a/specification/hybridcompute/resource-manager/Microsoft.HybridCompute/preview/2023-10-03-preview/examples/runCommand/RunCommands_Delete.json b/specification/hybridcompute/resource-manager/Microsoft.HybridCompute/preview/2023-10-03-preview/examples/runCommand/RunCommands_Delete.json index c6464c65922a..f0bb7664a5c1 100644 --- a/specification/hybridcompute/resource-manager/Microsoft.HybridCompute/preview/2023-10-03-preview/examples/runCommand/RunCommands_Delete.json +++ b/specification/hybridcompute/resource-manager/Microsoft.HybridCompute/preview/2023-10-03-preview/examples/runCommand/RunCommands_Delete.json @@ -4,7 +4,7 @@ "resourceGroupName": "myResourceGroup", "machineName": "myMachine", "runCommandName": "myRunCommand", - "api-version": "2023-04-25-preview" + "api-version": "2023-10-03-preview" }, "responses": { "202": { diff --git a/specification/hybridcompute/resource-manager/Microsoft.HybridCompute/preview/2023-10-03-preview/examples/runCommand/RunCommands_Get.json b/specification/hybridcompute/resource-manager/Microsoft.HybridCompute/preview/2023-10-03-preview/examples/runCommand/RunCommands_Get.json index 90eb394968d4..4b4a6e99c2b3 100644 --- a/specification/hybridcompute/resource-manager/Microsoft.HybridCompute/preview/2023-10-03-preview/examples/runCommand/RunCommands_Get.json +++ b/specification/hybridcompute/resource-manager/Microsoft.HybridCompute/preview/2023-10-03-preview/examples/runCommand/RunCommands_Get.json @@ -4,7 +4,7 @@ "resourceGroupName": "myResourceGroup", "machineName": "myMachine", "runCommandName": "myRunCommand", - "api-version": "2023-04-25-preview" + "api-version": "2023-10-03-preview" }, "responses": { "200": { diff --git a/specification/hybridcompute/resource-manager/Microsoft.HybridCompute/preview/2023-10-03-preview/examples/runCommand/RunCommands_List.json b/specification/hybridcompute/resource-manager/Microsoft.HybridCompute/preview/2023-10-03-preview/examples/runCommand/RunCommands_List.json index 94e89ac1bc9d..10c1112a99a6 100644 --- a/specification/hybridcompute/resource-manager/Microsoft.HybridCompute/preview/2023-10-03-preview/examples/runCommand/RunCommands_List.json +++ b/specification/hybridcompute/resource-manager/Microsoft.HybridCompute/preview/2023-10-03-preview/examples/runCommand/RunCommands_List.json @@ -3,7 +3,7 @@ "subscriptionId": "{subscriptionId}", "resourceGroupName": "myResourceGroup", "machineName": "myMachine", - "api-version": "2023-04-25-preview" + "api-version": "2023-10-03-preview" }, "responses": { "200": { diff --git a/specification/hybridcompute/resource-manager/Microsoft.HybridCompute/preview/2023-10-03-preview/examples/runCommand/RunCommands_Update.json b/specification/hybridcompute/resource-manager/Microsoft.HybridCompute/preview/2023-10-03-preview/examples/runCommand/RunCommands_Update.json index bb9d82599d5a..8181aaf12c11 100644 --- a/specification/hybridcompute/resource-manager/Microsoft.HybridCompute/preview/2023-10-03-preview/examples/runCommand/RunCommands_Update.json +++ b/specification/hybridcompute/resource-manager/Microsoft.HybridCompute/preview/2023-10-03-preview/examples/runCommand/RunCommands_Update.json @@ -4,7 +4,7 @@ "resourceGroupName": "myResourceGroup", "machineName": "myMachine", "runCommandName": "myRunCommand", - "api-version": "2023-04-25-preview", + "api-version": "2023-10-03-preview", "runCommandProperties": { "tags": { "tag1": "value1", From 970c1d164245e009454049415a8ee928bca160ba Mon Sep 17 00:00:00 2001 From: Ved Kale Date: Tue, 10 Oct 2023 11:30:57 -0700 Subject: [PATCH 08/57] update types to v5 --- .../2023-10-03-preview/HybridCompute.json | 318 +++++++++--------- 1 file changed, 159 insertions(+), 159 deletions(-) diff --git a/specification/hybridcompute/resource-manager/Microsoft.HybridCompute/preview/2023-10-03-preview/HybridCompute.json b/specification/hybridcompute/resource-manager/Microsoft.HybridCompute/preview/2023-10-03-preview/HybridCompute.json index a3c755c79341..458e2303eadb 100644 --- a/specification/hybridcompute/resource-manager/Microsoft.HybridCompute/preview/2023-10-03-preview/HybridCompute.json +++ b/specification/hybridcompute/resource-manager/Microsoft.HybridCompute/preview/2023-10-03-preview/HybridCompute.json @@ -43,10 +43,10 @@ "description": "The operation to validate a license.", "parameters": [ { - "$ref": "../../../../../common-types/resource-management/v3/types.json#/parameters/ApiVersionParameter" + "$ref": "../../../../../common-types/resource-management/v5/types.json#/parameters/ApiVersionParameter" }, { - "$ref": "../../../../../common-types/resource-management/v3/types.json#/parameters/SubscriptionIdParameter" + "$ref": "../../../../../common-types/resource-management/v5/types.json#/parameters/SubscriptionIdParameter" }, { "name": "parameters", @@ -68,7 +68,7 @@ "default": { "description": "Error response describing why the operation failed.", "schema": { - "$ref": "../../../../../common-types/resource-management/v3/types.json#/definitions/ErrorResponse" + "$ref": "../../../../../common-types/resource-management/v5/types.json#/definitions/ErrorResponse" } } }, @@ -89,13 +89,13 @@ "description": "The operation to create or update a license.", "parameters": [ { - "$ref": "../../../../../common-types/resource-management/v3/types.json#/parameters/ApiVersionParameter" + "$ref": "../../../../../common-types/resource-management/v5/types.json#/parameters/ApiVersionParameter" }, { - "$ref": "../../../../../common-types/resource-management/v3/types.json#/parameters/SubscriptionIdParameter" + "$ref": "../../../../../common-types/resource-management/v5/types.json#/parameters/SubscriptionIdParameter" }, { - "$ref": "../../../../../common-types/resource-management/v3/types.json#/parameters/ResourceGroupNameParameter" + "$ref": "../../../../../common-types/resource-management/v5/types.json#/parameters/ResourceGroupNameParameter" }, { "$ref": "#/parameters/licenseNameParameter" @@ -120,7 +120,7 @@ "default": { "description": "Error response describing why the operation failed.", "schema": { - "$ref": "../../../../../common-types/resource-management/v3/types.json#/definitions/ErrorResponse" + "$ref": "../../../../../common-types/resource-management/v5/types.json#/definitions/ErrorResponse" } } }, @@ -139,13 +139,13 @@ "description": "The operation to update a license.", "parameters": [ { - "$ref": "../../../../../common-types/resource-management/v3/types.json#/parameters/ApiVersionParameter" + "$ref": "../../../../../common-types/resource-management/v5/types.json#/parameters/ApiVersionParameter" }, { - "$ref": "../../../../../common-types/resource-management/v3/types.json#/parameters/SubscriptionIdParameter" + "$ref": "../../../../../common-types/resource-management/v5/types.json#/parameters/SubscriptionIdParameter" }, { - "$ref": "../../../../../common-types/resource-management/v3/types.json#/parameters/ResourceGroupNameParameter" + "$ref": "../../../../../common-types/resource-management/v5/types.json#/parameters/ResourceGroupNameParameter" }, { "$ref": "#/parameters/licenseNameParameter" @@ -170,7 +170,7 @@ "default": { "description": "Error response describing why the operation failed.", "schema": { - "$ref": "../../../../../common-types/resource-management/v3/types.json#/definitions/ErrorResponse" + "$ref": "../../../../../common-types/resource-management/v5/types.json#/definitions/ErrorResponse" } } }, @@ -189,13 +189,13 @@ "description": "Retrieves information about the view of a license.", "parameters": [ { - "$ref": "../../../../../common-types/resource-management/v3/types.json#/parameters/ApiVersionParameter" + "$ref": "../../../../../common-types/resource-management/v5/types.json#/parameters/ApiVersionParameter" }, { - "$ref": "../../../../../common-types/resource-management/v3/types.json#/parameters/SubscriptionIdParameter" + "$ref": "../../../../../common-types/resource-management/v5/types.json#/parameters/SubscriptionIdParameter" }, { - "$ref": "../../../../../common-types/resource-management/v3/types.json#/parameters/ResourceGroupNameParameter" + "$ref": "../../../../../common-types/resource-management/v5/types.json#/parameters/ResourceGroupNameParameter" }, { "$ref": "#/parameters/licenseNameParameter" @@ -211,7 +211,7 @@ "default": { "description": "Error response describing why the operation failed.", "schema": { - "$ref": "../../../../../common-types/resource-management/v3/types.json#/definitions/ErrorResponse" + "$ref": "../../../../../common-types/resource-management/v5/types.json#/definitions/ErrorResponse" } } }, @@ -229,13 +229,13 @@ "description": "The operation to delete a license.", "parameters": [ { - "$ref": "../../../../../common-types/resource-management/v3/types.json#/parameters/ApiVersionParameter" + "$ref": "../../../../../common-types/resource-management/v5/types.json#/parameters/ApiVersionParameter" }, { - "$ref": "../../../../../common-types/resource-management/v3/types.json#/parameters/SubscriptionIdParameter" + "$ref": "../../../../../common-types/resource-management/v5/types.json#/parameters/SubscriptionIdParameter" }, { - "$ref": "../../../../../common-types/resource-management/v3/types.json#/parameters/ResourceGroupNameParameter" + "$ref": "../../../../../common-types/resource-management/v5/types.json#/parameters/ResourceGroupNameParameter" }, { "$ref": "#/parameters/licenseNameParameter" @@ -251,7 +251,7 @@ "default": { "description": "Error response describing why the operation failed.", "schema": { - "$ref": "../../../../../common-types/resource-management/v3/types.json#/definitions/ErrorResponse" + "$ref": "../../../../../common-types/resource-management/v5/types.json#/definitions/ErrorResponse" } } }, @@ -272,13 +272,13 @@ "description": "The operation to get all licenses of a non-Azure machine", "parameters": [ { - "$ref": "../../../../../common-types/resource-management/v3/types.json#/parameters/ResourceGroupNameParameter" + "$ref": "../../../../../common-types/resource-management/v5/types.json#/parameters/ResourceGroupNameParameter" }, { - "$ref": "../../../../../common-types/resource-management/v3/types.json#/parameters/ApiVersionParameter" + "$ref": "../../../../../common-types/resource-management/v5/types.json#/parameters/ApiVersionParameter" }, { - "$ref": "../../../../../common-types/resource-management/v3/types.json#/parameters/SubscriptionIdParameter" + "$ref": "../../../../../common-types/resource-management/v5/types.json#/parameters/SubscriptionIdParameter" } ], "responses": { @@ -291,7 +291,7 @@ "default": { "description": "Error response describing why the operation failed.", "schema": { - "$ref": "../../../../../common-types/resource-management/v3/types.json#/definitions/ErrorResponse" + "$ref": "../../../../../common-types/resource-management/v5/types.json#/definitions/ErrorResponse" } } }, @@ -314,10 +314,10 @@ "description": "The operation to get all licenses of a non-Azure machine", "parameters": [ { - "$ref": "../../../../../common-types/resource-management/v3/types.json#/parameters/ApiVersionParameter" + "$ref": "../../../../../common-types/resource-management/v5/types.json#/parameters/ApiVersionParameter" }, { - "$ref": "../../../../../common-types/resource-management/v3/types.json#/parameters/SubscriptionIdParameter" + "$ref": "../../../../../common-types/resource-management/v5/types.json#/parameters/SubscriptionIdParameter" } ], "responses": { @@ -330,7 +330,7 @@ "default": { "description": "Error response describing why the operation failed.", "schema": { - "$ref": "../../../../../common-types/resource-management/v3/types.json#/definitions/ErrorResponse" + "$ref": "../../../../../common-types/resource-management/v5/types.json#/definitions/ErrorResponse" } } }, @@ -353,13 +353,13 @@ "description": "The operation to create or update a hybrid machine. Please note some properties can be set only during machine creation.", "parameters": [ { - "$ref": "../../../../../common-types/resource-management/v3/types.json#/parameters/ApiVersionParameter" + "$ref": "../../../../../common-types/resource-management/v5/types.json#/parameters/ApiVersionParameter" }, { - "$ref": "../../../../../common-types/resource-management/v3/types.json#/parameters/SubscriptionIdParameter" + "$ref": "../../../../../common-types/resource-management/v5/types.json#/parameters/SubscriptionIdParameter" }, { - "$ref": "../../../../../common-types/resource-management/v3/types.json#/parameters/ResourceGroupNameParameter" + "$ref": "../../../../../common-types/resource-management/v5/types.json#/parameters/ResourceGroupNameParameter" }, { "name": "machineName", @@ -398,7 +398,7 @@ "default": { "description": "Error response describing why the operation failed.", "schema": { - "$ref": "../../../../../common-types/resource-management/v3/types.json#/definitions/ErrorResponse" + "$ref": "../../../../../common-types/resource-management/v5/types.json#/definitions/ErrorResponse" } } }, @@ -416,13 +416,13 @@ "description": "The operation to update a hybrid machine.", "parameters": [ { - "$ref": "../../../../../common-types/resource-management/v3/types.json#/parameters/ApiVersionParameter" + "$ref": "../../../../../common-types/resource-management/v5/types.json#/parameters/ApiVersionParameter" }, { - "$ref": "../../../../../common-types/resource-management/v3/types.json#/parameters/SubscriptionIdParameter" + "$ref": "../../../../../common-types/resource-management/v5/types.json#/parameters/SubscriptionIdParameter" }, { - "$ref": "../../../../../common-types/resource-management/v3/types.json#/parameters/ResourceGroupNameParameter" + "$ref": "../../../../../common-types/resource-management/v5/types.json#/parameters/ResourceGroupNameParameter" }, { "name": "machineName", @@ -454,7 +454,7 @@ "default": { "description": "Error response describing why the operation failed.", "schema": { - "$ref": "../../../../../common-types/resource-management/v3/types.json#/definitions/ErrorResponse" + "$ref": "../../../../../common-types/resource-management/v5/types.json#/definitions/ErrorResponse" } } }, @@ -472,13 +472,13 @@ "description": "The operation to delete a hybrid machine.", "parameters": [ { - "$ref": "../../../../../common-types/resource-management/v3/types.json#/parameters/ApiVersionParameter" + "$ref": "../../../../../common-types/resource-management/v5/types.json#/parameters/ApiVersionParameter" }, { - "$ref": "../../../../../common-types/resource-management/v3/types.json#/parameters/SubscriptionIdParameter" + "$ref": "../../../../../common-types/resource-management/v5/types.json#/parameters/SubscriptionIdParameter" }, { - "$ref": "../../../../../common-types/resource-management/v3/types.json#/parameters/ResourceGroupNameParameter" + "$ref": "../../../../../common-types/resource-management/v5/types.json#/parameters/ResourceGroupNameParameter" }, { "name": "machineName", @@ -501,7 +501,7 @@ "default": { "description": "Error response describing why the operation failed.", "schema": { - "$ref": "../../../../../common-types/resource-management/v3/types.json#/definitions/ErrorResponse" + "$ref": "../../../../../common-types/resource-management/v5/types.json#/definitions/ErrorResponse" } } }, @@ -519,13 +519,13 @@ "description": "Retrieves information about the model view or the instance view of a hybrid machine.", "parameters": [ { - "$ref": "../../../../../common-types/resource-management/v3/types.json#/parameters/ApiVersionParameter" + "$ref": "../../../../../common-types/resource-management/v5/types.json#/parameters/ApiVersionParameter" }, { - "$ref": "../../../../../common-types/resource-management/v3/types.json#/parameters/SubscriptionIdParameter" + "$ref": "../../../../../common-types/resource-management/v5/types.json#/parameters/SubscriptionIdParameter" }, { - "$ref": "../../../../../common-types/resource-management/v3/types.json#/parameters/ResourceGroupNameParameter" + "$ref": "../../../../../common-types/resource-management/v5/types.json#/parameters/ResourceGroupNameParameter" }, { "name": "machineName", @@ -562,7 +562,7 @@ "default": { "description": "Error response describing why the operation failed.", "schema": { - "$ref": "../../../../../common-types/resource-management/v3/types.json#/definitions/ErrorResponse" + "$ref": "../../../../../common-types/resource-management/v5/types.json#/definitions/ErrorResponse" } } }, @@ -585,13 +585,13 @@ "description": "The operation to create or update a license profile.", "parameters": [ { - "$ref": "../../../../../common-types/resource-management/v3/types.json#/parameters/ApiVersionParameter" + "$ref": "../../../../../common-types/resource-management/v5/types.json#/parameters/ApiVersionParameter" }, { - "$ref": "../../../../../common-types/resource-management/v3/types.json#/parameters/SubscriptionIdParameter" + "$ref": "../../../../../common-types/resource-management/v5/types.json#/parameters/SubscriptionIdParameter" }, { - "$ref": "../../../../../common-types/resource-management/v3/types.json#/parameters/ResourceGroupNameParameter" + "$ref": "../../../../../common-types/resource-management/v5/types.json#/parameters/ResourceGroupNameParameter" }, { "$ref": "#/parameters/machineNameParameter" @@ -640,7 +640,7 @@ "default": { "description": "Error response describing why the operation failed.", "schema": { - "$ref": "../../../../../common-types/resource-management/v3/types.json#/definitions/ErrorResponse" + "$ref": "../../../../../common-types/resource-management/v5/types.json#/definitions/ErrorResponse" } } }, @@ -659,13 +659,13 @@ "description": "The operation to update a license profile.", "parameters": [ { - "$ref": "../../../../../common-types/resource-management/v3/types.json#/parameters/ApiVersionParameter" + "$ref": "../../../../../common-types/resource-management/v5/types.json#/parameters/ApiVersionParameter" }, { - "$ref": "../../../../../common-types/resource-management/v3/types.json#/parameters/SubscriptionIdParameter" + "$ref": "../../../../../common-types/resource-management/v5/types.json#/parameters/SubscriptionIdParameter" }, { - "$ref": "../../../../../common-types/resource-management/v3/types.json#/parameters/ResourceGroupNameParameter" + "$ref": "../../../../../common-types/resource-management/v5/types.json#/parameters/ResourceGroupNameParameter" }, { "$ref": "#/parameters/machineNameParameter" @@ -711,7 +711,7 @@ "default": { "description": "Error response describing why the operation failed.", "schema": { - "$ref": "../../../../../common-types/resource-management/v3/types.json#/definitions/ErrorResponse" + "$ref": "../../../../../common-types/resource-management/v5/types.json#/definitions/ErrorResponse" } } }, @@ -730,13 +730,13 @@ "description": "Retrieves information about the view of a license profile.", "parameters": [ { - "$ref": "../../../../../common-types/resource-management/v3/types.json#/parameters/ApiVersionParameter" + "$ref": "../../../../../common-types/resource-management/v5/types.json#/parameters/ApiVersionParameter" }, { - "$ref": "../../../../../common-types/resource-management/v3/types.json#/parameters/SubscriptionIdParameter" + "$ref": "../../../../../common-types/resource-management/v5/types.json#/parameters/SubscriptionIdParameter" }, { - "$ref": "../../../../../common-types/resource-management/v3/types.json#/parameters/ResourceGroupNameParameter" + "$ref": "../../../../../common-types/resource-management/v5/types.json#/parameters/ResourceGroupNameParameter" }, { "$ref": "#/parameters/machineNameParameter" @@ -755,7 +755,7 @@ "default": { "description": "Error response describing why the operation failed.", "schema": { - "$ref": "../../../../../common-types/resource-management/v3/types.json#/definitions/ErrorResponse" + "$ref": "../../../../../common-types/resource-management/v5/types.json#/definitions/ErrorResponse" } } }, @@ -773,13 +773,13 @@ "description": "The operation to delete a license profile.", "parameters": [ { - "$ref": "../../../../../common-types/resource-management/v3/types.json#/parameters/ApiVersionParameter" + "$ref": "../../../../../common-types/resource-management/v5/types.json#/parameters/ApiVersionParameter" }, { - "$ref": "../../../../../common-types/resource-management/v3/types.json#/parameters/SubscriptionIdParameter" + "$ref": "../../../../../common-types/resource-management/v5/types.json#/parameters/SubscriptionIdParameter" }, { - "$ref": "../../../../../common-types/resource-management/v3/types.json#/parameters/ResourceGroupNameParameter" + "$ref": "../../../../../common-types/resource-management/v5/types.json#/parameters/ResourceGroupNameParameter" }, { "$ref": "#/parameters/machineNameParameter" @@ -813,7 +813,7 @@ "default": { "description": "Error response describing why the operation failed.", "schema": { - "$ref": "../../../../../common-types/resource-management/v3/types.json#/definitions/ErrorResponse" + "$ref": "../../../../../common-types/resource-management/v5/types.json#/definitions/ErrorResponse" } } }, @@ -834,7 +834,7 @@ "description": "The operation to get all license profiles of a non-Azure machine", "parameters": [ { - "$ref": "../../../../../common-types/resource-management/v3/types.json#/parameters/ResourceGroupNameParameter" + "$ref": "../../../../../common-types/resource-management/v5/types.json#/parameters/ResourceGroupNameParameter" }, { "name": "machineName", @@ -847,10 +847,10 @@ "description": "The name of the machine." }, { - "$ref": "../../../../../common-types/resource-management/v3/types.json#/parameters/ApiVersionParameter" + "$ref": "../../../../../common-types/resource-management/v5/types.json#/parameters/ApiVersionParameter" }, { - "$ref": "../../../../../common-types/resource-management/v3/types.json#/parameters/SubscriptionIdParameter" + "$ref": "../../../../../common-types/resource-management/v5/types.json#/parameters/SubscriptionIdParameter" } ], "responses": { @@ -863,7 +863,7 @@ "default": { "description": "Error response describing why the operation failed.", "schema": { - "$ref": "../../../../../common-types/resource-management/v3/types.json#/definitions/ErrorResponse" + "$ref": "../../../../../common-types/resource-management/v5/types.json#/definitions/ErrorResponse" } } }, @@ -891,10 +891,10 @@ "description": "The operation to assess patches on a hybrid machine identity in Azure.", "parameters": [ { - "$ref": "../../../../../common-types/resource-management/v1/types.json#/parameters/ApiVersionParameter" + "$ref": "../../../../../common-types/resource-management/v5/types.json#/parameters/ApiVersionParameter" }, { - "$ref": "../../../../../common-types/resource-management/v1/types.json#/parameters/SubscriptionIdParameter" + "$ref": "../../../../../common-types/resource-management/v5/types.json#/parameters/SubscriptionIdParameter" }, { "name": "resourceGroupName", @@ -930,7 +930,7 @@ "default": { "description": "Error response describing why the operation failed.", "schema": { - "$ref": "../../../../../common-types/resource-management/v3/types.json#/definitions/ErrorResponse" + "$ref": "../../../../../common-types/resource-management/v5/types.json#/definitions/ErrorResponse" } } }, @@ -954,10 +954,10 @@ }, "parameters": [ { - "$ref": "../../../../../common-types/resource-management/v1/types.json#/parameters/ApiVersionParameter" + "$ref": "../../../../../common-types/resource-management/v5/types.json#/parameters/ApiVersionParameter" }, { - "$ref": "../../../../../common-types/resource-management/v1/types.json#/parameters/SubscriptionIdParameter" + "$ref": "../../../../../common-types/resource-management/v5/types.json#/parameters/SubscriptionIdParameter" }, { "name": "resourceGroupName", @@ -1002,7 +1002,7 @@ "default": { "description": "Error response describing why the operation failed.", "schema": { - "$ref": "../../../../../common-types/resource-management/v3/types.json#/definitions/ErrorResponse" + "$ref": "../../../../../common-types/resource-management/v5/types.json#/definitions/ErrorResponse" } } }, @@ -1021,13 +1021,13 @@ "description": "Lists all the hybrid machines in the specified resource group. Use the nextLink property in the response to get the next page of hybrid machines.", "parameters": [ { - "$ref": "../../../../../common-types/resource-management/v3/types.json#/parameters/ApiVersionParameter" + "$ref": "../../../../../common-types/resource-management/v5/types.json#/parameters/ApiVersionParameter" }, { - "$ref": "../../../../../common-types/resource-management/v3/types.json#/parameters/SubscriptionIdParameter" + "$ref": "../../../../../common-types/resource-management/v5/types.json#/parameters/SubscriptionIdParameter" }, { - "$ref": "../../../../../common-types/resource-management/v3/types.json#/parameters/ResourceGroupNameParameter" + "$ref": "../../../../../common-types/resource-management/v5/types.json#/parameters/ResourceGroupNameParameter" }, { "name": "$expand", @@ -1047,7 +1047,7 @@ "default": { "description": "Error response describing why the operation failed.", "schema": { - "$ref": "../../../../../common-types/resource-management/v3/types.json#/definitions/ErrorResponse" + "$ref": "../../../../../common-types/resource-management/v5/types.json#/definitions/ErrorResponse" } } }, @@ -1070,10 +1070,10 @@ "description": "Lists all the hybrid machines in the specified subscription. Use the nextLink property in the response to get the next page of hybrid machines.", "parameters": [ { - "$ref": "../../../../../common-types/resource-management/v3/types.json#/parameters/ApiVersionParameter" + "$ref": "../../../../../common-types/resource-management/v5/types.json#/parameters/ApiVersionParameter" }, { - "$ref": "../../../../../common-types/resource-management/v3/types.json#/parameters/SubscriptionIdParameter" + "$ref": "../../../../../common-types/resource-management/v5/types.json#/parameters/SubscriptionIdParameter" } ], "responses": { @@ -1086,7 +1086,7 @@ "default": { "description": "Error response describing why the operation failed.", "schema": { - "$ref": "../../../../../common-types/resource-management/v3/types.json#/definitions/ErrorResponse" + "$ref": "../../../../../common-types/resource-management/v5/types.json#/definitions/ErrorResponse" } } }, @@ -1109,7 +1109,7 @@ "description": "The operation to create or update the extension.", "parameters": [ { - "$ref": "../../../../../common-types/resource-management/v3/types.json#/parameters/ResourceGroupNameParameter" + "$ref": "../../../../../common-types/resource-management/v5/types.json#/parameters/ResourceGroupNameParameter" }, { "name": "machineName", @@ -1138,10 +1138,10 @@ "description": "Parameters supplied to the Create Machine Extension operation." }, { - "$ref": "../../../../../common-types/resource-management/v3/types.json#/parameters/ApiVersionParameter" + "$ref": "../../../../../common-types/resource-management/v5/types.json#/parameters/ApiVersionParameter" }, { - "$ref": "../../../../../common-types/resource-management/v3/types.json#/parameters/SubscriptionIdParameter" + "$ref": "../../../../../common-types/resource-management/v5/types.json#/parameters/SubscriptionIdParameter" } ], "responses": { @@ -1157,7 +1157,7 @@ "default": { "description": "Error response describing why the operation failed.", "schema": { - "$ref": "../../../../../common-types/resource-management/v3/types.json#/definitions/ErrorResponse" + "$ref": "../../../../../common-types/resource-management/v5/types.json#/definitions/ErrorResponse" } } }, @@ -1176,7 +1176,7 @@ "description": "The operation to create or update the extension.", "parameters": [ { - "$ref": "../../../../../common-types/resource-management/v3/types.json#/parameters/ResourceGroupNameParameter" + "$ref": "../../../../../common-types/resource-management/v5/types.json#/parameters/ResourceGroupNameParameter" }, { "name": "machineName", @@ -1205,10 +1205,10 @@ "description": "Parameters supplied to the Create Machine Extension operation." }, { - "$ref": "../../../../../common-types/resource-management/v3/types.json#/parameters/ApiVersionParameter" + "$ref": "../../../../../common-types/resource-management/v5/types.json#/parameters/ApiVersionParameter" }, { - "$ref": "../../../../../common-types/resource-management/v3/types.json#/parameters/SubscriptionIdParameter" + "$ref": "../../../../../common-types/resource-management/v5/types.json#/parameters/SubscriptionIdParameter" } ], "responses": { @@ -1239,7 +1239,7 @@ "default": { "description": "Error response describing why the operation failed.", "schema": { - "$ref": "../../../../../common-types/resource-management/v3/types.json#/definitions/ErrorResponse" + "$ref": "../../../../../common-types/resource-management/v5/types.json#/definitions/ErrorResponse" } } }, @@ -1258,7 +1258,7 @@ "description": "The operation to delete the extension.", "parameters": [ { - "$ref": "../../../../../common-types/resource-management/v3/types.json#/parameters/ResourceGroupNameParameter" + "$ref": "../../../../../common-types/resource-management/v5/types.json#/parameters/ResourceGroupNameParameter" }, { "name": "machineName", @@ -1278,10 +1278,10 @@ "description": "The name of the machine extension." }, { - "$ref": "../../../../../common-types/resource-management/v3/types.json#/parameters/ApiVersionParameter" + "$ref": "../../../../../common-types/resource-management/v5/types.json#/parameters/ApiVersionParameter" }, { - "$ref": "../../../../../common-types/resource-management/v3/types.json#/parameters/SubscriptionIdParameter" + "$ref": "../../../../../common-types/resource-management/v5/types.json#/parameters/SubscriptionIdParameter" } ], "responses": { @@ -1312,7 +1312,7 @@ "default": { "description": "Error response describing why the operation failed.", "schema": { - "$ref": "../../../../../common-types/resource-management/v3/types.json#/definitions/ErrorResponse" + "$ref": "../../../../../common-types/resource-management/v5/types.json#/definitions/ErrorResponse" } } }, @@ -1331,7 +1331,7 @@ "description": "The operation to get the extension.", "parameters": [ { - "$ref": "../../../../../common-types/resource-management/v3/types.json#/parameters/ResourceGroupNameParameter" + "$ref": "../../../../../common-types/resource-management/v5/types.json#/parameters/ResourceGroupNameParameter" }, { "name": "machineName", @@ -1351,10 +1351,10 @@ "description": "The name of the machine extension." }, { - "$ref": "../../../../../common-types/resource-management/v3/types.json#/parameters/ApiVersionParameter" + "$ref": "../../../../../common-types/resource-management/v5/types.json#/parameters/ApiVersionParameter" }, { - "$ref": "../../../../../common-types/resource-management/v3/types.json#/parameters/SubscriptionIdParameter" + "$ref": "../../../../../common-types/resource-management/v5/types.json#/parameters/SubscriptionIdParameter" } ], "responses": { @@ -1367,7 +1367,7 @@ "default": { "description": "Error response describing why the operation failed.", "schema": { - "$ref": "../../../../../common-types/resource-management/v3/types.json#/definitions/ErrorResponse" + "$ref": "../../../../../common-types/resource-management/v5/types.json#/definitions/ErrorResponse" } } }, @@ -1387,7 +1387,7 @@ "description": "The operation to get all extensions of a non-Azure machine", "parameters": [ { - "$ref": "../../../../../common-types/resource-management/v3/types.json#/parameters/ResourceGroupNameParameter" + "$ref": "../../../../../common-types/resource-management/v5/types.json#/parameters/ResourceGroupNameParameter" }, { "name": "machineName", @@ -1407,10 +1407,10 @@ "description": "The expand expression to apply on the operation." }, { - "$ref": "../../../../../common-types/resource-management/v3/types.json#/parameters/ApiVersionParameter" + "$ref": "../../../../../common-types/resource-management/v5/types.json#/parameters/ApiVersionParameter" }, { - "$ref": "../../../../../common-types/resource-management/v3/types.json#/parameters/SubscriptionIdParameter" + "$ref": "../../../../../common-types/resource-management/v5/types.json#/parameters/SubscriptionIdParameter" } ], "responses": { @@ -1423,7 +1423,7 @@ "default": { "description": "Error response describing why the operation failed.", "schema": { - "$ref": "../../../../../common-types/resource-management/v3/types.json#/definitions/ErrorResponse" + "$ref": "../../../../../common-types/resource-management/v5/types.json#/definitions/ErrorResponse" } } }, @@ -1446,13 +1446,13 @@ "description": "The operation to Upgrade Machine Extensions.", "parameters": [ { - "$ref": "../../../../../common-types/resource-management/v3/types.json#/parameters/ApiVersionParameter" + "$ref": "../../../../../common-types/resource-management/v5/types.json#/parameters/ApiVersionParameter" }, { - "$ref": "../../../../../common-types/resource-management/v3/types.json#/parameters/SubscriptionIdParameter" + "$ref": "../../../../../common-types/resource-management/v5/types.json#/parameters/SubscriptionIdParameter" }, { - "$ref": "../../../../../common-types/resource-management/v3/types.json#/parameters/ResourceGroupNameParameter" + "$ref": "../../../../../common-types/resource-management/v5/types.json#/parameters/ResourceGroupNameParameter" }, { "name": "machineName", @@ -1499,7 +1499,7 @@ "default": { "description": "Error response describing why the operation failed.", "schema": { - "$ref": "../../../../../common-types/resource-management/v3/types.json#/definitions/ErrorResponse" + "$ref": "../../../../../common-types/resource-management/v5/types.json#/definitions/ErrorResponse" } } }, @@ -1520,10 +1520,10 @@ "description": "Gets an Extension Metadata based on location, publisher, extensionType and version", "parameters": [ { - "$ref": "../../../../../common-types/resource-management/v3/types.json#/parameters/ApiVersionParameter" + "$ref": "../../../../../common-types/resource-management/v5/types.json#/parameters/ApiVersionParameter" }, { - "$ref": "../../../../../common-types/resource-management/v3/types.json#/parameters/SubscriptionIdParameter" + "$ref": "../../../../../common-types/resource-management/v5/types.json#/parameters/SubscriptionIdParameter" }, { "name": "location", @@ -1564,7 +1564,7 @@ "default": { "description": "Error in retrieving an extension metadata", "schema": { - "$ref": "../../../../../common-types/resource-management/v3/types.json#/definitions/ErrorResponse" + "$ref": "../../../../../common-types/resource-management/v5/types.json#/definitions/ErrorResponse" } } }, @@ -1584,10 +1584,10 @@ "description": "Gets all Extension versions based on location, publisher, extensionType", "parameters": [ { - "$ref": "../../../../../common-types/resource-management/v3/types.json#/parameters/ApiVersionParameter" + "$ref": "../../../../../common-types/resource-management/v5/types.json#/parameters/ApiVersionParameter" }, { - "$ref": "../../../../../common-types/resource-management/v3/types.json#/parameters/SubscriptionIdParameter" + "$ref": "../../../../../common-types/resource-management/v5/types.json#/parameters/SubscriptionIdParameter" }, { "name": "location", @@ -1621,7 +1621,7 @@ "default": { "description": "Error in retrieving extension list", "schema": { - "$ref": "../../../../../common-types/resource-management/v3/types.json#/definitions/ErrorResponse" + "$ref": "../../../../../common-types/resource-management/v5/types.json#/definitions/ErrorResponse" } } }, @@ -1644,7 +1644,7 @@ "description": "Gets a list of hybrid compute operations.", "parameters": [ { - "$ref": "../../../../../common-types/resource-management/v3/types.json#/parameters/ApiVersionParameter" + "$ref": "../../../../../common-types/resource-management/v5/types.json#/parameters/ApiVersionParameter" } ], "responses": { @@ -1657,7 +1657,7 @@ "default": { "description": "Error response describing why the operation failed.", "schema": { - "$ref": "../../../../../common-types/resource-management/v3/types.json#/definitions/ErrorResponse" + "$ref": "../../../../../common-types/resource-management/v5/types.json#/definitions/ErrorResponse" } } }, @@ -1680,13 +1680,13 @@ "description": "The operation to get network information of hybrid machine", "parameters": [ { - "$ref": "../../../../../common-types/resource-management/v3/types.json#/parameters/ApiVersionParameter" + "$ref": "../../../../../common-types/resource-management/v5/types.json#/parameters/ApiVersionParameter" }, { - "$ref": "../../../../../common-types/resource-management/v3/types.json#/parameters/SubscriptionIdParameter" + "$ref": "../../../../../common-types/resource-management/v5/types.json#/parameters/SubscriptionIdParameter" }, { - "$ref": "../../../../../common-types/resource-management/v3/types.json#/parameters/ResourceGroupNameParameter" + "$ref": "../../../../../common-types/resource-management/v5/types.json#/parameters/ResourceGroupNameParameter" }, { "name": "machineName", @@ -1709,7 +1709,7 @@ "default": { "description": "Error response describing why the operation failed.", "schema": { - "$ref": "../../../../../common-types/resource-management/v3/types.json#/definitions/ErrorResponse" + "$ref": "../../../../../common-types/resource-management/v5/types.json#/definitions/ErrorResponse" } } }, @@ -1738,10 +1738,10 @@ ], "parameters": [ { - "$ref": "../../../../../common-types/resource-management/v3/types.json#/parameters/SubscriptionIdParameter" + "$ref": "../../../../../common-types/resource-management/v5/types.json#/parameters/SubscriptionIdParameter" }, { - "$ref": "../../../../../common-types/resource-management/v3/types.json#/parameters/ResourceGroupNameParameter" + "$ref": "../../../../../common-types/resource-management/v5/types.json#/parameters/ResourceGroupNameParameter" }, { "name": "machineName", @@ -1762,7 +1762,7 @@ "description": "Name of the HybridIdentityMetadata." }, { - "$ref": "../../../../../common-types/resource-management/v3/types.json#/parameters/ApiVersionParameter" + "$ref": "../../../../../common-types/resource-management/v5/types.json#/parameters/ApiVersionParameter" } ], "responses": { @@ -1775,7 +1775,7 @@ "default": { "description": "Error response describing why the operation failed.", "schema": { - "$ref": "../../../../../common-types/resource-management/v3/types.json#/definitions/ErrorResponse" + "$ref": "../../../../../common-types/resource-management/v5/types.json#/definitions/ErrorResponse" } } } @@ -1799,10 +1799,10 @@ ], "parameters": [ { - "$ref": "../../../../../common-types/resource-management/v3/types.json#/parameters/SubscriptionIdParameter" + "$ref": "../../../../../common-types/resource-management/v5/types.json#/parameters/SubscriptionIdParameter" }, { - "$ref": "../../../../../common-types/resource-management/v3/types.json#/parameters/ResourceGroupNameParameter" + "$ref": "../../../../../common-types/resource-management/v5/types.json#/parameters/ResourceGroupNameParameter" }, { "name": "machineName", @@ -1815,7 +1815,7 @@ "description": "The name of the hybrid machine." }, { - "$ref": "../../../../../common-types/resource-management/v3/types.json#/parameters/ApiVersionParameter" + "$ref": "../../../../../common-types/resource-management/v5/types.json#/parameters/ApiVersionParameter" } ], "responses": { @@ -1828,7 +1828,7 @@ "default": { "description": "Error response describing why the operation failed.", "schema": { - "$ref": "../../../../../common-types/resource-management/v3/types.json#/definitions/ErrorResponse" + "$ref": "../../../../../common-types/resource-management/v5/types.json#/definitions/ErrorResponse" } } }, @@ -1846,7 +1846,7 @@ "description": "Gets all Agent Versions along with the download link currently present.", "parameters": [ { - "$ref": "../../../../../common-types/resource-management/v3/types.json#/parameters/ApiVersionParameter" + "$ref": "../../../../../common-types/resource-management/v5/types.json#/parameters/ApiVersionParameter" }, { "name": "osType", @@ -1866,7 +1866,7 @@ "default": { "description": "Error response describing why the operation failed.", "schema": { - "$ref": "../../../../../common-types/resource-management/v2/types.json#/definitions/ErrorResponse" + "$ref": "../../../../../common-types/resource-management/v5/types.json#/definitions/ErrorResponse" } } }, @@ -1886,7 +1886,7 @@ "description": "Gets an Agent Version along with the download link currently present.", "parameters": [ { - "$ref": "../../../../../common-types/resource-management/v3/types.json#/parameters/ApiVersionParameter" + "$ref": "../../../../../common-types/resource-management/v5/types.json#/parameters/ApiVersionParameter" }, { "name": "osType", @@ -1913,7 +1913,7 @@ "default": { "description": "Error response describing why the operation failed.", "schema": { - "$ref": "../../../../../common-types/resource-management/v2/types.json#/definitions/ErrorResponse" + "$ref": "../../../../../common-types/resource-management/v5/types.json#/definitions/ErrorResponse" } } }, @@ -1933,7 +1933,7 @@ "description": "The operation to create or update a run command.", "parameters": [ { - "$ref": "../../../../../common-types/resource-management/v3/types.json#/parameters/ResourceGroupNameParameter" + "$ref": "../../../../../common-types/resource-management/v5/types.json#/parameters/ResourceGroupNameParameter" }, { "$ref": "#/parameters/machineNameParameter" @@ -1951,10 +1951,10 @@ "description": "Parameters supplied to the Create Run Command." }, { - "$ref": "../../../../../common-types/resource-management/v3/types.json#/parameters/ApiVersionParameter" + "$ref": "../../../../../common-types/resource-management/v5/types.json#/parameters/ApiVersionParameter" }, { - "$ref": "../../../../../common-types/resource-management/v3/types.json#/parameters/SubscriptionIdParameter" + "$ref": "../../../../../common-types/resource-management/v5/types.json#/parameters/SubscriptionIdParameter" } ], "responses": { @@ -1988,7 +1988,7 @@ "default": { "description": "Error response describing why the operation failed.", "schema": { - "$ref": "../../../../../common-types/resource-management/v3/types.json#/definitions/ErrorResponse" + "$ref": "../../../../../common-types/resource-management/v5/types.json#/definitions/ErrorResponse" } } }, @@ -2010,7 +2010,7 @@ "description": "The operation to update the run command.", "parameters": [ { - "$ref": "../../../../../common-types/resource-management/v3/types.json#/parameters/ResourceGroupNameParameter" + "$ref": "../../../../../common-types/resource-management/v5/types.json#/parameters/ResourceGroupNameParameter" }, { "$ref": "#/parameters/machineNameParameter" @@ -2028,10 +2028,10 @@ "description": "Parameters supplied to the Create Run Command." }, { - "$ref": "../../../../../common-types/resource-management/v3/types.json#/parameters/ApiVersionParameter" + "$ref": "../../../../../common-types/resource-management/v5/types.json#/parameters/ApiVersionParameter" }, { - "$ref": "../../../../../common-types/resource-management/v3/types.json#/parameters/SubscriptionIdParameter" + "$ref": "../../../../../common-types/resource-management/v5/types.json#/parameters/SubscriptionIdParameter" } ], "responses": { @@ -2062,7 +2062,7 @@ "default": { "description": "Error response describing why the operation failed.", "schema": { - "$ref": "../../../../../common-types/resource-management/v3/types.json#/definitions/ErrorResponse" + "$ref": "../../../../../common-types/resource-management/v5/types.json#/definitions/ErrorResponse" } } }, @@ -2081,7 +2081,7 @@ "description": "The operation to delete a run command.", "parameters": [ { - "$ref": "../../../../../common-types/resource-management/v3/types.json#/parameters/ResourceGroupNameParameter" + "$ref": "../../../../../common-types/resource-management/v5/types.json#/parameters/ResourceGroupNameParameter" }, { "$ref": "#/parameters/machineNameParameter" @@ -2090,10 +2090,10 @@ "$ref": "#/parameters/runCommandNameParameter" }, { - "$ref": "../../../../../common-types/resource-management/v3/types.json#/parameters/ApiVersionParameter" + "$ref": "../../../../../common-types/resource-management/v5/types.json#/parameters/ApiVersionParameter" }, { - "$ref": "../../../../../common-types/resource-management/v3/types.json#/parameters/SubscriptionIdParameter" + "$ref": "../../../../../common-types/resource-management/v5/types.json#/parameters/SubscriptionIdParameter" } ], "responses": { @@ -2121,7 +2121,7 @@ "default": { "description": "Error response describing why the operation failed.", "schema": { - "$ref": "../../../../../common-types/resource-management/v3/types.json#/definitions/ErrorResponse" + "$ref": "../../../../../common-types/resource-management/v5/types.json#/definitions/ErrorResponse" } } }, @@ -2143,7 +2143,7 @@ "description": "The operation to get a run command.", "parameters": [ { - "$ref": "../../../../../common-types/resource-management/v3/types.json#/parameters/ResourceGroupNameParameter" + "$ref": "../../../../../common-types/resource-management/v5/types.json#/parameters/ResourceGroupNameParameter" }, { "$ref": "#/parameters/machineNameParameter" @@ -2152,10 +2152,10 @@ "$ref": "#/parameters/runCommandNameParameter" }, { - "$ref": "../../../../../common-types/resource-management/v3/types.json#/parameters/ApiVersionParameter" + "$ref": "../../../../../common-types/resource-management/v5/types.json#/parameters/ApiVersionParameter" }, { - "$ref": "../../../../../common-types/resource-management/v3/types.json#/parameters/SubscriptionIdParameter" + "$ref": "../../../../../common-types/resource-management/v5/types.json#/parameters/SubscriptionIdParameter" } ], "responses": { @@ -2168,7 +2168,7 @@ "default": { "description": "Error response describing why the operation failed.", "schema": { - "$ref": "../../../../../common-types/resource-management/v3/types.json#/definitions/ErrorResponse" + "$ref": "../../../../../common-types/resource-management/v5/types.json#/definitions/ErrorResponse" } } }, @@ -2188,7 +2188,7 @@ "description": "The operation to get all the run commands of a non-Azure machine.", "parameters": [ { - "$ref": "../../../../../common-types/resource-management/v3/types.json#/parameters/ResourceGroupNameParameter" + "$ref": "../../../../../common-types/resource-management/v5/types.json#/parameters/ResourceGroupNameParameter" }, { "$ref": "#/parameters/machineNameParameter" @@ -2201,10 +2201,10 @@ "description": "The expand expression to apply on the operation." }, { - "$ref": "../../../../../common-types/resource-management/v3/types.json#/parameters/ApiVersionParameter" + "$ref": "../../../../../common-types/resource-management/v5/types.json#/parameters/ApiVersionParameter" }, { - "$ref": "../../../../../common-types/resource-management/v3/types.json#/parameters/SubscriptionIdParameter" + "$ref": "../../../../../common-types/resource-management/v5/types.json#/parameters/SubscriptionIdParameter" } ], "responses": { @@ -2217,7 +2217,7 @@ "default": { "description": "Error response describing why the operation failed.", "schema": { - "$ref": "../../../../../common-types/resource-management/v3/types.json#/definitions/ErrorResponse" + "$ref": "../../../../../common-types/resource-management/v5/types.json#/definitions/ErrorResponse" } } }, @@ -2259,7 +2259,7 @@ }, "allOf": [ { - "$ref": "../../../../../common-types/resource-management/v3/types.json#/definitions/ProxyResource" + "$ref": "../../../../../common-types/resource-management/v5/types.json#/definitions/ProxyResource" } ], "description": "Describes a Extension Metadata" @@ -2596,7 +2596,7 @@ "type": "object", "properties": { "locationData": { - "$ref": "../../../../../common-types/resource-management/v3/types.json#/definitions/locationData" + "$ref": "../../../../../common-types/resource-management/v5/types.json#/definitions/locationData" }, "agentConfiguration": { "$ref": "#/definitions/AgentConfiguration", @@ -2651,7 +2651,7 @@ "readOnly": true, "type": "array", "items": { - "$ref": "../../../../../common-types/resource-management/v3/types.json#/definitions/ErrorDetail" + "$ref": "../../../../../common-types/resource-management/v5/types.json#/definitions/ErrorDetail" }, "description": "Details about the error state.", "x-ms-identifiers": [] @@ -2757,7 +2757,7 @@ "type": "object", "properties": { "locationData": { - "$ref": "../../../../../common-types/resource-management/v3/types.json#/definitions/locationData" + "$ref": "../../../../../common-types/resource-management/v5/types.json#/definitions/locationData" }, "osProfile": { "$ref": "#/definitions/OSProfile" @@ -2798,7 +2798,7 @@ "description": "The list of extensions affiliated to the machine" }, "identity": { - "$ref": "../../../../../common-types/resource-management/v3/types.json#/definitions/Identity" + "$ref": "../../../../../common-types/resource-management/v5/types.json#/definitions/Identity" }, "kind": { "$ref": "#/definitions/ArcKindEnum" @@ -2806,7 +2806,7 @@ }, "allOf": [ { - "$ref": "../../../../../common-types/resource-management/v3/types.json#/definitions/TrackedResource" + "$ref": "../../../../../common-types/resource-management/v5/types.json#/definitions/TrackedResource" } ], "description": "Describes a hybrid machine." @@ -2832,7 +2832,7 @@ "type": "object", "properties": { "identity": { - "$ref": "../../../../../common-types/resource-management/v3/types.json#/definitions/Identity" + "$ref": "../../../../../common-types/resource-management/v5/types.json#/definitions/Identity" }, "kind": { "$ref": "#/definitions/ArcKindEnum" @@ -2900,7 +2900,7 @@ }, "allOf": [ { - "$ref": "../../../../../common-types/resource-management/v3/types.json#/definitions/TrackedResource" + "$ref": "../../../../../common-types/resource-management/v5/types.json#/definitions/TrackedResource" } ], "description": "Describes a license in a hybrid machine." @@ -3111,7 +3111,7 @@ }, "allOf": [ { - "$ref": "../../../../../common-types/resource-management/v3/types.json#/definitions/TrackedResource" + "$ref": "../../../../../common-types/resource-management/v5/types.json#/definitions/TrackedResource" } ], "description": "Describes a license profile in a hybrid machine." @@ -3340,7 +3340,7 @@ }, "allOf": [ { - "$ref": "../../../../../common-types/resource-management/v3/types.json#/definitions/TrackedResource" + "$ref": "../../../../../common-types/resource-management/v5/types.json#/definitions/TrackedResource" } ], "description": "Describes a Machine Extension." @@ -3643,7 +3643,7 @@ "type": "object", "allOf": [ { - "$ref": "../../../../../common-types/resource-management/v3/types.json#/definitions/ProxyResource", + "$ref": "../../../../../common-types/resource-management/v5/types.json#/definitions/ProxyResource", "description": "The resource model definition for an Azure Resource Manager proxy resource. It will have everything other than required location and tags." } ], @@ -3654,7 +3654,7 @@ "$ref": "#/definitions/HybridIdentityMetadataProperties" }, "systemData": { - "$ref": "../../../../../common-types/resource-management/v3/types.json#/definitions/systemData", + "$ref": "../../../../../common-types/resource-management/v5/types.json#/definitions/systemData", "description": "The system data." } }, @@ -3673,7 +3673,7 @@ "type": "string" }, "identity": { - "$ref": "../../../../../common-types/resource-management/v3/types.json#/definitions/Identity", + "$ref": "../../../../../common-types/resource-management/v5/types.json#/definitions/Identity", "readOnly": true } } @@ -3807,7 +3807,7 @@ "description": "The operating system type of the machine." }, "errorDetails": { - "$ref": "../../../../../common-types/resource-management/v3/types.json#/definitions/ErrorDetail", + "$ref": "../../../../../common-types/resource-management/v5/types.json#/definitions/ErrorDetail", "readOnly": true, "description": "The errors that were encountered during execution of the operation. The details array contains the list of them." } @@ -4127,7 +4127,7 @@ "description": "The operating system type of the machine." }, "errorDetails": { - "$ref": "../../../../../common-types/resource-management/v3/types.json#/definitions/ErrorDetail", + "$ref": "../../../../../common-types/resource-management/v5/types.json#/definitions/ErrorDetail", "readOnly": true, "description": "The errors that were encountered during execution of the operation. The details array contains the list of them." } @@ -4145,7 +4145,7 @@ }, "allOf": [ { - "$ref": "../../../../../common-types/resource-management/v3/types.json#/definitions/TrackedResource" + "$ref": "../../../../../common-types/resource-management/v5/types.json#/definitions/TrackedResource" } ], "description": "Describes a Run Command" From 5af8992bce1157ec3ce1e927c119add9638ac4d1 Mon Sep 17 00:00:00 2001 From: adrielmsft Date: Tue, 10 Oct 2023 15:41:05 -0400 Subject: [PATCH 09/57] nsp configuration and network configuration endpoints and models --- .../2023-10-03-preview/privateLinkScopes.json | 764 ++++++++++++++++++ 1 file changed, 764 insertions(+) diff --git a/specification/hybridcompute/resource-manager/Microsoft.HybridCompute/preview/2023-10-03-preview/privateLinkScopes.json b/specification/hybridcompute/resource-manager/Microsoft.HybridCompute/preview/2023-10-03-preview/privateLinkScopes.json index 80b0fe0516df..69a9cb20e0dc 100644 --- a/specification/hybridcompute/resource-manager/Microsoft.HybridCompute/preview/2023-10-03-preview/privateLinkScopes.json +++ b/specification/hybridcompute/resource-manager/Microsoft.HybridCompute/preview/2023-10-03-preview/privateLinkScopes.json @@ -694,9 +694,742 @@ } } } + }, + "/{resourceUri}/providers/Microsoft.HybridCompute/networkConfigurations": { + "get": { + "tags": [ + "NetworkConfigurations" + ], + "description": "Returns a NetworkConfiguration for the target resource.", + "operationId": "NetworkConfigurations_Get", + "produces": [ + "application/json" + ], + "x-ms-examples": { + "NetworkConfigurationsGet": { + "$ref": "./examples/NetworkConfigurationsGet.json" + } + }, + "parameters": [ + { + "$ref": "../../../../../common-types/resource-management/v5/types.json#/parameters/ApiVersionParameter" + }, + { + "$ref": "#/parameters/ResourceUriParameter" + } + ], + "responses": { + "200": { + "description": "Network Configuration information for the target resource.", + "schema": { + "$ref": "#/definitions/NetworkConfiguration" + } + }, + "default": { + "description": "Error response describing why the operation failed.", + "schema": { + "$ref": "../../../../../common-types/resource-management/v5/types.json#/definitions/ErrorResponse" + } + } + }, + "deprecated": false + }, + "put": { + "tags": [ + "NetworkConfigurations" + ], + "description": "Create or update the NetworkConfiguration of the target resource.", + "operationId": "NetworkConfigurations_CreateOrUpdate", + "produces": [ + "application/json" + ], + "x-ms-examples": { + "NetworkConfigurationsCreate": { + "$ref": "./examples/NetworkConfigurationsCreate.json" + }, + "NetworkConfigurationsUpdate": { + "$ref": "./examples/NetworkConfigurationsUpdate.json" + } + }, + "parameters": [ + { + "$ref": "../../../../../common-types/resource-management/v5/types.json#/parameters/ApiVersionParameter" + }, + { + "$ref": "#/parameters/ResourceUriParameter" + }, + { + "name": "parameters", + "description": "Network Configuration details", + "in": "body", + "required": true, + "schema": { + "$ref": "#/definitions/NetworkConfiguration" + } + } + ], + "responses": { + "200": { + "description": "Network Configuration information for the target resource.", + "schema": { + "$ref": "#/definitions/NetworkConfiguration" + } + }, + "default": { + "description": "Error response describing why the operation failed.", + "schema": { + "$ref": "../../../../../common-types/resource-management/v5/types.json#/definitions/ErrorResponse" + } + } + } + }, + "patch": { + "tags": [ + "NetworkConfigurations" + ], + "description": "Update the endpoint to the target resource.", + "operationId": "NetworkConfigurations_Update", + "produces": [ + "application/json" + ], + "x-ms-examples": { + "NetworkConfigurationsUpdate": { + "$ref": "./examples/NetworkConfigurationsUpdate.json" + } + }, + "parameters": [ + { + "$ref": "../../../../../common-types/resource-management/v5/types.json#/parameters/ApiVersionParameter" + }, + { + "$ref": "#/parameters/ResourceUriParameter" + }, + { + "name": "parameters", + "description": "Network Configuration details", + "in": "body", + "required": true, + "schema": { + "$ref": "#/definitions/NetworkConfiguration" + } + } + ], + "responses": { + "200": { + "description": "Network Configuration information for the target resource.", + "schema": { + "$ref": "#/definitions/NetworkConfiguration" + } + }, + "default": { + "description": "Error response describing why the operation failed.", + "schema": { + "$ref": "../../../../../common-types/resource-management/v5/types.json#/definitions/ErrorResponse" + } + } + } + } + }, + "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.HybridCompute/privateLinkScopes/{scopeName}/networkSecurityPerimeterConfigurations/{perimeterGuid}.{associationName}": { + "get": { + "tags": [ + "NetworkSecurityPerimeterConfiguration" + ], + "description": "Gets the network security perimeter configuration for a private link scope.", + "operationId": "NetworkSecurityPerimeterConfigurations_GetByPrivateLinkScope", + "parameters": [ + { + "$ref": "../../../../../common-types/resource-management/v5/types.json#/parameters/SubscriptionIdParameter" + }, + { + "$ref": "../../../../../common-types/resource-management/v5/types.json#/parameters/ResourceGroupNameParameter" + }, + { + "$ref": "../../../../../common-types/resource-management/v5/types.json#/parameters/ApiVersionParameter" + }, + { + "$ref": "#/parameters/PrivateLinkScopeName" + }, + { + "$ref": "#/parameters/PerimeterGuid" + }, + { + "$ref": "#/parameters/AssociationName" + } + ], + "responses": { + "200": { + "description": "Successfully retrieved network security perimeter configuration details.", + "schema": { + "$ref": "#/definitions/NetworkSecurityPerimeterConfiguration" + } + }, + "default": { + "description": "Error response describing why the operation failed.", + "schema": { + "$ref": "../../../../../common-types/resource-management/v5/types.json#/definitions/ErrorResponse" + } + } + }, + "x-ms-examples": { + "Gets the network security perimeter configuration of the private link scope.": { + "$ref": "./examples/NetworkSecurityPerimeterConfigurationGet.json" + } + } + } + }, + "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.HybridCompute/privateLinkScopes/{scopeName}/networkSecurityPerimeterConfigurations": { + "get": { + "tags": [ + "NetworkSecurityPerimeterConfiguration" + ], + "description": "Lists the network security perimeter configurations for a private link scope.", + "operationId": "NetworkSecurityPerimeterConfigurations_ListByPrivateLinkScope", + "parameters": [ + { + "$ref": "../../../../../common-types/resource-management/v5/types.json#/parameters/SubscriptionIdParameter" + }, + { + "$ref": "../../../../../common-types/resource-management/v5/types.json#/parameters/ResourceGroupNameParameter" + }, + { + "$ref": "../../../../../common-types/resource-management/v5/types.json#/parameters/ApiVersionParameter" + }, + { + "$ref": "#/parameters/PrivateLinkScopeName" + } + ], + "responses": { + "200": { + "description": "Successfully retrieved network security perimeter configuration details.", + "schema": { + "$ref": "#/definitions/NetworkSecurityPerimeterConfigurationListResult" + } + }, + "default": { + "description": "Error response describing why the operation failed.", + "schema": { + "$ref": "../../../../../common-types/resource-management/v5/types.json#/definitions/ErrorResponse" + } + } + }, + "x-ms-pageable": { + "nextLinkName": "nextLink" + }, + "x-ms-examples": { + "Gets the list of network security perimeter configurations of the private link scope.": { + "$ref": "./examples/NetworkSecurityPerimeterConfigurationList.json" + } + } + } + }, + "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.HybridCompute/privateLinkScopes/{scopeName}/networkSecurityPerimeterConfigurations/{perimeterGuid}.{associationName}/reconcile": { + "post": { + "tags": [ + "NetworkSecurityPerimeterConfiguration" + ], + "description": "Forces the network security perimeter configuration to refresh for a private link scope.", + "operationId": "NetworkSecurityPerimeterConfigurations_ReconcileForPrivateLinkScope", + "parameters": [ + { + "$ref": "../../../../../common-types/resource-management/v5/types.json#/parameters/SubscriptionIdParameter" + }, + { + "$ref": "../../../../../common-types/resource-management/v5/types.json#/parameters/ResourceGroupNameParameter" + }, + { + "$ref": "../../../../../common-types/resource-management/v5/types.json#/parameters/ApiVersionParameter" + }, + { + "$ref": "#/parameters/PrivateLinkScopeName" + }, + { + "$ref": "#/parameters/PerimeterGuid" + }, + { + "$ref": "#/parameters/AssociationName" + } + ], + "responses": { + "202": { + "description": "Accepted.", + "headers": { + "Location": { + "description": "The URL of the resource used to check the status of the asynchronous operation.", + "type": "string" + }, + "Retry-After": { + "description": "The recommended number of seconds to wait before calling the URI specified in Azure-AsyncOperation.", + "type": "integer", + "format": "int32" + }, + "Azure-AsyncOperation": { + "description": "The URI to poll for completion status.", + "type": "string" + } + } + }, + "default": { + "description": "Error response describing why the operation failed.", + "schema": { + "$ref": "../../../../../common-types/resource-management/v5/types.json#/definitions/ErrorResponse" + } + } + }, + "x-ms-long-running-operation": true, + "x-ms-examples": { + "Reconciles the network security perimeter configuration of the private link scope.": { + "$ref": "./examples/NetworkSecurityPerimeterConfigurationReconcile.json" + } + } + } } }, "definitions": { + "NetworkConfiguration": { + "type": "object", + "properties": { + "id": { + "type": "string", + "readOnly": true, + "description": "Azure resource Id" + }, + "name": { + "type": "string", + "description": "Azure resource name", + "readOnly": true + }, + "type": { + "type": "string", + "readOnly": true, + "description": "Azure resource type" + }, + "location": { + "type": "string", + "description": "Resource location", + "x-ms-mutability": [ + "create", + "read" + ] + }, + "properties": { + "x-ms-client-flatten": true, + "$ref": "#/definitions/NetworkConfigurationProperties" + } + }, + "x-ms-azure-resource": true, + "description": "An azure resource object" + }, + "NetworkConfigurationProperties": { + "type": "object", + "description": "Network configuration properties", + "properties": { + "tenantId": { + "type": "string", + "readOnly": true, + "description": "Azure resource tenant Id" + }, + "networkConfigurationScopeId": { + "type": "string", + "description": "Associated Network Configuration Scope Id" + }, + "networkConfigurationScopeResourceId": { + "type": "string", + "description": "Associated Network Configuration Scope Resource Id" + }, + "keyProperties": { + "description": "Public key information for client authentication", + "readOnly": true, + "$ref": "#/definitions/KeyProperties" + } + }, + "required": [ + "networkConfigurationScopeResourceId" + ] + }, + "KeyProperties": { + "type": "object", + "description": "Public key information for client authentication", + "properties": { + "clientPublicKey": { + "description": "Current public key details", + "readOnly": true, + "$ref": "#/definitions/KeyDetails" + }, + "candidatePublicKey": { + "description": "Candidate public key details", + "readOnly": true, + "$ref": "#/definitions/KeyDetails" + } + } + }, + "KeyDetails": { + "type": "object", + "description": "Public key details", + "properties": { + "publicKey": { + "type": "string", + "description": "Public key", + "readOnly": true + }, + "notAfter": { + "type": "string", + "format": "date-time", + "description": "Key expiration date", + "readOnly": true + }, + "renewAfter": { + "type": "string", + "format": "date-time", + "description": "Recommended key renewal date", + "readOnly": true + } + } + }, + "NetworkSecurityPerimeterConfiguration": { + "type": "object", + "description": "Properties that define a Network Security Perimeter resource.", + "properties": { + "id": { + "type": "string", + "readOnly": true, + "description": "Azure resource Id" + }, + "name": { + "type": "string", + "description": "Azure resource name", + "readOnly": true + }, + "type": { + "type": "string", + "readOnly": true, + "description": "Azure resource type" + }, + "properties": { + "x-ms-client-flatten": true, + "description": "Properties that define a Network Security Perimeter resource.", + "$ref": "#/definitions/NetworkSecurityPerimeterConfigurationProperties" + } + }, + "x-ms-azure-resource": true + }, + "NetworkSecurityPerimeterConfigurationProperties": { + "type": "object", + "description": "Properties that define a Network Security Perimeter resource.", + "properties": { + "provisioningState": { + "type": "string", + "description": "Current state of this NetworkSecurityPerimeter: whether or not is has been provisioned within the resource group it is defined. Users cannot change this value but are able to read from it. Values will include Provisioning ,Succeeded, Canceled and Failed.", + "readOnly": true + }, + "provisioningIssues": { + "type": "array", + "description": "Provisioning issues.", + "readOnly": true, + "items": { + "$ref": "#/definitions/ProvisioningIssue" + } + }, + "networkSecurityPerimeter": { + "description": "The Network Security Perimeter associated with this configuration.", + "$ref": "#/definitions/NetworkSecurityPerimeter" + }, + "resourceAssociation": { + "description": "The Resource Association.", + "$ref": "#/definitions/ResourceAssociation" + }, + "profile": { + "description": "Network Security Perimeter profile", + "$ref": "#/definitions/NetworkSecurityPerimeterProfile" + } + } + }, + "NetworkSecurityPerimeterProfile": { + "type": "object", + "description": "Network Security Perimeter profile", + "properties": { + "name": { + "type": "string", + "description": "Name of the resource", + "readOnly": true + }, + "accessRulesVersion": { + "type": "string", + "description": "Access rules version number", + "readOnly": true + }, + "accessRules": { + "type": "array", + "description": "Collection of access rules for the profile", + "readOnly": true, + "items": { + "$ref": "#/definitions/AccessRule" + } + }, + "diagnosticSettingsVersion": { + "type": "string", + "description": "Diagnostic settings version number", + "readOnly": true + }, + "enabledLogCategories": { + "type": "array", + "description": "Collection of enabled log categories for the profile", + "readOnly": true, + "items": { + "type": "string" + } + } + } + }, + "ProvisioningIssue": { + "type": "object", + "description": "Details on issues that occurred during provisioning.", + "properties": { + "name": { + "type": "string", + "description": "Name of the provisioning issue.", + "readOnly": true + }, + "properties": { + "x-ms-client-flatten": true, + "description": "Provisioning issue properties", + "readOnly": true, + "$ref": "#/definitions/ProvisioningIssueProperties" + } + } + }, + "ProvisioningIssueProperties": { + "type": "object", + "description": "Properties of a provisioning issue.", + "properties": { + "issueType": { + "description": "Issue type", + "readOnly": true, + "$ref": "#/definitions/ProvisioningIssueType" + }, + "severity": { + "description": "Severity of the provisioning issue.", + "readOnly": true, + "$ref": "#/definitions/ProvisioningIssueSeverity" + }, + "description": { + "type": "string", + "description": "Description of the provisioning issue.", + "readOnly": true + }, + "suggestedResourceIds": { + "type": "array", + "description": "ARM Ids of the resources that can be associated to the same perimeter to remediate the issue", + "readOnly": true, + "items": { + "type": "string" + } + }, + "suggestedAccessRules": { + "type": "array", + "description": "Access rules that can be added to the perimeter to remediate the issue", + "readOnly": true, + "items": { + "$ref": "#/definitions/AccessRule" + } + } + } + }, + "ProvisioningIssueType": { + "type": "string", + "description": "Type of provisioning issue.", + "enum": [ + "MissingPerimeterConfiguration", + "MissingIdentityConfiguration", + "ConfigurationPropagationFailure", + "Other" + ], + "x-ms-enum": { + "name": "ProvisioningIssueType", + "modelAsString": true, + "values": [ + { + "value": "MissingPerimeterConfiguration", + "description": "Perimeter configuration is missing." + }, + { + "value": "MissingIdentityConfiguration", + "description": "Identity configuration is missing." + }, + { + "value": "ConfigurationPropagationFailure", + "description": "Configuration failed to propagate." + }, + { + "value": "Other", + "description": "Other failure." + } + ] + } + }, + "ProvisioningIssueSeverity": { + "type": "string", + "description": "Severity of the provisioning issue.", + "enum": [ + "Warning", + "Error" + ], + "x-ms-enum": { + "name": "ProvisioningIssueSeverity", + "modelAsString": true, + "values": [ + { + "value": "Warning", + "description": "Warnings can cause connectivity issues after provisioning succeeds." + }, + { + "value": "Error", + "description": "Errors will cause association provisioning to fail." + } + ] + } + }, + "AccessMode": { + "type": "string", + "description": "Property that impacts a resource's logging behavior and its connectivity with other resources and public networks.", + "enum": [ + "enforced", + "audit", + "learning" + ], + "x-ms-enum": { + "name": "AccessMode", + "modelAsString": true, + "values": [ + { + "value": "enforced", + "description": "Indicates that resource access is controlled by the NSP definition." + }, + { + "value": "audit", + "description": "Dry run mode, where traffic is evaluated against NSP Rules, logged but not enforced." + }, + { + "value": "learning", + "description": "Enables traffic evaluation to fall back to resource-specific firewall configurations." + } + ] + } + }, + "AccessRuleDirection": { + "type": "string", + "description": "Indicates direction of an access rule.", + "enum": [ + "Inbound", + "Outbound" + ], + "x-ms-enum": { + "name": "AccessMode", + "modelAsString": true, + "values": [ + { + "value": "Inbound", + "description": "Traffic originates outside of network." + }, + { + "value": "Outbound", + "description": "Traffic originates inside the network" + } + ] + } + }, + "AccessRule": { + "type": "object", + "description": "Access rule.", + "properties": { + "name": { + "type": "string", + "description": "Name of the access rule.", + "readOnly": true + }, + "properties": { + "x-ms-client-flatten": true, + "description": "Access rule properties", + "readOnly": true, + "$ref": "#/definitions/AccessRuleProperties" + } + } + }, + "AccessRuleProperties": { + "type": "object", + "description": "Properties of an access rule.", + "properties": { + "direction": { + "description": "Direction of the access rule.", + "readOnly": true, + "$ref": "#/definitions/AccessRuleDirection" + }, + "addressPrefixes": { + "type": "array", + "description": "Address prefixes that are allowed access.", + "readOnly": true, + "items": { + "type": "string" + } + } + } + }, + "NetworkSecurityPerimeter": { + "type": "object", + "description": "Properties that define a Network Security Perimeter resource.", + "properties": { + "id": { + "type": "string", + "readOnly": true, + "description": "Azure resource Id" + }, + "perimeterGuid": { + "type": "string", + "description": "Guid of the Network Security Perimeter", + "readOnly": true + }, + "location": { + "type": "string", + "readOnly": true, + "description": "Regional location of the perimeter" + } + } + }, + "NetworkSecurityPerimeterConfigurationListResult": { + "type": "object", + "description": "A list of network security perimeter configurations.", + "properties": { + "value": { + "description": "Array of results.", + "type": "array", + "items": { + "$ref": "#/definitions/NetworkSecurityPerimeterConfiguration" + }, + "readOnly": true + }, + "nextLink": { + "description": "Link to retrieve next page of results.", + "type": "string", + "readOnly": true + } + } + }, + "ResourceAssociation": { + "type": "object", + "description": "Properties that define a Resource Association.", + "properties": { + "name": { + "type": "string", + "readOnly": true, + "description": "Name of the Resource Association" + }, + "accessMode": { + "description": "The access mode", + "readOnly": true, + "$ref": "#/definitions/AccessMode" + } + } + }, "PrivateLinkScopesResource": { "type": "object", "properties": { @@ -1125,6 +1858,37 @@ "description": "The name of the target machine to get the private link scope validation details for.", "minLength": 1, "x-ms-parameter-location": "method" + }, + "ResourceUriParameter": { + "name": "resourceUri", + "in": "path", + "required": true, + "type": "string", + "description": "The fully qualified Azure Resource manager identifier of the resource to be connected.", + "x-ms-skip-url-encoding": true, + "x-ms-parameter-location": "method" + }, + "NetworkConfigurationScopeId": { + "name": "scopeId", + "in": "path", + "required": true, + "type": "string", + "description": "The id (Guid) of the Azure Arc Network Configuration Scope resource.", + "x-ms-parameter-location": "method" + }, + "PerimeterGuid": { + "name": "perimeterGuid", + "in":"path", + "required":true, + "type":"string", + "description": "The id (Guid) of the Network Security Perimeter resource." + }, + "AssociationName":{ + "name": "associationName", + "in":"path", + "required":true, + "type":"string", + "description":"The name of the resource association resource which represents an association between a private link scope and Network Security Perimeter Profile" } } } From 42d6dc382a4beb9d05d59065865177eb91d800e0 Mon Sep 17 00:00:00 2001 From: adrielmsft Date: Tue, 10 Oct 2023 15:57:49 -0400 Subject: [PATCH 10/57] add nsp config and network config examples --- .../NetworkConfigurationsCreate.json | 35 + .../NetworkConfigurationsGet.json | 29 + .../NetworkConfigurationsUpdate.json | 34 + ...workSecurityPerimeterConfigurationGet.json | 50 + ...orkSecurityPerimeterConfigurationList.json | 90 + ...curityPerimeterConfigurationReconcile.json | 18 + .../2023-10-03-preview/privateLinkScopes.json | 1894 ----------------- 7 files changed, 256 insertions(+), 1894 deletions(-) create mode 100644 specification/hybridcompute/resource-manager/Microsoft.HybridCompute/preview/2023-10-03-preview/examples/networkConfiguration/NetworkConfigurationsCreate.json create mode 100644 specification/hybridcompute/resource-manager/Microsoft.HybridCompute/preview/2023-10-03-preview/examples/networkConfiguration/NetworkConfigurationsGet.json create mode 100644 specification/hybridcompute/resource-manager/Microsoft.HybridCompute/preview/2023-10-03-preview/examples/networkConfiguration/NetworkConfigurationsUpdate.json create mode 100644 specification/hybridcompute/resource-manager/Microsoft.HybridCompute/preview/2023-10-03-preview/examples/networkSecurityPerimeterConfiguration/NetworkSecurityPerimeterConfigurationGet.json create mode 100644 specification/hybridcompute/resource-manager/Microsoft.HybridCompute/preview/2023-10-03-preview/examples/networkSecurityPerimeterConfiguration/NetworkSecurityPerimeterConfigurationList.json create mode 100644 specification/hybridcompute/resource-manager/Microsoft.HybridCompute/preview/2023-10-03-preview/examples/networkSecurityPerimeterConfiguration/NetworkSecurityPerimeterConfigurationReconcile.json diff --git a/specification/hybridcompute/resource-manager/Microsoft.HybridCompute/preview/2023-10-03-preview/examples/networkConfiguration/NetworkConfigurationsCreate.json b/specification/hybridcompute/resource-manager/Microsoft.HybridCompute/preview/2023-10-03-preview/examples/networkConfiguration/NetworkConfigurationsCreate.json new file mode 100644 index 000000000000..8d74ddbf60d3 --- /dev/null +++ b/specification/hybridcompute/resource-manager/Microsoft.HybridCompute/preview/2023-10-03-preview/examples/networkConfiguration/NetworkConfigurationsCreate.json @@ -0,0 +1,35 @@ +{ + "parameters": { + "resourceUri": "subscriptions/f5bcc1d9-23af-4ae9-aca1-041d0f593a63/resourceGroups/hybridRG/providers/Microsoft.HybridCompute/machines/testMachine", + "api-version": "TBD-preview", + "name": "default", + "parameters": { + "location": "westus", + "properties": { + "networkConfigurationScopeResourceId": "/subscriptions/f5bcc1d9-23af-4ae9-aca1-041d0f593a63/resourceGroups/hybridRG/providers/Microsoft.HybridCompute/privateLinkScopes/testScope" + } + } + }, + "responses": { + "200": { + "body": { + "id": "/subscriptions/f5bcc1d9-23af-4ae9-aca1-041d0f593a63/resourceGroups/hybridRG/providers/Microsoft.HybridCompute/machines/testMachine/providers/Microsoft.HybridCompute/networkConfigurations/default", + "name": "default", + "type": "Microsoft.HybridCompute/networkConfigurations", + "location": "westus", + "properties": { + "tenantId": "00000000-1111-2222-3333-444444444444", + "networkConfigurationScopeId": "c5dff806-9902-414d-a0cb-f83fa5407166", + "networkConfigurationScopeResourceId": "/subscriptions/f5bcc1d9-23af-4ae9-aca1-041d0f593a63/resourceGroups/hybridRG/providers/Microsoft.HybridCompute/privateLinkScopes/testScope", + "keyProperties": { + "clientPublicKey": { + "publicKey": "62617365363420656e636f646564207075626c6963206b6579", + "notAfter": "2021-01-01T00:00:00Z", + "renewAfter": "2021-02-01T00:00:00Z" + } + } + } + } + } + } +} diff --git a/specification/hybridcompute/resource-manager/Microsoft.HybridCompute/preview/2023-10-03-preview/examples/networkConfiguration/NetworkConfigurationsGet.json b/specification/hybridcompute/resource-manager/Microsoft.HybridCompute/preview/2023-10-03-preview/examples/networkConfiguration/NetworkConfigurationsGet.json new file mode 100644 index 000000000000..cdbfdefde5b3 --- /dev/null +++ b/specification/hybridcompute/resource-manager/Microsoft.HybridCompute/preview/2023-10-03-preview/examples/networkConfiguration/NetworkConfigurationsGet.json @@ -0,0 +1,29 @@ +{ + "parameters": { + "resourceUri": "subscriptions/f5bcc1d9-23af-4ae9-aca1-041d0f593a63/resourceGroups/hybridRG/providers/Microsoft.HybridCompute/machines/testMachine", + "api-version": "TBD-preview", + "name": "default" + }, + "responses": { + "200": { + "body": { + "id": "/subscriptions/f5bcc1d9-23af-4ae9-aca1-041d0f593a63/resourceGroups/hybridRG/providers/Microsoft.HybridCompute/machines/testMachine/providers/Microsoft.HybridCompute/networkConfigurations/default", + "name": "default", + "type": "Microsoft.HybridCompute/networkConfigurations", + "location": "westus", + "properties": { + "tenantId": "default", + "networkConfigurationScopeId": "c5dff806-9902-414d-a0cb-f83fa5407166", + "networkConfigurationScopeResourceId": "/subscriptions/f5bcc1d9-23af-4ae9-aca1-041d0f593a63/resourceGroups/hybridRG/providers/Microsoft.HybridCompute/privateLinkScopes/testScope", + "keyProperties": { + "clientPublicKey": { + "publicKey": "62617365363420656e636f646564207075626c6963206b6579", + "notAfter": "2021-01-01T00:00:00Z", + "renewAfter": "2021-02-01T00:00:00Z" + } + } + } + } + } + } +} diff --git a/specification/hybridcompute/resource-manager/Microsoft.HybridCompute/preview/2023-10-03-preview/examples/networkConfiguration/NetworkConfigurationsUpdate.json b/specification/hybridcompute/resource-manager/Microsoft.HybridCompute/preview/2023-10-03-preview/examples/networkConfiguration/NetworkConfigurationsUpdate.json new file mode 100644 index 000000000000..6cd820ae01ca --- /dev/null +++ b/specification/hybridcompute/resource-manager/Microsoft.HybridCompute/preview/2023-10-03-preview/examples/networkConfiguration/NetworkConfigurationsUpdate.json @@ -0,0 +1,34 @@ +{ + "parameters": { + "resourceUri": "subscriptions/f5bcc1d9-23af-4ae9-aca1-041d0f593a63/resourceGroups/hybridRG/providers/Microsoft.HybridCompute/machines/testMachine", + "api-version": "TBD-preview", + "name": "default", + "parameters": { + "properties": { + "networkConfigurationScopeResourceId": "/subscriptions/f5bcc1d9-23af-4ae9-aca1-041d0f593a63/resourceGroups/hybridRG/providers/Microsoft.HybridCompute/privateLinkScopes/testScope" + } + } + }, + "responses": { + "200": { + "body": { + "id": "/subscriptions/f5bcc1d9-23af-4ae9-aca1-041d0f593a63/resourceGroups/hybridRG/providers/Microsoft.HybridCompute/machines/testMachine/providers/Microsoft.HybridCompute/networkConfigurations/default", + "name": "default", + "type": "Microsoft.HybridCompute/networkConfigurations", + "location": "westus", + "properties": { + "tenantId": "00000000-1111-2222-3333-444444444444", + "networkConfigurationScopeId": "c5dff806-9902-414d-a0cb-f83fa5407166", + "networkConfigurationScopeResourceId": "/subscriptions/f5bcc1d9-23af-4ae9-aca1-041d0f593a63/resourceGroups/hybridRG/providers/Microsoft.HybridCompute/privateLinkScopes/testScope", + "keyProperties": { + "clientPublicKey": { + "publicKey": "publickey", + "notAfter": "2021-01-01T00:00:00Z", + "renewAfter": "2021-02-01T00:00:00Z" + } + } + } + } + } + } +} diff --git a/specification/hybridcompute/resource-manager/Microsoft.HybridCompute/preview/2023-10-03-preview/examples/networkSecurityPerimeterConfiguration/NetworkSecurityPerimeterConfigurationGet.json b/specification/hybridcompute/resource-manager/Microsoft.HybridCompute/preview/2023-10-03-preview/examples/networkSecurityPerimeterConfiguration/NetworkSecurityPerimeterConfigurationGet.json new file mode 100644 index 000000000000..91bbbe87ca0a --- /dev/null +++ b/specification/hybridcompute/resource-manager/Microsoft.HybridCompute/preview/2023-10-03-preview/examples/networkSecurityPerimeterConfiguration/NetworkSecurityPerimeterConfigurationGet.json @@ -0,0 +1,50 @@ +{ + "parameters": { + "api-version": "TBD-preview", + "subscriptionId": "86dc51d3-92ed-4d7e-947a-775ea79b4919", + "resourceGroupName": "my-resource-group", + "scopeName": "my-privatelinkscope", + "perimeterName": "ece2d09e-184e-4f71-beb9-346e8ab12b83.myAssociation" + }, + "responses": { + "200": { + "body": { + "id": "/subscriptions/00000000-1111-2222-3333-444444444444/resourceGroups/my-resource-group/providers/Microsoft.HybridCompute/privateLinkScopes/my-privatelinkscope/networkSecurityPerimeterConfigurations/ece2d09e-184e-4f71-beb9-346e8ab12b83.myAssociation", + "name": "ece2d09e-184e-4f71-beb9-346e8ab12b83.myAssociation", + "type": "Microsoft.HybridCompute/privateLinkScopes/networkSecurityPerimeterConfigurations", + "properties": { + "provisioningState": "Accepted", + "provisioningIssues": [], + "networkSecurityPerimeter": { + "id": "/subscriptions/55555555-6666-7777-8888-999999999999/resourceGroups/Default-Network/providers/Microsoft.Network/networkSecurityPerimeters/myPerimeter", + "perimeterGuid": "ece2d09e-184e-4f71-beb9-346e8ab12b83", + "location": "westus" + }, + "resourceAssociation": { + "name": "myAssociation", + "accessMode": "enforced" + }, + "profile": { + "name": "myProfile", + "accessRulesVersion": "1", + "accessRules": [ + { + "name": "myAccessRule", + "properties": { + "direction": "Inbound", + "addressPrefixes": [ + "148.0.0.0/8", + "152.4.6.0/24", + "..." + ] + } + } + ], + "diagnosticSettingsVersion": "1", + "enabledLogCategories": [] + } + } + } + } + } +} diff --git a/specification/hybridcompute/resource-manager/Microsoft.HybridCompute/preview/2023-10-03-preview/examples/networkSecurityPerimeterConfiguration/NetworkSecurityPerimeterConfigurationList.json b/specification/hybridcompute/resource-manager/Microsoft.HybridCompute/preview/2023-10-03-preview/examples/networkSecurityPerimeterConfiguration/NetworkSecurityPerimeterConfigurationList.json new file mode 100644 index 000000000000..4a6794cce4b1 --- /dev/null +++ b/specification/hybridcompute/resource-manager/Microsoft.HybridCompute/preview/2023-10-03-preview/examples/networkSecurityPerimeterConfiguration/NetworkSecurityPerimeterConfigurationList.json @@ -0,0 +1,90 @@ +{ + "parameters": { + "api-version": "TBD-preview", + "subscriptionId": "86dc51d3-92ed-4d7e-947a-775ea79b4919", + "resourceGroupName": "my-resource-group", + "scopeName": "my-privatelinkscope" + }, + "responses": { + "200": { + "body": { + "value": [ + { + "id": "/subscriptions/00000000-1111-2222-3333-444444444444/resourceGroups/my-resource-group/providers/Microsoft.HybridCompute/privateLinkScopes/my-privatelinkscope/networkSecurityPerimeterConfigurations/ece2d09e-184e-4f71-beb9-346e8ab12b83.myAssociation", + "name": "ece2d09e-184e-4f71-beb9-346e8ab12b83.myAssociation", + "type": "Microsoft.HybridCompute/privateLinkScopes/networkSecurityPerimeterConfigurations", + "properties": { + "provisioningState": "Accepted", + "provisioningIssues": [], + "networkSecurityPerimeter": { + "id": "/subscriptions/55555555-6666-7777-8888-999999999999/resourceGroups/Default-Network/providers/Microsoft.Network/networkSecurityPerimeters/myPerimeter", + "perimeterGuid": "ece2d09e-184e-4f71-beb9-346e8ab12b83", + "location": "westus" + }, + "resourceAssociation": { + "name": "myAssociation", + "accessMode": "enforced" + }, + "profile": { + "name": "myProfile", + "accessRulesVersion": "1", + "accessRules": [ + { + "name": "myAccessRule", + "properties": { + "direction": "Inbound", + "addressPrefixes": [ + "148.0.0.0/8", + "152.4.6.0/24", + "..." + ] + } + } + ], + "diagnosticSettingsVersion": "1", + "enabledLogCategories": [] + } + } + }, + { + "id": "/subscriptions/00000000-1111-2222-3333-444444444444/resourceGroups/my-resource-group/providers/Microsoft.HybridCompute/privateLinkScopes/my-privatelinkscope/networkSecurityPerimeterConfigurations/37364608-77ea-4c2a-bdc3-4b0b1cdfab15.myAssociation2", + "name": "37364608-77ea-4c2a-bdc3-4b0b1cdfab15.myAssociation2", + "type": "Microsoft.HybridCompute/privateLinkScopes/networkSecurityPerimeterConfigurations", + "properties": { + "provisioningState": "Accepted", + "provisioningIssues": [], + "networkSecurityPerimeter": { + "id": "/subscriptions/55555555-6666-7777-8888-999999999999/resourceGroups/Default-Network/providers/Microsoft.Network/networkSecurityPerimeters/myOtherPerimeter", + "perimeterGuid": "37364608-77ea-4c2a-bdc3-4b0b1cdfab15", + "location": "westus" + }, + "resourceAssociation": { + "name": "myAssociation", + "accessMode": "learning" + }, + "profile": { + "name": "myProfile", + "accessRulesVersion": "1", + "accessRules": [ + { + "name": "myAccessRule", + "properties": { + "direction": "Inbound", + "addressPrefixes": [ + "122.0.0.0/8", + "144.4.6.0/24", + "..." + ] + } + } + ], + "diagnosticSettingsVersion": "1", + "enabledLogCategories": [] + } + } + } + ] + } + } + } +} diff --git a/specification/hybridcompute/resource-manager/Microsoft.HybridCompute/preview/2023-10-03-preview/examples/networkSecurityPerimeterConfiguration/NetworkSecurityPerimeterConfigurationReconcile.json b/specification/hybridcompute/resource-manager/Microsoft.HybridCompute/preview/2023-10-03-preview/examples/networkSecurityPerimeterConfiguration/NetworkSecurityPerimeterConfigurationReconcile.json new file mode 100644 index 000000000000..777c754c75f8 --- /dev/null +++ b/specification/hybridcompute/resource-manager/Microsoft.HybridCompute/preview/2023-10-03-preview/examples/networkSecurityPerimeterConfiguration/NetworkSecurityPerimeterConfigurationReconcile.json @@ -0,0 +1,18 @@ +{ + "parameters": { + "api-version": "TBD-preview", + "subscriptionId": "86dc51d3-92ed-4d7e-947a-775ea79b4919", + "resourceGroupName": "my-resource-group", + "scopeName": "my-privatelinkscope", + "perimeterName": "ece2d09e-184e-4f71-beb9-346e8ab12b83.myAssociation" + }, + "responses": { + "202": { + "headers": { + "Location": "{callbackUrl}", + "Retry-After": 200, + "Azure-AsyncOperation": "{callbackUri}" + } + } + } +} diff --git a/specification/hybridcompute/resource-manager/Microsoft.HybridCompute/preview/2023-10-03-preview/privateLinkScopes.json b/specification/hybridcompute/resource-manager/Microsoft.HybridCompute/preview/2023-10-03-preview/privateLinkScopes.json index 69a9cb20e0dc..e69de29bb2d1 100644 --- a/specification/hybridcompute/resource-manager/Microsoft.HybridCompute/preview/2023-10-03-preview/privateLinkScopes.json +++ b/specification/hybridcompute/resource-manager/Microsoft.HybridCompute/preview/2023-10-03-preview/privateLinkScopes.json @@ -1,1894 +0,0 @@ -{ - "swagger": "2.0", - "info": { - "title": "HybridComputeManagementClient", - "x-ms-code-generation-settings": { - "name": "HybridComputeManagementClient" - }, - "description": "Azure Arc( Servers and K8s Clusters) API reference for Private Link's Scopes management.", - "version": "2023-10-03-preview" - }, - "host": "management.azure.com", - "schemes": [ - "https" - ], - "consumes": [ - "application/json" - ], - "produces": [ - "application/json" - ], - "security": [ - { - "azure_auth": [ - "user_impersonation" - ] - } - ], - "securityDefinitions": { - "azure_auth": { - "type": "oauth2", - "authorizationUrl": "https://login.microsoftonline.com/common/oauth2/authorize", - "flow": "implicit", - "description": "Azure Active Directory OAuth2 Flow", - "scopes": { - "user_impersonation": "impersonate your user account" - } - } - }, - "paths": { - "/subscriptions/{subscriptionId}/providers/Microsoft.HybridCompute/privateLinkScopes": { - "get": { - "description": "Gets a list of all Azure Arc PrivateLinkScopes within a subscription.", - "operationId": "PrivateLinkScopes_List", - "parameters": [ - { - "$ref": "../../../../../common-types/resource-management/v3/types.json#/parameters/ApiVersionParameter" - }, - { - "$ref": "../../../../../common-types/resource-management/v3/types.json#/parameters/SubscriptionIdParameter" - } - ], - "responses": { - "200": { - "description": "A list containing 0 or more Azure Arc PrivateLinkScope definitions.", - "schema": { - "$ref": "#/definitions/HybridComputePrivateLinkScopeListResult" - } - }, - "default": { - "description": "Error response describing why the operation failed.", - "schema": { - "$ref": "../../../../../common-types/resource-management/v3/types.json#/definitions/ErrorResponse" - } - } - }, - "x-ms-examples": { - "PrivateLinkScopesList.json": { - "$ref": "./examples/privateLinkScope/PrivateLinkScopes_List.json" - } - }, - "x-ms-pageable": { - "nextLinkName": "nextLink" - } - } - }, - "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.HybridCompute/privateLinkScopes": { - "get": { - "description": "Gets a list of Azure Arc PrivateLinkScopes within a resource group.", - "operationId": "PrivateLinkScopes_ListByResourceGroup", - "parameters": [ - { - "$ref": "../../../../../common-types/resource-management/v3/types.json#/parameters/ResourceGroupNameParameter" - }, - { - "$ref": "../../../../../common-types/resource-management/v3/types.json#/parameters/ApiVersionParameter" - }, - { - "$ref": "../../../../../common-types/resource-management/v3/types.json#/parameters/SubscriptionIdParameter" - } - ], - "responses": { - "200": { - "description": "A list containing 0 or more Azure Arc PrivateLinkScope definitions.", - "schema": { - "$ref": "#/definitions/HybridComputePrivateLinkScopeListResult" - } - }, - "default": { - "description": "Error response describing why the operation failed.", - "schema": { - "$ref": "../../../../../common-types/resource-management/v3/types.json#/definitions/ErrorResponse" - } - } - }, - "x-ms-examples": { - "PrivateLinkScopeListByResourceGroup": { - "$ref": "./examples/privateLinkScope/PrivateLinkScopes_ListByResourceGroup.json" - } - }, - "x-ms-pageable": { - "nextLinkName": "nextLink" - } - } - }, - "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.HybridCompute/privateLinkScopes/{scopeName}": { - "delete": { - "description": "Deletes a Azure Arc PrivateLinkScope.", - "operationId": "PrivateLinkScopes_Delete", - "parameters": [ - { - "$ref": "../../../../../common-types/resource-management/v3/types.json#/parameters/ResourceGroupNameParameter" - }, - { - "$ref": "../../../../../common-types/resource-management/v3/types.json#/parameters/ApiVersionParameter" - }, - { - "$ref": "../../../../../common-types/resource-management/v3/types.json#/parameters/SubscriptionIdParameter" - }, - { - "$ref": "#/parameters/PrivateLinkScopeName" - } - ], - "responses": { - "200": { - "description": "Successful request when deleting an Azure Arc PrivateLinkScope." - }, - "202": { - "description": "Accepted.", - "headers": { - "Location": { - "description": "The URL of the resource used to check the status of the asynchronous operation.", - "type": "string" - }, - "Retry-After": { - "description": "The recommended number of seconds to wait before calling the URI specified in Azure-AsyncOperation.", - "type": "integer", - "format": "int32" - }, - "Azure-AsyncOperation": { - "description": "The URI to poll for completion status.", - "type": "string" - } - } - }, - "204": { - "description": "The specified PrivateLinkScope does not exist." - }, - "default": { - "description": "Error response describing why the operation failed.", - "schema": { - "$ref": "../../../../../common-types/resource-management/v3/types.json#/definitions/ErrorResponse" - } - } - }, - "x-ms-long-running-operation": true, - "x-ms-examples": { - "PrivateLinkScopesDelete": { - "$ref": "./examples/privateLinkScope/PrivateLinkScopes_Delete.json" - } - } - }, - "get": { - "description": "Returns a Azure Arc PrivateLinkScope.", - "operationId": "PrivateLinkScopes_Get", - "parameters": [ - { - "$ref": "../../../../../common-types/resource-management/v3/types.json#/parameters/ResourceGroupNameParameter" - }, - { - "$ref": "../../../../../common-types/resource-management/v3/types.json#/parameters/ApiVersionParameter" - }, - { - "$ref": "../../../../../common-types/resource-management/v3/types.json#/parameters/SubscriptionIdParameter" - }, - { - "$ref": "#/parameters/PrivateLinkScopeName" - } - ], - "responses": { - "200": { - "description": "Azure Arc PrivateLinkScope definition.", - "schema": { - "$ref": "#/definitions/HybridComputePrivateLinkScope" - } - }, - "default": { - "description": "Error response describing why the operation failed.", - "schema": { - "$ref": "../../../../../common-types/resource-management/v3/types.json#/definitions/ErrorResponse" - } - } - }, - "x-ms-examples": { - "PrivateLinkScopeGet": { - "$ref": "./examples/privateLinkScope/PrivateLinkScopes_Get.json" - } - } - }, - "put": { - "description": "Creates (or updates) a Azure Arc PrivateLinkScope. Note: You cannot specify a different value for InstrumentationKey nor AppId in the Put operation.", - "operationId": "PrivateLinkScopes_CreateOrUpdate", - "parameters": [ - { - "$ref": "../../../../../common-types/resource-management/v3/types.json#/parameters/ResourceGroupNameParameter" - }, - { - "$ref": "../../../../../common-types/resource-management/v3/types.json#/parameters/ApiVersionParameter" - }, - { - "$ref": "../../../../../common-types/resource-management/v3/types.json#/parameters/SubscriptionIdParameter" - }, - { - "$ref": "#/parameters/PrivateLinkScopeName" - }, - { - "name": "parameters", - "description": "Properties that need to be specified to create or update a Azure Arc for Servers and Clusters PrivateLinkScope.", - "in": "body", - "required": true, - "schema": { - "$ref": "#/definitions/HybridComputePrivateLinkScope" - } - } - ], - "responses": { - "200": { - "description": "Successful request when creating or updating a Azure Arc PrivateLinkScope. The updated PrivateLinkScope is returned.", - "schema": { - "$ref": "#/definitions/HybridComputePrivateLinkScope" - } - }, - "201": { - "description": "Successful request when creating or updating a Azure Arc PrivateLinkScope. The updated PrivateLinkScope was created and is returned.", - "schema": { - "$ref": "#/definitions/HybridComputePrivateLinkScope" - } - }, - "default": { - "description": "Error response describing why the operation failed.", - "schema": { - "$ref": "../../../../../common-types/resource-management/v3/types.json#/definitions/ErrorResponse" - } - } - }, - "x-ms-examples": { - "PrivateLinkScopeCreate": { - "$ref": "./examples/privateLinkScope/PrivateLinkScopes_Create.json" - }, - "PrivateLinkScopeUpdate": { - "$ref": "./examples/privateLinkScope/PrivateLinkScopes_Update.json" - } - } - }, - "patch": { - "description": "Updates an existing PrivateLinkScope's tags. To update other fields use the CreateOrUpdate method.", - "operationId": "PrivateLinkScopes_UpdateTags", - "parameters": [ - { - "$ref": "../../../../../common-types/resource-management/v3/types.json#/parameters/ResourceGroupNameParameter" - }, - { - "$ref": "../../../../../common-types/resource-management/v3/types.json#/parameters/ApiVersionParameter" - }, - { - "$ref": "../../../../../common-types/resource-management/v3/types.json#/parameters/SubscriptionIdParameter" - }, - { - "$ref": "#/parameters/PrivateLinkScopeName" - }, - { - "name": "PrivateLinkScopeTags", - "description": "Updated tag information to set into the PrivateLinkScope instance.", - "in": "body", - "required": true, - "schema": { - "$ref": "#/definitions/TagsResource" - } - } - ], - "responses": { - "200": { - "description": "Updating the Azure Arc PrivateLinkScope's tags was successful. PrivateLinkScope tags are updated and returned with the rest of the PrivateLinkScope's object properties.", - "schema": { - "$ref": "#/definitions/HybridComputePrivateLinkScope" - } - }, - "default": { - "description": "Error response describing why the operation failed.", - "schema": { - "$ref": "../../../../../common-types/resource-management/v3/types.json#/definitions/ErrorResponse" - } - } - }, - "x-ms-examples": { - "PrivateLinkScopeUpdateTagsOnly": { - "$ref": "./examples/privateLinkScope/PrivateLinkScopes_UpdateTagsOnly.json" - } - } - } - }, - "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.HybridCompute/privateLinkScopes/{scopeName}/privateLinkResources": { - "get": { - "tags": [ - "PrivateLinkResources" - ], - "description": "Gets the private link resources that need to be created for a Azure Monitor PrivateLinkScope.", - "operationId": "PrivateLinkResources_ListByPrivateLinkScope", - "x-ms-pageable": { - "nextLinkName": "nextLink" - }, - "parameters": [ - { - "$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/ApiVersionParameter" - }, - { - "$ref": "#/parameters/PrivateLinkScopeName" - } - ], - "responses": { - "200": { - "description": "Successfully retrieved private link resources.", - "schema": { - "$ref": "#/definitions/PrivateLinkResourceListResult" - } - }, - "default": { - "description": "Error response describing why the operation failed.", - "schema": { - "$ref": "../../../../../common-types/resource-management/v3/types.json#/definitions/ErrorResponse" - } - } - }, - "x-ms-examples": { - "Gets private endpoint connection.": { - "$ref": "./examples/privateLinkScope/PrivateLinkScopePrivateLinkResource_ListGet.json" - } - } - } - }, - "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.HybridCompute/privateLinkScopes/{scopeName}/privateLinkResources/{groupName}": { - "get": { - "tags": [ - "PrivateLinkResources" - ], - "description": "Gets the private link resources that need to be created for a Azure Monitor PrivateLinkScope.", - "operationId": "PrivateLinkResources_Get", - "parameters": [ - { - "$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/ApiVersionParameter" - }, - { - "$ref": "#/parameters/PrivateLinkScopeName" - }, - { - "$ref": "#/parameters/GroupNameParameter" - } - ], - "responses": { - "200": { - "description": "Successfully retrieved a specified private link resource.", - "schema": { - "$ref": "#/definitions/PrivateLinkResource" - } - }, - "default": { - "description": "Error response describing why the operation failed.", - "schema": { - "$ref": "../../../../../common-types/resource-management/v3/types.json#/definitions/ErrorResponse" - } - } - }, - "x-ms-examples": { - "Gets private endpoint connection.": { - "$ref": "./examples/privateLinkScope/PrivateLinkScopePrivateLinkResource_Get.json" - } - } - } - }, - "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.HybridCompute/privateLinkScopes/{scopeName}/privateEndpointConnections/{privateEndpointConnectionName}": { - "get": { - "tags": [ - "PrivateEndpointConnections" - ], - "description": "Gets a private endpoint connection.", - "operationId": "PrivateEndpointConnections_Get", - "parameters": [ - { - "$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/ApiVersionParameter" - }, - { - "$ref": "#/parameters/PrivateLinkScopeName" - }, - { - "name": "privateEndpointConnectionName", - "in": "path", - "description": "The name of the private endpoint connection.", - "required": true, - "type": "string" - } - ], - "responses": { - "200": { - "description": "Successfully retrieved a specified private endpoint connection.", - "schema": { - "$ref": "#/definitions/PrivateEndpointConnection" - } - }, - "default": { - "description": "Error response describing why the operation failed.", - "schema": { - "$ref": "../../../../../common-types/resource-management/v3/types.json#/definitions/ErrorResponse" - } - } - }, - "x-ms-examples": { - "Gets private endpoint connection.": { - "$ref": "./examples/privateEndpoint/PrivateEndpointConnection_Get.json" - } - } - }, - "put": { - "tags": [ - "PrivateEndpointConnections" - ], - "description": "Approve or reject a private endpoint connection with a given name.", - "operationId": "PrivateEndpointConnections_CreateOrUpdate", - "parameters": [ - { - "$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/ApiVersionParameter" - }, - { - "$ref": "#/parameters/PrivateLinkScopeName" - }, - { - "name": "privateEndpointConnectionName", - "in": "path", - "description": "The name of the private endpoint connection.", - "required": true, - "type": "string" - }, - { - "name": "parameters", - "in": "body", - "required": true, - "schema": { - "$ref": "#/definitions/PrivateEndpointConnection" - } - } - ], - "responses": { - "200": { - "description": "Successfully approved or rejected private endpoint connection.", - "schema": { - "$ref": "#/definitions/PrivateEndpointConnection" - } - }, - "202": { - "description": "Accepted" - }, - "default": { - "description": "Error response describing why the operation failed.", - "schema": { - "$ref": "../../../../../common-types/resource-management/v3/types.json#/definitions/ErrorResponse" - } - } - }, - "x-ms-long-running-operation": true, - "x-ms-examples": { - "Approve or reject a private endpoint connection with a given name.": { - "$ref": "./examples/privateEndpoint/PrivateEndpointConnection_Update.json" - } - } - }, - "delete": { - "tags": [ - "PrivateEndpointConnections" - ], - "description": "Deletes a private endpoint connection with a given name.", - "operationId": "PrivateEndpointConnections_Delete", - "parameters": [ - { - "$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/ApiVersionParameter" - }, - { - "$ref": "#/parameters/PrivateLinkScopeName" - }, - { - "name": "privateEndpointConnectionName", - "in": "path", - "description": "The name of the private endpoint connection.", - "required": true, - "type": "string" - } - ], - "responses": { - "200": { - "description": "Successfully deleted private endpoint connection." - }, - "202": { - "description": "Accepted", - "headers": { - "Location": { - "description": "The URL of the resource used to check the status of the asynchronous operation.", - "type": "string" - }, - "Retry-After": { - "description": "The recommended number of seconds to wait before calling the URI specified in Azure-AsyncOperation.", - "type": "integer", - "format": "int32" - }, - "Azure-AsyncOperation": { - "description": "The URI to poll for completion status.", - "type": "string" - } - } - }, - "204": { - "description": "Private endpoint connection does not exist." - }, - "default": { - "description": "Error response describing why the operation failed.", - "schema": { - "$ref": "../../../../../common-types/resource-management/v3/types.json#/definitions/ErrorResponse" - } - } - }, - "x-ms-long-running-operation": true, - "x-ms-examples": { - "Deletes a private endpoint connection with a given name.": { - "$ref": "./examples/privateEndpoint/PrivateEndpointConnection_Delete.json" - } - } - } - }, - "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.HybridCompute/privateLinkScopes/{scopeName}/privateEndpointConnections": { - "get": { - "tags": [ - "PrivateEndpointConnections" - ], - "description": "Gets all private endpoint connections on a private link scope.", - "operationId": "PrivateEndpointConnections_ListByPrivateLinkScope", - "parameters": [ - { - "$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/ApiVersionParameter" - }, - { - "$ref": "#/parameters/PrivateLinkScopeName" - } - ], - "responses": { - "200": { - "description": "Successfully retrieved private endpoint connections.", - "schema": { - "$ref": "#/definitions/PrivateEndpointConnectionListResult" - } - }, - "default": { - "description": "Error response describing why the operation failed.", - "schema": { - "$ref": "../../../../../common-types/resource-management/v3/types.json#/definitions/ErrorResponse" - } - } - }, - "x-ms-pageable": { - "nextLinkName": "nextLink" - }, - "x-ms-examples": { - "Gets list of private endpoint connections on a private link scope.": { - "$ref": "./examples/privateEndpoint/PrivateEndpointConnection_List.json" - } - } - } - }, - "/subscriptions/{subscriptionId}/providers/Microsoft.HybridCompute/locations/{location}/privateLinkScopes/{privateLinkScopeId}": { - "get": { - "description": "Returns a Azure Arc PrivateLinkScope's validation details.", - "operationId": "PrivateLinkScopes_GetValidationDetails", - "parameters": [ - { - "$ref": "#/parameters/LocationParameter" - }, - { - "$ref": "../../../../../common-types/resource-management/v3/types.json#/parameters/ApiVersionParameter" - }, - { - "$ref": "../../../../../common-types/resource-management/v3/types.json#/parameters/SubscriptionIdParameter" - }, - { - "$ref": "#/parameters/PrivateLinkScopeId" - } - ], - "responses": { - "200": { - "description": "Azure Arc PrivateLinkScope validation details definition.", - "schema": { - "$ref": "#/definitions/PrivateLinkScopeValidationDetails" - } - }, - "default": { - "description": "Error response describing why the operation failed.", - "schema": { - "$ref": "../../../../../common-types/resource-management/v3/types.json#/definitions/ErrorResponse" - } - } - }, - "x-ms-examples": { - "PrivateLinkScopeGet": { - "$ref": "./examples/privateLinkScope/PrivateLinkScopes_GetValidation.json" - } - } - } - }, - "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.HybridCompute/machines/{machineName}/privateLinkScopes/current": { - "get": { - "description": "Returns a Azure Arc PrivateLinkScope's validation details for a given machine.", - "operationId": "PrivateLinkScopes_GetValidationDetailsForMachine", - "parameters": [ - { - "$ref": "../../../../../common-types/resource-management/v3/types.json#/parameters/ApiVersionParameter" - }, - { - "$ref": "../../../../../common-types/resource-management/v3/types.json#/parameters/SubscriptionIdParameter" - }, - { - "$ref": "../../../../../common-types/resource-management/v3/types.json#/parameters/ResourceGroupNameParameter" - }, - { - "$ref": "#/parameters/MachineNameParameter" - } - ], - "responses": { - "200": { - "description": "Azure Arc PrivateLinkScope validation details definition.", - "schema": { - "$ref": "#/definitions/PrivateLinkScopeValidationDetails" - } - }, - "default": { - "description": "Error response describing why the operation failed.", - "schema": { - "$ref": "../../../../../common-types/resource-management/v3/types.json#/definitions/ErrorResponse" - } - } - }, - "x-ms-examples": { - "PrivateLinkScopeGet": { - "$ref": "./examples/privateLinkScope/PrivateLinkScopes_GetValidationForMachine.json" - } - } - } - }, - "/{resourceUri}/providers/Microsoft.HybridCompute/networkConfigurations": { - "get": { - "tags": [ - "NetworkConfigurations" - ], - "description": "Returns a NetworkConfiguration for the target resource.", - "operationId": "NetworkConfigurations_Get", - "produces": [ - "application/json" - ], - "x-ms-examples": { - "NetworkConfigurationsGet": { - "$ref": "./examples/NetworkConfigurationsGet.json" - } - }, - "parameters": [ - { - "$ref": "../../../../../common-types/resource-management/v5/types.json#/parameters/ApiVersionParameter" - }, - { - "$ref": "#/parameters/ResourceUriParameter" - } - ], - "responses": { - "200": { - "description": "Network Configuration information for the target resource.", - "schema": { - "$ref": "#/definitions/NetworkConfiguration" - } - }, - "default": { - "description": "Error response describing why the operation failed.", - "schema": { - "$ref": "../../../../../common-types/resource-management/v5/types.json#/definitions/ErrorResponse" - } - } - }, - "deprecated": false - }, - "put": { - "tags": [ - "NetworkConfigurations" - ], - "description": "Create or update the NetworkConfiguration of the target resource.", - "operationId": "NetworkConfigurations_CreateOrUpdate", - "produces": [ - "application/json" - ], - "x-ms-examples": { - "NetworkConfigurationsCreate": { - "$ref": "./examples/NetworkConfigurationsCreate.json" - }, - "NetworkConfigurationsUpdate": { - "$ref": "./examples/NetworkConfigurationsUpdate.json" - } - }, - "parameters": [ - { - "$ref": "../../../../../common-types/resource-management/v5/types.json#/parameters/ApiVersionParameter" - }, - { - "$ref": "#/parameters/ResourceUriParameter" - }, - { - "name": "parameters", - "description": "Network Configuration details", - "in": "body", - "required": true, - "schema": { - "$ref": "#/definitions/NetworkConfiguration" - } - } - ], - "responses": { - "200": { - "description": "Network Configuration information for the target resource.", - "schema": { - "$ref": "#/definitions/NetworkConfiguration" - } - }, - "default": { - "description": "Error response describing why the operation failed.", - "schema": { - "$ref": "../../../../../common-types/resource-management/v5/types.json#/definitions/ErrorResponse" - } - } - } - }, - "patch": { - "tags": [ - "NetworkConfigurations" - ], - "description": "Update the endpoint to the target resource.", - "operationId": "NetworkConfigurations_Update", - "produces": [ - "application/json" - ], - "x-ms-examples": { - "NetworkConfigurationsUpdate": { - "$ref": "./examples/NetworkConfigurationsUpdate.json" - } - }, - "parameters": [ - { - "$ref": "../../../../../common-types/resource-management/v5/types.json#/parameters/ApiVersionParameter" - }, - { - "$ref": "#/parameters/ResourceUriParameter" - }, - { - "name": "parameters", - "description": "Network Configuration details", - "in": "body", - "required": true, - "schema": { - "$ref": "#/definitions/NetworkConfiguration" - } - } - ], - "responses": { - "200": { - "description": "Network Configuration information for the target resource.", - "schema": { - "$ref": "#/definitions/NetworkConfiguration" - } - }, - "default": { - "description": "Error response describing why the operation failed.", - "schema": { - "$ref": "../../../../../common-types/resource-management/v5/types.json#/definitions/ErrorResponse" - } - } - } - } - }, - "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.HybridCompute/privateLinkScopes/{scopeName}/networkSecurityPerimeterConfigurations/{perimeterGuid}.{associationName}": { - "get": { - "tags": [ - "NetworkSecurityPerimeterConfiguration" - ], - "description": "Gets the network security perimeter configuration for a private link scope.", - "operationId": "NetworkSecurityPerimeterConfigurations_GetByPrivateLinkScope", - "parameters": [ - { - "$ref": "../../../../../common-types/resource-management/v5/types.json#/parameters/SubscriptionIdParameter" - }, - { - "$ref": "../../../../../common-types/resource-management/v5/types.json#/parameters/ResourceGroupNameParameter" - }, - { - "$ref": "../../../../../common-types/resource-management/v5/types.json#/parameters/ApiVersionParameter" - }, - { - "$ref": "#/parameters/PrivateLinkScopeName" - }, - { - "$ref": "#/parameters/PerimeterGuid" - }, - { - "$ref": "#/parameters/AssociationName" - } - ], - "responses": { - "200": { - "description": "Successfully retrieved network security perimeter configuration details.", - "schema": { - "$ref": "#/definitions/NetworkSecurityPerimeterConfiguration" - } - }, - "default": { - "description": "Error response describing why the operation failed.", - "schema": { - "$ref": "../../../../../common-types/resource-management/v5/types.json#/definitions/ErrorResponse" - } - } - }, - "x-ms-examples": { - "Gets the network security perimeter configuration of the private link scope.": { - "$ref": "./examples/NetworkSecurityPerimeterConfigurationGet.json" - } - } - } - }, - "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.HybridCompute/privateLinkScopes/{scopeName}/networkSecurityPerimeterConfigurations": { - "get": { - "tags": [ - "NetworkSecurityPerimeterConfiguration" - ], - "description": "Lists the network security perimeter configurations for a private link scope.", - "operationId": "NetworkSecurityPerimeterConfigurations_ListByPrivateLinkScope", - "parameters": [ - { - "$ref": "../../../../../common-types/resource-management/v5/types.json#/parameters/SubscriptionIdParameter" - }, - { - "$ref": "../../../../../common-types/resource-management/v5/types.json#/parameters/ResourceGroupNameParameter" - }, - { - "$ref": "../../../../../common-types/resource-management/v5/types.json#/parameters/ApiVersionParameter" - }, - { - "$ref": "#/parameters/PrivateLinkScopeName" - } - ], - "responses": { - "200": { - "description": "Successfully retrieved network security perimeter configuration details.", - "schema": { - "$ref": "#/definitions/NetworkSecurityPerimeterConfigurationListResult" - } - }, - "default": { - "description": "Error response describing why the operation failed.", - "schema": { - "$ref": "../../../../../common-types/resource-management/v5/types.json#/definitions/ErrorResponse" - } - } - }, - "x-ms-pageable": { - "nextLinkName": "nextLink" - }, - "x-ms-examples": { - "Gets the list of network security perimeter configurations of the private link scope.": { - "$ref": "./examples/NetworkSecurityPerimeterConfigurationList.json" - } - } - } - }, - "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.HybridCompute/privateLinkScopes/{scopeName}/networkSecurityPerimeterConfigurations/{perimeterGuid}.{associationName}/reconcile": { - "post": { - "tags": [ - "NetworkSecurityPerimeterConfiguration" - ], - "description": "Forces the network security perimeter configuration to refresh for a private link scope.", - "operationId": "NetworkSecurityPerimeterConfigurations_ReconcileForPrivateLinkScope", - "parameters": [ - { - "$ref": "../../../../../common-types/resource-management/v5/types.json#/parameters/SubscriptionIdParameter" - }, - { - "$ref": "../../../../../common-types/resource-management/v5/types.json#/parameters/ResourceGroupNameParameter" - }, - { - "$ref": "../../../../../common-types/resource-management/v5/types.json#/parameters/ApiVersionParameter" - }, - { - "$ref": "#/parameters/PrivateLinkScopeName" - }, - { - "$ref": "#/parameters/PerimeterGuid" - }, - { - "$ref": "#/parameters/AssociationName" - } - ], - "responses": { - "202": { - "description": "Accepted.", - "headers": { - "Location": { - "description": "The URL of the resource used to check the status of the asynchronous operation.", - "type": "string" - }, - "Retry-After": { - "description": "The recommended number of seconds to wait before calling the URI specified in Azure-AsyncOperation.", - "type": "integer", - "format": "int32" - }, - "Azure-AsyncOperation": { - "description": "The URI to poll for completion status.", - "type": "string" - } - } - }, - "default": { - "description": "Error response describing why the operation failed.", - "schema": { - "$ref": "../../../../../common-types/resource-management/v5/types.json#/definitions/ErrorResponse" - } - } - }, - "x-ms-long-running-operation": true, - "x-ms-examples": { - "Reconciles the network security perimeter configuration of the private link scope.": { - "$ref": "./examples/NetworkSecurityPerimeterConfigurationReconcile.json" - } - } - } - } - }, - "definitions": { - "NetworkConfiguration": { - "type": "object", - "properties": { - "id": { - "type": "string", - "readOnly": true, - "description": "Azure resource Id" - }, - "name": { - "type": "string", - "description": "Azure resource name", - "readOnly": true - }, - "type": { - "type": "string", - "readOnly": true, - "description": "Azure resource type" - }, - "location": { - "type": "string", - "description": "Resource location", - "x-ms-mutability": [ - "create", - "read" - ] - }, - "properties": { - "x-ms-client-flatten": true, - "$ref": "#/definitions/NetworkConfigurationProperties" - } - }, - "x-ms-azure-resource": true, - "description": "An azure resource object" - }, - "NetworkConfigurationProperties": { - "type": "object", - "description": "Network configuration properties", - "properties": { - "tenantId": { - "type": "string", - "readOnly": true, - "description": "Azure resource tenant Id" - }, - "networkConfigurationScopeId": { - "type": "string", - "description": "Associated Network Configuration Scope Id" - }, - "networkConfigurationScopeResourceId": { - "type": "string", - "description": "Associated Network Configuration Scope Resource Id" - }, - "keyProperties": { - "description": "Public key information for client authentication", - "readOnly": true, - "$ref": "#/definitions/KeyProperties" - } - }, - "required": [ - "networkConfigurationScopeResourceId" - ] - }, - "KeyProperties": { - "type": "object", - "description": "Public key information for client authentication", - "properties": { - "clientPublicKey": { - "description": "Current public key details", - "readOnly": true, - "$ref": "#/definitions/KeyDetails" - }, - "candidatePublicKey": { - "description": "Candidate public key details", - "readOnly": true, - "$ref": "#/definitions/KeyDetails" - } - } - }, - "KeyDetails": { - "type": "object", - "description": "Public key details", - "properties": { - "publicKey": { - "type": "string", - "description": "Public key", - "readOnly": true - }, - "notAfter": { - "type": "string", - "format": "date-time", - "description": "Key expiration date", - "readOnly": true - }, - "renewAfter": { - "type": "string", - "format": "date-time", - "description": "Recommended key renewal date", - "readOnly": true - } - } - }, - "NetworkSecurityPerimeterConfiguration": { - "type": "object", - "description": "Properties that define a Network Security Perimeter resource.", - "properties": { - "id": { - "type": "string", - "readOnly": true, - "description": "Azure resource Id" - }, - "name": { - "type": "string", - "description": "Azure resource name", - "readOnly": true - }, - "type": { - "type": "string", - "readOnly": true, - "description": "Azure resource type" - }, - "properties": { - "x-ms-client-flatten": true, - "description": "Properties that define a Network Security Perimeter resource.", - "$ref": "#/definitions/NetworkSecurityPerimeterConfigurationProperties" - } - }, - "x-ms-azure-resource": true - }, - "NetworkSecurityPerimeterConfigurationProperties": { - "type": "object", - "description": "Properties that define a Network Security Perimeter resource.", - "properties": { - "provisioningState": { - "type": "string", - "description": "Current state of this NetworkSecurityPerimeter: whether or not is has been provisioned within the resource group it is defined. Users cannot change this value but are able to read from it. Values will include Provisioning ,Succeeded, Canceled and Failed.", - "readOnly": true - }, - "provisioningIssues": { - "type": "array", - "description": "Provisioning issues.", - "readOnly": true, - "items": { - "$ref": "#/definitions/ProvisioningIssue" - } - }, - "networkSecurityPerimeter": { - "description": "The Network Security Perimeter associated with this configuration.", - "$ref": "#/definitions/NetworkSecurityPerimeter" - }, - "resourceAssociation": { - "description": "The Resource Association.", - "$ref": "#/definitions/ResourceAssociation" - }, - "profile": { - "description": "Network Security Perimeter profile", - "$ref": "#/definitions/NetworkSecurityPerimeterProfile" - } - } - }, - "NetworkSecurityPerimeterProfile": { - "type": "object", - "description": "Network Security Perimeter profile", - "properties": { - "name": { - "type": "string", - "description": "Name of the resource", - "readOnly": true - }, - "accessRulesVersion": { - "type": "string", - "description": "Access rules version number", - "readOnly": true - }, - "accessRules": { - "type": "array", - "description": "Collection of access rules for the profile", - "readOnly": true, - "items": { - "$ref": "#/definitions/AccessRule" - } - }, - "diagnosticSettingsVersion": { - "type": "string", - "description": "Diagnostic settings version number", - "readOnly": true - }, - "enabledLogCategories": { - "type": "array", - "description": "Collection of enabled log categories for the profile", - "readOnly": true, - "items": { - "type": "string" - } - } - } - }, - "ProvisioningIssue": { - "type": "object", - "description": "Details on issues that occurred during provisioning.", - "properties": { - "name": { - "type": "string", - "description": "Name of the provisioning issue.", - "readOnly": true - }, - "properties": { - "x-ms-client-flatten": true, - "description": "Provisioning issue properties", - "readOnly": true, - "$ref": "#/definitions/ProvisioningIssueProperties" - } - } - }, - "ProvisioningIssueProperties": { - "type": "object", - "description": "Properties of a provisioning issue.", - "properties": { - "issueType": { - "description": "Issue type", - "readOnly": true, - "$ref": "#/definitions/ProvisioningIssueType" - }, - "severity": { - "description": "Severity of the provisioning issue.", - "readOnly": true, - "$ref": "#/definitions/ProvisioningIssueSeverity" - }, - "description": { - "type": "string", - "description": "Description of the provisioning issue.", - "readOnly": true - }, - "suggestedResourceIds": { - "type": "array", - "description": "ARM Ids of the resources that can be associated to the same perimeter to remediate the issue", - "readOnly": true, - "items": { - "type": "string" - } - }, - "suggestedAccessRules": { - "type": "array", - "description": "Access rules that can be added to the perimeter to remediate the issue", - "readOnly": true, - "items": { - "$ref": "#/definitions/AccessRule" - } - } - } - }, - "ProvisioningIssueType": { - "type": "string", - "description": "Type of provisioning issue.", - "enum": [ - "MissingPerimeterConfiguration", - "MissingIdentityConfiguration", - "ConfigurationPropagationFailure", - "Other" - ], - "x-ms-enum": { - "name": "ProvisioningIssueType", - "modelAsString": true, - "values": [ - { - "value": "MissingPerimeterConfiguration", - "description": "Perimeter configuration is missing." - }, - { - "value": "MissingIdentityConfiguration", - "description": "Identity configuration is missing." - }, - { - "value": "ConfigurationPropagationFailure", - "description": "Configuration failed to propagate." - }, - { - "value": "Other", - "description": "Other failure." - } - ] - } - }, - "ProvisioningIssueSeverity": { - "type": "string", - "description": "Severity of the provisioning issue.", - "enum": [ - "Warning", - "Error" - ], - "x-ms-enum": { - "name": "ProvisioningIssueSeverity", - "modelAsString": true, - "values": [ - { - "value": "Warning", - "description": "Warnings can cause connectivity issues after provisioning succeeds." - }, - { - "value": "Error", - "description": "Errors will cause association provisioning to fail." - } - ] - } - }, - "AccessMode": { - "type": "string", - "description": "Property that impacts a resource's logging behavior and its connectivity with other resources and public networks.", - "enum": [ - "enforced", - "audit", - "learning" - ], - "x-ms-enum": { - "name": "AccessMode", - "modelAsString": true, - "values": [ - { - "value": "enforced", - "description": "Indicates that resource access is controlled by the NSP definition." - }, - { - "value": "audit", - "description": "Dry run mode, where traffic is evaluated against NSP Rules, logged but not enforced." - }, - { - "value": "learning", - "description": "Enables traffic evaluation to fall back to resource-specific firewall configurations." - } - ] - } - }, - "AccessRuleDirection": { - "type": "string", - "description": "Indicates direction of an access rule.", - "enum": [ - "Inbound", - "Outbound" - ], - "x-ms-enum": { - "name": "AccessMode", - "modelAsString": true, - "values": [ - { - "value": "Inbound", - "description": "Traffic originates outside of network." - }, - { - "value": "Outbound", - "description": "Traffic originates inside the network" - } - ] - } - }, - "AccessRule": { - "type": "object", - "description": "Access rule.", - "properties": { - "name": { - "type": "string", - "description": "Name of the access rule.", - "readOnly": true - }, - "properties": { - "x-ms-client-flatten": true, - "description": "Access rule properties", - "readOnly": true, - "$ref": "#/definitions/AccessRuleProperties" - } - } - }, - "AccessRuleProperties": { - "type": "object", - "description": "Properties of an access rule.", - "properties": { - "direction": { - "description": "Direction of the access rule.", - "readOnly": true, - "$ref": "#/definitions/AccessRuleDirection" - }, - "addressPrefixes": { - "type": "array", - "description": "Address prefixes that are allowed access.", - "readOnly": true, - "items": { - "type": "string" - } - } - } - }, - "NetworkSecurityPerimeter": { - "type": "object", - "description": "Properties that define a Network Security Perimeter resource.", - "properties": { - "id": { - "type": "string", - "readOnly": true, - "description": "Azure resource Id" - }, - "perimeterGuid": { - "type": "string", - "description": "Guid of the Network Security Perimeter", - "readOnly": true - }, - "location": { - "type": "string", - "readOnly": true, - "description": "Regional location of the perimeter" - } - } - }, - "NetworkSecurityPerimeterConfigurationListResult": { - "type": "object", - "description": "A list of network security perimeter configurations.", - "properties": { - "value": { - "description": "Array of results.", - "type": "array", - "items": { - "$ref": "#/definitions/NetworkSecurityPerimeterConfiguration" - }, - "readOnly": true - }, - "nextLink": { - "description": "Link to retrieve next page of results.", - "type": "string", - "readOnly": true - } - } - }, - "ResourceAssociation": { - "type": "object", - "description": "Properties that define a Resource Association.", - "properties": { - "name": { - "type": "string", - "readOnly": true, - "description": "Name of the Resource Association" - }, - "accessMode": { - "description": "The access mode", - "readOnly": true, - "$ref": "#/definitions/AccessMode" - } - } - }, - "PrivateLinkScopesResource": { - "type": "object", - "properties": { - "id": { - "type": "string", - "readOnly": true, - "description": "Azure resource Id" - }, - "name": { - "type": "string", - "description": "Azure resource name", - "readOnly": true - }, - "type": { - "type": "string", - "readOnly": true, - "description": "Azure resource type" - }, - "location": { - "type": "string", - "description": "Resource location", - "x-ms-mutability": [ - "create", - "read" - ] - }, - "tags": { - "type": "object", - "additionalProperties": { - "type": "string" - }, - "description": "Resource tags" - } - }, - "required": [ - "location" - ], - "x-ms-azure-resource": true, - "description": "An azure resource object" - }, - "TagsResource": { - "type": "object", - "properties": { - "tags": { - "type": "object", - "additionalProperties": { - "type": "string" - }, - "description": "Resource tags" - } - }, - "description": "A container holding only the Tags for a resource, allowing the user to update the tags on a PrivateLinkScope instance." - }, - "HybridComputePrivateLinkScope": { - "type": "object", - "properties": { - "properties": { - "description": "Properties that define a Azure Arc PrivateLinkScope resource.", - "$ref": "#/definitions/HybridComputePrivateLinkScopeProperties" - }, - "systemData": { - "readOnly": true, - "description": "The system meta data relating to this resource.", - "$ref": "../../../../../common-types/resource-management/v3/types.json#/definitions/systemData" - } - }, - "allOf": [ - { - "$ref": "#/definitions/PrivateLinkScopesResource" - } - ], - "description": "An Azure Arc PrivateLinkScope definition." - }, - "PrivateLinkScopeValidationDetails": { - "type": "object", - "properties": { - "id": { - "type": "string", - "readOnly": true, - "description": "Azure resource Id" - }, - "publicNetworkAccess": { - "description": "Indicates whether machines associated with the private link scope can also use public Azure Arc service endpoints.", - "$ref": "#/definitions/PublicNetworkAccessType" - }, - "connectionDetails": { - "type": "array", - "description": "List of Private Endpoint Connection details.", - "items": { - "$ref": "#/definitions/ConnectionDetail" - } - } - } - }, - "ConnectionDetail": { - "type": "object", - "properties": { - "id": { - "type": "string", - "readOnly": true, - "description": "Azure resource Id" - }, - "privateIpAddress": { - "type": "string", - "readOnly": true, - "description": "The private endpoint connection private ip address" - }, - "linkIdentifier": { - "type": "string", - "readOnly": true, - "description": "The private endpoint connection link identifier" - }, - "groupId": { - "type": "string", - "readOnly": true, - "description": "The private endpoint connection group id" - }, - "memberName": { - "type": "string", - "readOnly": true, - "description": "The private endpoint connection member name" - } - } - }, - "HybridComputePrivateLinkScopeProperties": { - "type": "object", - "description": "Properties that define a Azure Arc PrivateLinkScope resource.", - "properties": { - "publicNetworkAccess": { - "description": "Indicates whether machines associated with the private link scope can also use public Azure Arc service endpoints.", - "$ref": "#/definitions/PublicNetworkAccessType" - }, - "provisioningState": { - "type": "string", - "description": "Current state of this PrivateLinkScope: whether or not is has been provisioned within the resource group it is defined. Users cannot change this value but are able to read from it. Values will include Provisioning ,Succeeded, Canceled and Failed.", - "readOnly": true - }, - "privateLinkScopeId": { - "readOnly": true, - "description": "The Guid id of the private link scope.", - "type": "string" - }, - "privateEndpointConnections": { - "readOnly": true, - "description": "The collection of associated Private Endpoint Connections.", - "type": "array", - "items": { - "$ref": "#/definitions/PrivateEndpointConnectionDataModel" - } - } - } - }, - "HybridComputePrivateLinkScopeListResult": { - "type": "object", - "description": "Describes the list of Azure Arc PrivateLinkScope resources.", - "required": [ - "value" - ], - "properties": { - "value": { - "type": "array", - "description": "List of Azure Arc PrivateLinkScope definitions.", - "items": { - "$ref": "#/definitions/HybridComputePrivateLinkScope" - } - }, - "nextLink": { - "type": "string", - "description": "The URI to get the next set of Azure Arc PrivateLinkScope definitions if too many PrivateLinkScopes where returned in the result set." - } - } - }, - "PrivateLinkResourceListResult": { - "type": "object", - "description": "A list of private link resources", - "properties": { - "value": { - "description": "Array of results.", - "type": "array", - "items": { - "$ref": "#/definitions/PrivateLinkResource" - }, - "readOnly": true - }, - "nextLink": { - "description": "Link to retrieve next page of results.", - "type": "string", - "readOnly": true - } - } - }, - "PrivateLinkResource": { - "type": "object", - "description": "A private link resource", - "properties": { - "properties": { - "$ref": "#/definitions/PrivateLinkResourceProperties", - "description": "Resource properties." - }, - "systemData": { - "readOnly": true, - "description": "The system meta data relating to this resource.", - "$ref": "../../../../../common-types/resource-management/v3/types.json#/definitions/systemData" - } - }, - "allOf": [ - { - "$ref": "../../../../../common-types/resource-management/v3/types.json#/definitions/ProxyResource" - } - ] - }, - "PrivateLinkResourceProperties": { - "type": "object", - "description": "Properties of a private link resource.", - "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": { - "description": "Required DNS zone names of the the private link resource.", - "type": "array", - "items": { - "type": "string" - }, - "readOnly": true - } - } - }, - "PrivateEndpointConnectionDataModel": { - "type": "object", - "description": "The Data Model for a Private Endpoint Connection associated with a Private Link Scope", - "properties": { - "id": { - "description": "The ARM Resource Id of the Private Endpoint.", - "type": "string", - "readOnly": true - }, - "name": { - "description": "The Name of the Private Endpoint.", - "type": "string", - "readOnly": true - }, - "type": { - "type": "string", - "readOnly": true, - "description": "Azure resource type" - }, - "properties": { - "$ref": "#/definitions/PrivateEndpointConnectionProperties", - "description": "The Private Endpoint Connection properties." - } - } - }, - "PrivateEndpointConnectionProperties": { - "type": "object", - "description": "Properties of a private endpoint connection.", - "properties": { - "privateEndpoint": { - "$ref": "#/definitions/PrivateEndpointProperty", - "description": "Private endpoint which the connection belongs to." - }, - "privateLinkServiceConnectionState": { - "$ref": "#/definitions/PrivateLinkServiceConnectionStateProperty", - "description": "Connection state of the private endpoint connection." - }, - "provisioningState": { - "description": "State of the private endpoint connection.", - "type": "string", - "readOnly": true - }, - "groupIds": { - "description": "List of group IDs.", - "type": "array", - "items": { - "type": "string" - }, - "readOnly": true - } - } - }, - "PrivateEndpointProperty": { - "type": "object", - "description": "Private endpoint which the connection belongs to.", - "properties": { - "id": { - "description": "Resource id of the private endpoint.", - "type": "string" - } - } - }, - "PrivateLinkServiceConnectionStateProperty": { - "type": "object", - "description": "State of the private endpoint connection.", - "required": [ - "status", - "description" - ], - "properties": { - "status": { - "description": "The private link service connection status.", - "type": "string" - }, - "description": { - "description": "The private link service connection description.", - "type": "string" - }, - "actionsRequired": { - "description": "The actions required for private link service connection.", - "type": "string", - "readOnly": true - } - } - }, - "PrivateEndpointConnection": { - "type": "object", - "description": "A private endpoint connection", - "allOf": [ - { - "$ref": "../../../../../common-types/resource-management/v3/types.json#/definitions/ProxyResource" - } - ], - "properties": { - "properties": { - "$ref": "#/definitions/PrivateEndpointConnectionProperties", - "description": "Resource properties." - }, - "systemData": { - "readOnly": true, - "description": "The system meta data relating to this resource.", - "$ref": "../../../../../common-types/resource-management/v3/types.json#/definitions/systemData" - } - } - }, - "PrivateEndpointConnectionListResult": { - "type": "object", - "description": "A list of private endpoint connections.", - "properties": { - "value": { - "description": "Array of results.", - "type": "array", - "items": { - "$ref": "#/definitions/PrivateEndpointConnection" - }, - "readOnly": true - }, - "nextLink": { - "description": "Link to retrieve next page of results.", - "type": "string", - "readOnly": true - } - } - }, - "PublicNetworkAccessType": { - "type": "string", - "description": "The network access policy to determine if Azure Arc agents can use public Azure Arc service endpoints. Defaults to disabled (access to Azure Arc services only via private link).", - "default": "Disabled", - "enum": [ - "Enabled", - "Disabled" - ], - "x-ms-enum": { - "name": "PublicNetworkAccessType", - "modelAsString": true, - "values": [ - { - "value": "Enabled", - "description": "Allows Azure Arc agents to communicate with Azure Arc services over both public (internet) and private endpoints." - }, - { - "value": "Disabled", - "description": "Does not allow Azure Arc agents to communicate with Azure Arc services over public (internet) endpoints. The agents must use the private link." - } - ] - } - } - }, - "parameters": { - "PrivateLinkScopeName": { - "name": "scopeName", - "in": "path", - "required": true, - "type": "string", - "description": "The name of the Azure Arc PrivateLinkScope resource.", - "x-ms-parameter-location": "method" - }, - "PrivateLinkScopeId": { - "name": "privateLinkScopeId", - "in": "path", - "required": true, - "type": "string", - "description": "The id (Guid) of the Azure Arc PrivateLinkScope resource.", - "x-ms-parameter-location": "method" - }, - "GroupNameParameter": { - "name": "groupName", - "in": "path", - "description": "The name of the private link resource.", - "required": true, - "x-ms-parameter-location": "method", - "type": "string" - }, - "LocationParameter": { - "name": "location", - "in": "path", - "required": true, - "type": "string", - "x-ms-parameter-location": "method", - "description": "The location of the target resource.", - "minLength": 1 - }, - "MachineNameParameter": { - "name": "machineName", - "in": "path", - "required": true, - "type": "string", - "description": "The name of the target machine to get the private link scope validation details for.", - "minLength": 1, - "x-ms-parameter-location": "method" - }, - "ResourceUriParameter": { - "name": "resourceUri", - "in": "path", - "required": true, - "type": "string", - "description": "The fully qualified Azure Resource manager identifier of the resource to be connected.", - "x-ms-skip-url-encoding": true, - "x-ms-parameter-location": "method" - }, - "NetworkConfigurationScopeId": { - "name": "scopeId", - "in": "path", - "required": true, - "type": "string", - "description": "The id (Guid) of the Azure Arc Network Configuration Scope resource.", - "x-ms-parameter-location": "method" - }, - "PerimeterGuid": { - "name": "perimeterGuid", - "in":"path", - "required":true, - "type":"string", - "description": "The id (Guid) of the Network Security Perimeter resource." - }, - "AssociationName":{ - "name": "associationName", - "in":"path", - "required":true, - "type":"string", - "description":"The name of the resource association resource which represents an association between a private link scope and Network Security Perimeter Profile" - } - } -} From 88a847b8e00ae550ef869efe35d69ea48230463d Mon Sep 17 00:00:00 2001 From: adrielmsft Date: Tue, 10 Oct 2023 16:07:44 -0400 Subject: [PATCH 11/57] pls json changes --- .../2023-10-03-preview/privateLinkScopes.json | 1894 +++++++++++++++++ 1 file changed, 1894 insertions(+) diff --git a/specification/hybridcompute/resource-manager/Microsoft.HybridCompute/preview/2023-10-03-preview/privateLinkScopes.json b/specification/hybridcompute/resource-manager/Microsoft.HybridCompute/preview/2023-10-03-preview/privateLinkScopes.json index e69de29bb2d1..114353aa5446 100644 --- a/specification/hybridcompute/resource-manager/Microsoft.HybridCompute/preview/2023-10-03-preview/privateLinkScopes.json +++ b/specification/hybridcompute/resource-manager/Microsoft.HybridCompute/preview/2023-10-03-preview/privateLinkScopes.json @@ -0,0 +1,1894 @@ +{ + "swagger": "2.0", + "info": { + "title": "HybridComputeManagementClient", + "x-ms-code-generation-settings": { + "name": "HybridComputeManagementClient" + }, + "description": "Azure Arc( Servers and K8s Clusters) API reference for Private Link's Scopes management.", + "version": "2023-10-03-preview" + }, + "host": "management.azure.com", + "schemes": [ + "https" + ], + "consumes": [ + "application/json" + ], + "produces": [ + "application/json" + ], + "security": [ + { + "azure_auth": [ + "user_impersonation" + ] + } + ], + "securityDefinitions": { + "azure_auth": { + "type": "oauth2", + "authorizationUrl": "https://login.microsoftonline.com/common/oauth2/authorize", + "flow": "implicit", + "description": "Azure Active Directory OAuth2 Flow", + "scopes": { + "user_impersonation": "impersonate your user account" + } + } + }, + "paths": { + "/subscriptions/{subscriptionId}/providers/Microsoft.HybridCompute/privateLinkScopes": { + "get": { + "description": "Gets a list of all Azure Arc PrivateLinkScopes within a subscription.", + "operationId": "PrivateLinkScopes_List", + "parameters": [ + { + "$ref": "../../../../../common-types/resource-management/v3/types.json#/parameters/ApiVersionParameter" + }, + { + "$ref": "../../../../../common-types/resource-management/v3/types.json#/parameters/SubscriptionIdParameter" + } + ], + "responses": { + "200": { + "description": "A list containing 0 or more Azure Arc PrivateLinkScope definitions.", + "schema": { + "$ref": "#/definitions/HybridComputePrivateLinkScopeListResult" + } + }, + "default": { + "description": "Error response describing why the operation failed.", + "schema": { + "$ref": "../../../../../common-types/resource-management/v3/types.json#/definitions/ErrorResponse" + } + } + }, + "x-ms-examples": { + "PrivateLinkScopesList.json": { + "$ref": "./examples/privateLinkScope/PrivateLinkScopes_List.json" + } + }, + "x-ms-pageable": { + "nextLinkName": "nextLink" + } + } + }, + "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.HybridCompute/privateLinkScopes": { + "get": { + "description": "Gets a list of Azure Arc PrivateLinkScopes within a resource group.", + "operationId": "PrivateLinkScopes_ListByResourceGroup", + "parameters": [ + { + "$ref": "../../../../../common-types/resource-management/v3/types.json#/parameters/ResourceGroupNameParameter" + }, + { + "$ref": "../../../../../common-types/resource-management/v3/types.json#/parameters/ApiVersionParameter" + }, + { + "$ref": "../../../../../common-types/resource-management/v3/types.json#/parameters/SubscriptionIdParameter" + } + ], + "responses": { + "200": { + "description": "A list containing 0 or more Azure Arc PrivateLinkScope definitions.", + "schema": { + "$ref": "#/definitions/HybridComputePrivateLinkScopeListResult" + } + }, + "default": { + "description": "Error response describing why the operation failed.", + "schema": { + "$ref": "../../../../../common-types/resource-management/v3/types.json#/definitions/ErrorResponse" + } + } + }, + "x-ms-examples": { + "PrivateLinkScopeListByResourceGroup": { + "$ref": "./examples/privateLinkScope/PrivateLinkScopes_ListByResourceGroup.json" + } + }, + "x-ms-pageable": { + "nextLinkName": "nextLink" + } + } + }, + "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.HybridCompute/privateLinkScopes/{scopeName}": { + "delete": { + "description": "Deletes a Azure Arc PrivateLinkScope.", + "operationId": "PrivateLinkScopes_Delete", + "parameters": [ + { + "$ref": "../../../../../common-types/resource-management/v3/types.json#/parameters/ResourceGroupNameParameter" + }, + { + "$ref": "../../../../../common-types/resource-management/v3/types.json#/parameters/ApiVersionParameter" + }, + { + "$ref": "../../../../../common-types/resource-management/v3/types.json#/parameters/SubscriptionIdParameter" + }, + { + "$ref": "#/parameters/PrivateLinkScopeName" + } + ], + "responses": { + "200": { + "description": "Successful request when deleting an Azure Arc PrivateLinkScope." + }, + "202": { + "description": "Accepted.", + "headers": { + "Location": { + "description": "The URL of the resource used to check the status of the asynchronous operation.", + "type": "string" + }, + "Retry-After": { + "description": "The recommended number of seconds to wait before calling the URI specified in Azure-AsyncOperation.", + "type": "integer", + "format": "int32" + }, + "Azure-AsyncOperation": { + "description": "The URI to poll for completion status.", + "type": "string" + } + } + }, + "204": { + "description": "The specified PrivateLinkScope does not exist." + }, + "default": { + "description": "Error response describing why the operation failed.", + "schema": { + "$ref": "../../../../../common-types/resource-management/v3/types.json#/definitions/ErrorResponse" + } + } + }, + "x-ms-long-running-operation": true, + "x-ms-examples": { + "PrivateLinkScopesDelete": { + "$ref": "./examples/privateLinkScope/PrivateLinkScopes_Delete.json" + } + } + }, + "get": { + "description": "Returns a Azure Arc PrivateLinkScope.", + "operationId": "PrivateLinkScopes_Get", + "parameters": [ + { + "$ref": "../../../../../common-types/resource-management/v3/types.json#/parameters/ResourceGroupNameParameter" + }, + { + "$ref": "../../../../../common-types/resource-management/v3/types.json#/parameters/ApiVersionParameter" + }, + { + "$ref": "../../../../../common-types/resource-management/v3/types.json#/parameters/SubscriptionIdParameter" + }, + { + "$ref": "#/parameters/PrivateLinkScopeName" + } + ], + "responses": { + "200": { + "description": "Azure Arc PrivateLinkScope definition.", + "schema": { + "$ref": "#/definitions/HybridComputePrivateLinkScope" + } + }, + "default": { + "description": "Error response describing why the operation failed.", + "schema": { + "$ref": "../../../../../common-types/resource-management/v3/types.json#/definitions/ErrorResponse" + } + } + }, + "x-ms-examples": { + "PrivateLinkScopeGet": { + "$ref": "./examples/privateLinkScope/PrivateLinkScopes_Get.json" + } + } + }, + "put": { + "description": "Creates (or updates) a Azure Arc PrivateLinkScope. Note: You cannot specify a different value for InstrumentationKey nor AppId in the Put operation.", + "operationId": "PrivateLinkScopes_CreateOrUpdate", + "parameters": [ + { + "$ref": "../../../../../common-types/resource-management/v3/types.json#/parameters/ResourceGroupNameParameter" + }, + { + "$ref": "../../../../../common-types/resource-management/v3/types.json#/parameters/ApiVersionParameter" + }, + { + "$ref": "../../../../../common-types/resource-management/v3/types.json#/parameters/SubscriptionIdParameter" + }, + { + "$ref": "#/parameters/PrivateLinkScopeName" + }, + { + "name": "parameters", + "description": "Properties that need to be specified to create or update a Azure Arc for Servers and Clusters PrivateLinkScope.", + "in": "body", + "required": true, + "schema": { + "$ref": "#/definitions/HybridComputePrivateLinkScope" + } + } + ], + "responses": { + "200": { + "description": "Successful request when creating or updating a Azure Arc PrivateLinkScope. The updated PrivateLinkScope is returned.", + "schema": { + "$ref": "#/definitions/HybridComputePrivateLinkScope" + } + }, + "201": { + "description": "Successful request when creating or updating a Azure Arc PrivateLinkScope. The updated PrivateLinkScope was created and is returned.", + "schema": { + "$ref": "#/definitions/HybridComputePrivateLinkScope" + } + }, + "default": { + "description": "Error response describing why the operation failed.", + "schema": { + "$ref": "../../../../../common-types/resource-management/v3/types.json#/definitions/ErrorResponse" + } + } + }, + "x-ms-examples": { + "PrivateLinkScopeCreate": { + "$ref": "./examples/privateLinkScope/PrivateLinkScopes_Create.json" + }, + "PrivateLinkScopeUpdate": { + "$ref": "./examples/privateLinkScope/PrivateLinkScopes_Update.json" + } + } + }, + "patch": { + "description": "Updates an existing PrivateLinkScope's tags. To update other fields use the CreateOrUpdate method.", + "operationId": "PrivateLinkScopes_UpdateTags", + "parameters": [ + { + "$ref": "../../../../../common-types/resource-management/v3/types.json#/parameters/ResourceGroupNameParameter" + }, + { + "$ref": "../../../../../common-types/resource-management/v3/types.json#/parameters/ApiVersionParameter" + }, + { + "$ref": "../../../../../common-types/resource-management/v3/types.json#/parameters/SubscriptionIdParameter" + }, + { + "$ref": "#/parameters/PrivateLinkScopeName" + }, + { + "name": "PrivateLinkScopeTags", + "description": "Updated tag information to set into the PrivateLinkScope instance.", + "in": "body", + "required": true, + "schema": { + "$ref": "#/definitions/TagsResource" + } + } + ], + "responses": { + "200": { + "description": "Updating the Azure Arc PrivateLinkScope's tags was successful. PrivateLinkScope tags are updated and returned with the rest of the PrivateLinkScope's object properties.", + "schema": { + "$ref": "#/definitions/HybridComputePrivateLinkScope" + } + }, + "default": { + "description": "Error response describing why the operation failed.", + "schema": { + "$ref": "../../../../../common-types/resource-management/v3/types.json#/definitions/ErrorResponse" + } + } + }, + "x-ms-examples": { + "PrivateLinkScopeUpdateTagsOnly": { + "$ref": "./examples/privateLinkScope/PrivateLinkScopes_UpdateTagsOnly.json" + } + } + } + }, + "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.HybridCompute/privateLinkScopes/{scopeName}/privateLinkResources": { + "get": { + "tags": [ + "PrivateLinkResources" + ], + "description": "Gets the private link resources that need to be created for a Azure Monitor PrivateLinkScope.", + "operationId": "PrivateLinkResources_ListByPrivateLinkScope", + "x-ms-pageable": { + "nextLinkName": "nextLink" + }, + "parameters": [ + { + "$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/ApiVersionParameter" + }, + { + "$ref": "#/parameters/PrivateLinkScopeName" + } + ], + "responses": { + "200": { + "description": "Successfully retrieved private link resources.", + "schema": { + "$ref": "#/definitions/PrivateLinkResourceListResult" + } + }, + "default": { + "description": "Error response describing why the operation failed.", + "schema": { + "$ref": "../../../../../common-types/resource-management/v3/types.json#/definitions/ErrorResponse" + } + } + }, + "x-ms-examples": { + "Gets private endpoint connection.": { + "$ref": "./examples/privateLinkScope/PrivateLinkScopePrivateLinkResource_ListGet.json" + } + } + } + }, + "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.HybridCompute/privateLinkScopes/{scopeName}/privateLinkResources/{groupName}": { + "get": { + "tags": [ + "PrivateLinkResources" + ], + "description": "Gets the private link resources that need to be created for a Azure Monitor PrivateLinkScope.", + "operationId": "PrivateLinkResources_Get", + "parameters": [ + { + "$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/ApiVersionParameter" + }, + { + "$ref": "#/parameters/PrivateLinkScopeName" + }, + { + "$ref": "#/parameters/GroupNameParameter" + } + ], + "responses": { + "200": { + "description": "Successfully retrieved a specified private link resource.", + "schema": { + "$ref": "#/definitions/PrivateLinkResource" + } + }, + "default": { + "description": "Error response describing why the operation failed.", + "schema": { + "$ref": "../../../../../common-types/resource-management/v3/types.json#/definitions/ErrorResponse" + } + } + }, + "x-ms-examples": { + "Gets private endpoint connection.": { + "$ref": "./examples/privateLinkScope/PrivateLinkScopePrivateLinkResource_Get.json" + } + } + } + }, + "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.HybridCompute/privateLinkScopes/{scopeName}/privateEndpointConnections/{privateEndpointConnectionName}": { + "get": { + "tags": [ + "PrivateEndpointConnections" + ], + "description": "Gets a private endpoint connection.", + "operationId": "PrivateEndpointConnections_Get", + "parameters": [ + { + "$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/ApiVersionParameter" + }, + { + "$ref": "#/parameters/PrivateLinkScopeName" + }, + { + "name": "privateEndpointConnectionName", + "in": "path", + "description": "The name of the private endpoint connection.", + "required": true, + "type": "string" + } + ], + "responses": { + "200": { + "description": "Successfully retrieved a specified private endpoint connection.", + "schema": { + "$ref": "#/definitions/PrivateEndpointConnection" + } + }, + "default": { + "description": "Error response describing why the operation failed.", + "schema": { + "$ref": "../../../../../common-types/resource-management/v3/types.json#/definitions/ErrorResponse" + } + } + }, + "x-ms-examples": { + "Gets private endpoint connection.": { + "$ref": "./examples/privateEndpoint/PrivateEndpointConnection_Get.json" + } + } + }, + "put": { + "tags": [ + "PrivateEndpointConnections" + ], + "description": "Approve or reject a private endpoint connection with a given name.", + "operationId": "PrivateEndpointConnections_CreateOrUpdate", + "parameters": [ + { + "$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/ApiVersionParameter" + }, + { + "$ref": "#/parameters/PrivateLinkScopeName" + }, + { + "name": "privateEndpointConnectionName", + "in": "path", + "description": "The name of the private endpoint connection.", + "required": true, + "type": "string" + }, + { + "name": "parameters", + "in": "body", + "required": true, + "schema": { + "$ref": "#/definitions/PrivateEndpointConnection" + } + } + ], + "responses": { + "200": { + "description": "Successfully approved or rejected private endpoint connection.", + "schema": { + "$ref": "#/definitions/PrivateEndpointConnection" + } + }, + "202": { + "description": "Accepted" + }, + "default": { + "description": "Error response describing why the operation failed.", + "schema": { + "$ref": "../../../../../common-types/resource-management/v3/types.json#/definitions/ErrorResponse" + } + } + }, + "x-ms-long-running-operation": true, + "x-ms-examples": { + "Approve or reject a private endpoint connection with a given name.": { + "$ref": "./examples/privateEndpoint/PrivateEndpointConnection_Update.json" + } + } + }, + "delete": { + "tags": [ + "PrivateEndpointConnections" + ], + "description": "Deletes a private endpoint connection with a given name.", + "operationId": "PrivateEndpointConnections_Delete", + "parameters": [ + { + "$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/ApiVersionParameter" + }, + { + "$ref": "#/parameters/PrivateLinkScopeName" + }, + { + "name": "privateEndpointConnectionName", + "in": "path", + "description": "The name of the private endpoint connection.", + "required": true, + "type": "string" + } + ], + "responses": { + "200": { + "description": "Successfully deleted private endpoint connection." + }, + "202": { + "description": "Accepted", + "headers": { + "Location": { + "description": "The URL of the resource used to check the status of the asynchronous operation.", + "type": "string" + }, + "Retry-After": { + "description": "The recommended number of seconds to wait before calling the URI specified in Azure-AsyncOperation.", + "type": "integer", + "format": "int32" + }, + "Azure-AsyncOperation": { + "description": "The URI to poll for completion status.", + "type": "string" + } + } + }, + "204": { + "description": "Private endpoint connection does not exist." + }, + "default": { + "description": "Error response describing why the operation failed.", + "schema": { + "$ref": "../../../../../common-types/resource-management/v3/types.json#/definitions/ErrorResponse" + } + } + }, + "x-ms-long-running-operation": true, + "x-ms-examples": { + "Deletes a private endpoint connection with a given name.": { + "$ref": "./examples/privateEndpoint/PrivateEndpointConnection_Delete.json" + } + } + } + }, + "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.HybridCompute/privateLinkScopes/{scopeName}/privateEndpointConnections": { + "get": { + "tags": [ + "PrivateEndpointConnections" + ], + "description": "Gets all private endpoint connections on a private link scope.", + "operationId": "PrivateEndpointConnections_ListByPrivateLinkScope", + "parameters": [ + { + "$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/ApiVersionParameter" + }, + { + "$ref": "#/parameters/PrivateLinkScopeName" + } + ], + "responses": { + "200": { + "description": "Successfully retrieved private endpoint connections.", + "schema": { + "$ref": "#/definitions/PrivateEndpointConnectionListResult" + } + }, + "default": { + "description": "Error response describing why the operation failed.", + "schema": { + "$ref": "../../../../../common-types/resource-management/v3/types.json#/definitions/ErrorResponse" + } + } + }, + "x-ms-pageable": { + "nextLinkName": "nextLink" + }, + "x-ms-examples": { + "Gets list of private endpoint connections on a private link scope.": { + "$ref": "./examples/privateEndpoint/PrivateEndpointConnection_List.json" + } + } + } + }, + "/subscriptions/{subscriptionId}/providers/Microsoft.HybridCompute/locations/{location}/privateLinkScopes/{privateLinkScopeId}": { + "get": { + "description": "Returns a Azure Arc PrivateLinkScope's validation details.", + "operationId": "PrivateLinkScopes_GetValidationDetails", + "parameters": [ + { + "$ref": "#/parameters/LocationParameter" + }, + { + "$ref": "../../../../../common-types/resource-management/v3/types.json#/parameters/ApiVersionParameter" + }, + { + "$ref": "../../../../../common-types/resource-management/v3/types.json#/parameters/SubscriptionIdParameter" + }, + { + "$ref": "#/parameters/PrivateLinkScopeId" + } + ], + "responses": { + "200": { + "description": "Azure Arc PrivateLinkScope validation details definition.", + "schema": { + "$ref": "#/definitions/PrivateLinkScopeValidationDetails" + } + }, + "default": { + "description": "Error response describing why the operation failed.", + "schema": { + "$ref": "../../../../../common-types/resource-management/v3/types.json#/definitions/ErrorResponse" + } + } + }, + "x-ms-examples": { + "PrivateLinkScopeGet": { + "$ref": "./examples/privateLinkScope/PrivateLinkScopes_GetValidation.json" + } + } + } + }, + "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.HybridCompute/machines/{machineName}/privateLinkScopes/current": { + "get": { + "description": "Returns a Azure Arc PrivateLinkScope's validation details for a given machine.", + "operationId": "PrivateLinkScopes_GetValidationDetailsForMachine", + "parameters": [ + { + "$ref": "../../../../../common-types/resource-management/v3/types.json#/parameters/ApiVersionParameter" + }, + { + "$ref": "../../../../../common-types/resource-management/v3/types.json#/parameters/SubscriptionIdParameter" + }, + { + "$ref": "../../../../../common-types/resource-management/v3/types.json#/parameters/ResourceGroupNameParameter" + }, + { + "$ref": "#/parameters/MachineNameParameter" + } + ], + "responses": { + "200": { + "description": "Azure Arc PrivateLinkScope validation details definition.", + "schema": { + "$ref": "#/definitions/PrivateLinkScopeValidationDetails" + } + }, + "default": { + "description": "Error response describing why the operation failed.", + "schema": { + "$ref": "../../../../../common-types/resource-management/v3/types.json#/definitions/ErrorResponse" + } + } + }, + "x-ms-examples": { + "PrivateLinkScopeGet": { + "$ref": "./examples/privateLinkScope/PrivateLinkScopes_GetValidationForMachine.json" + } + } + } + }, + "/{resourceUri}/providers/Microsoft.HybridCompute/networkConfigurations": { + "get": { + "tags": [ + "NetworkConfigurations" + ], + "description": "Returns a NetworkConfiguration for the target resource.", + "operationId": "NetworkConfigurations_Get", + "produces": [ + "application/json" + ], + "x-ms-examples": { + "NetworkConfigurationsGet": { + "$ref": "./examples/networkConfiguration/NetworkConfigurationsGet.json" + } + }, + "parameters": [ + { + "$ref": "../../../../../common-types/resource-management/v5/types.json#/parameters/ApiVersionParameter" + }, + { + "$ref": "#/parameters/ResourceUriParameter" + } + ], + "responses": { + "200": { + "description": "Network Configuration information for the target resource.", + "schema": { + "$ref": "#/definitions/NetworkConfiguration" + } + }, + "default": { + "description": "Error response describing why the operation failed.", + "schema": { + "$ref": "../../../../../common-types/resource-management/v5/types.json#/definitions/ErrorResponse" + } + } + }, + "deprecated": false + }, + "put": { + "tags": [ + "NetworkConfigurations" + ], + "description": "Create or update the NetworkConfiguration of the target resource.", + "operationId": "NetworkConfigurations_CreateOrUpdate", + "produces": [ + "application/json" + ], + "x-ms-examples": { + "NetworkConfigurationsCreate": { + "$ref": "./examples/networkConfiguration/NetworkConfigurationsCreate.json" + }, + "NetworkConfigurationsUpdate": { + "$ref": "./examples/networkConfiguration/NetworkConfigurationsUpdate.json" + } + }, + "parameters": [ + { + "$ref": "../../../../../common-types/resource-management/v5/types.json#/parameters/ApiVersionParameter" + }, + { + "$ref": "#/parameters/ResourceUriParameter" + }, + { + "name": "parameters", + "description": "Network Configuration details", + "in": "body", + "required": true, + "schema": { + "$ref": "#/definitions/NetworkConfiguration" + } + } + ], + "responses": { + "200": { + "description": "Network Configuration information for the target resource.", + "schema": { + "$ref": "#/definitions/NetworkConfiguration" + } + }, + "default": { + "description": "Error response describing why the operation failed.", + "schema": { + "$ref": "../../../../../common-types/resource-management/v5/types.json#/definitions/ErrorResponse" + } + } + } + }, + "patch": { + "tags": [ + "NetworkConfigurations" + ], + "description": "Update the endpoint to the target resource.", + "operationId": "NetworkConfigurations_Update", + "produces": [ + "application/json" + ], + "x-ms-examples": { + "NetworkConfigurationsUpdate": { + "$ref": "./examples/networkConfiguration/NetworkConfigurationsUpdate.json" + } + }, + "parameters": [ + { + "$ref": "../../../../../common-types/resource-management/v5/types.json#/parameters/ApiVersionParameter" + }, + { + "$ref": "#/parameters/ResourceUriParameter" + }, + { + "name": "parameters", + "description": "Network Configuration details", + "in": "body", + "required": true, + "schema": { + "$ref": "#/definitions/NetworkConfiguration" + } + } + ], + "responses": { + "200": { + "description": "Network Configuration information for the target resource.", + "schema": { + "$ref": "#/definitions/NetworkConfiguration" + } + }, + "default": { + "description": "Error response describing why the operation failed.", + "schema": { + "$ref": "../../../../../common-types/resource-management/v5/types.json#/definitions/ErrorResponse" + } + } + } + } + }, + "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.HybridCompute/privateLinkScopes/{scopeName}/networkSecurityPerimeterConfigurations/{perimeterGuid}.{associationName}": { + "get": { + "tags": [ + "NetworkSecurityPerimeterConfiguration" + ], + "description": "Gets the network security perimeter configuration for a private link scope.", + "operationId": "NetworkSecurityPerimeterConfigurations_GetByPrivateLinkScope", + "parameters": [ + { + "$ref": "../../../../../common-types/resource-management/v5/types.json#/parameters/SubscriptionIdParameter" + }, + { + "$ref": "../../../../../common-types/resource-management/v5/types.json#/parameters/ResourceGroupNameParameter" + }, + { + "$ref": "../../../../../common-types/resource-management/v5/types.json#/parameters/ApiVersionParameter" + }, + { + "$ref": "#/parameters/PrivateLinkScopeName" + }, + { + "$ref": "#/parameters/PerimeterGuid" + }, + { + "$ref": "#/parameters/AssociationName" + } + ], + "responses": { + "200": { + "description": "Successfully retrieved network security perimeter configuration details.", + "schema": { + "$ref": "#/definitions/NetworkSecurityPerimeterConfiguration" + } + }, + "default": { + "description": "Error response describing why the operation failed.", + "schema": { + "$ref": "../../../../../common-types/resource-management/v5/types.json#/definitions/ErrorResponse" + } + } + }, + "x-ms-examples": { + "Gets the network security perimeter configuration of the private link scope.": { + "$ref": "./examples/networkSecurityPerimeterConfiguration/NetworkSecurityPerimeterConfigurationGet.json" + } + } + } + }, + "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.HybridCompute/privateLinkScopes/{scopeName}/networkSecurityPerimeterConfigurations": { + "get": { + "tags": [ + "NetworkSecurityPerimeterConfiguration" + ], + "description": "Lists the network security perimeter configurations for a private link scope.", + "operationId": "NetworkSecurityPerimeterConfigurations_ListByPrivateLinkScope", + "parameters": [ + { + "$ref": "../../../../../common-types/resource-management/v5/types.json#/parameters/SubscriptionIdParameter" + }, + { + "$ref": "../../../../../common-types/resource-management/v5/types.json#/parameters/ResourceGroupNameParameter" + }, + { + "$ref": "../../../../../common-types/resource-management/v5/types.json#/parameters/ApiVersionParameter" + }, + { + "$ref": "#/parameters/PrivateLinkScopeName" + } + ], + "responses": { + "200": { + "description": "Successfully retrieved network security perimeter configuration details.", + "schema": { + "$ref": "#/definitions/NetworkSecurityPerimeterConfigurationListResult" + } + }, + "default": { + "description": "Error response describing why the operation failed.", + "schema": { + "$ref": "../../../../../common-types/resource-management/v5/types.json#/definitions/ErrorResponse" + } + } + }, + "x-ms-pageable": { + "nextLinkName": "nextLink" + }, + "x-ms-examples": { + "Gets the list of network security perimeter configurations of the private link scope.": { + "$ref": "./examples/networkSecurityPerimeterConfiguration/NetworkSecurityPerimeterConfigurationList.json" + } + } + } + }, + "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.HybridCompute/privateLinkScopes/{scopeName}/networkSecurityPerimeterConfigurations/{perimeterGuid}.{associationName}/reconcile": { + "post": { + "tags": [ + "NetworkSecurityPerimeterConfiguration" + ], + "description": "Forces the network security perimeter configuration to refresh for a private link scope.", + "operationId": "NetworkSecurityPerimeterConfigurations_ReconcileForPrivateLinkScope", + "parameters": [ + { + "$ref": "../../../../../common-types/resource-management/v5/types.json#/parameters/SubscriptionIdParameter" + }, + { + "$ref": "../../../../../common-types/resource-management/v5/types.json#/parameters/ResourceGroupNameParameter" + }, + { + "$ref": "../../../../../common-types/resource-management/v5/types.json#/parameters/ApiVersionParameter" + }, + { + "$ref": "#/parameters/PrivateLinkScopeName" + }, + { + "$ref": "#/parameters/PerimeterGuid" + }, + { + "$ref": "#/parameters/AssociationName" + } + ], + "responses": { + "202": { + "description": "Accepted.", + "headers": { + "Location": { + "description": "The URL of the resource used to check the status of the asynchronous operation.", + "type": "string" + }, + "Retry-After": { + "description": "The recommended number of seconds to wait before calling the URI specified in Azure-AsyncOperation.", + "type": "integer", + "format": "int32" + }, + "Azure-AsyncOperation": { + "description": "The URI to poll for completion status.", + "type": "string" + } + } + }, + "default": { + "description": "Error response describing why the operation failed.", + "schema": { + "$ref": "../../../../../common-types/resource-management/v5/types.json#/definitions/ErrorResponse" + } + } + }, + "x-ms-long-running-operation": true, + "x-ms-examples": { + "Reconciles the network security perimeter configuration of the private link scope.": { + "$ref": "./examples/networkSecurityPerimeterConfiguration/NetworkSecurityPerimeterConfigurationReconcile.json" + } + } + } + } + }, + "definitions": { + "NetworkConfiguration": { + "type": "object", + "properties": { + "id": { + "type": "string", + "readOnly": true, + "description": "Azure resource Id" + }, + "name": { + "type": "string", + "description": "Azure resource name", + "readOnly": true + }, + "type": { + "type": "string", + "readOnly": true, + "description": "Azure resource type" + }, + "location": { + "type": "string", + "description": "Resource location", + "x-ms-mutability": [ + "create", + "read" + ] + }, + "properties": { + "x-ms-client-flatten": true, + "$ref": "#/definitions/NetworkConfigurationProperties" + } + }, + "x-ms-azure-resource": true, + "description": "An azure resource object" + }, + "NetworkConfigurationProperties": { + "type": "object", + "description": "Network configuration properties", + "properties": { + "tenantId": { + "type": "string", + "readOnly": true, + "description": "Azure resource tenant Id" + }, + "networkConfigurationScopeId": { + "type": "string", + "description": "Associated Network Configuration Scope Id" + }, + "networkConfigurationScopeResourceId": { + "type": "string", + "description": "Associated Network Configuration Scope Resource Id" + }, + "keyProperties": { + "description": "Public key information for client authentication", + "readOnly": true, + "$ref": "#/definitions/KeyProperties" + } + }, + "required": [ + "networkConfigurationScopeResourceId" + ] + }, + "KeyProperties": { + "type": "object", + "description": "Public key information for client authentication", + "properties": { + "clientPublicKey": { + "description": "Current public key details", + "readOnly": true, + "$ref": "#/definitions/KeyDetails" + }, + "candidatePublicKey": { + "description": "Candidate public key details", + "readOnly": true, + "$ref": "#/definitions/KeyDetails" + } + } + }, + "KeyDetails": { + "type": "object", + "description": "Public key details", + "properties": { + "publicKey": { + "type": "string", + "description": "Public key", + "readOnly": true + }, + "notAfter": { + "type": "string", + "format": "date-time", + "description": "Key expiration date", + "readOnly": true + }, + "renewAfter": { + "type": "string", + "format": "date-time", + "description": "Recommended key renewal date", + "readOnly": true + } + } + }, + "NetworkSecurityPerimeterConfiguration": { + "type": "object", + "description": "Properties that define a Network Security Perimeter resource.", + "properties": { + "id": { + "type": "string", + "readOnly": true, + "description": "Azure resource Id" + }, + "name": { + "type": "string", + "description": "Azure resource name", + "readOnly": true + }, + "type": { + "type": "string", + "readOnly": true, + "description": "Azure resource type" + }, + "properties": { + "x-ms-client-flatten": true, + "description": "Properties that define a Network Security Perimeter resource.", + "$ref": "#/definitions/NetworkSecurityPerimeterConfigurationProperties" + } + }, + "x-ms-azure-resource": true + }, + "NetworkSecurityPerimeterConfigurationProperties": { + "type": "object", + "description": "Properties that define a Network Security Perimeter resource.", + "properties": { + "provisioningState": { + "type": "string", + "description": "Current state of this NetworkSecurityPerimeter: whether or not is has been provisioned within the resource group it is defined. Users cannot change this value but are able to read from it. Values will include Provisioning ,Succeeded, Canceled and Failed.", + "readOnly": true + }, + "provisioningIssues": { + "type": "array", + "description": "Provisioning issues.", + "readOnly": true, + "items": { + "$ref": "#/definitions/ProvisioningIssue" + } + }, + "networkSecurityPerimeter": { + "description": "The Network Security Perimeter associated with this configuration.", + "$ref": "#/definitions/NetworkSecurityPerimeter" + }, + "resourceAssociation": { + "description": "The Resource Association.", + "$ref": "#/definitions/ResourceAssociation" + }, + "profile": { + "description": "Network Security Perimeter profile", + "$ref": "#/definitions/NetworkSecurityPerimeterProfile" + } + } + }, + "NetworkSecurityPerimeterProfile": { + "type": "object", + "description": "Network Security Perimeter profile", + "properties": { + "name": { + "type": "string", + "description": "Name of the resource", + "readOnly": true + }, + "accessRulesVersion": { + "type": "string", + "description": "Access rules version number", + "readOnly": true + }, + "accessRules": { + "type": "array", + "description": "Collection of access rules for the profile", + "readOnly": true, + "items": { + "$ref": "#/definitions/AccessRule" + } + }, + "diagnosticSettingsVersion": { + "type": "string", + "description": "Diagnostic settings version number", + "readOnly": true + }, + "enabledLogCategories": { + "type": "array", + "description": "Collection of enabled log categories for the profile", + "readOnly": true, + "items": { + "type": "string" + } + } + } + }, + "ProvisioningIssue": { + "type": "object", + "description": "Details on issues that occurred during provisioning.", + "properties": { + "name": { + "type": "string", + "description": "Name of the provisioning issue.", + "readOnly": true + }, + "properties": { + "x-ms-client-flatten": true, + "description": "Provisioning issue properties", + "readOnly": true, + "$ref": "#/definitions/ProvisioningIssueProperties" + } + } + }, + "ProvisioningIssueProperties": { + "type": "object", + "description": "Properties of a provisioning issue.", + "properties": { + "issueType": { + "description": "Issue type", + "readOnly": true, + "$ref": "#/definitions/ProvisioningIssueType" + }, + "severity": { + "description": "Severity of the provisioning issue.", + "readOnly": true, + "$ref": "#/definitions/ProvisioningIssueSeverity" + }, + "description": { + "type": "string", + "description": "Description of the provisioning issue.", + "readOnly": true + }, + "suggestedResourceIds": { + "type": "array", + "description": "ARM Ids of the resources that can be associated to the same perimeter to remediate the issue", + "readOnly": true, + "items": { + "type": "string" + } + }, + "suggestedAccessRules": { + "type": "array", + "description": "Access rules that can be added to the perimeter to remediate the issue", + "readOnly": true, + "items": { + "$ref": "#/definitions/AccessRule" + } + } + } + }, + "ProvisioningIssueType": { + "type": "string", + "description": "Type of provisioning issue.", + "enum": [ + "MissingPerimeterConfiguration", + "MissingIdentityConfiguration", + "ConfigurationPropagationFailure", + "Other" + ], + "x-ms-enum": { + "name": "ProvisioningIssueType", + "modelAsString": true, + "values": [ + { + "value": "MissingPerimeterConfiguration", + "description": "Perimeter configuration is missing." + }, + { + "value": "MissingIdentityConfiguration", + "description": "Identity configuration is missing." + }, + { + "value": "ConfigurationPropagationFailure", + "description": "Configuration failed to propagate." + }, + { + "value": "Other", + "description": "Other failure." + } + ] + } + }, + "ProvisioningIssueSeverity": { + "type": "string", + "description": "Severity of the provisioning issue.", + "enum": [ + "Warning", + "Error" + ], + "x-ms-enum": { + "name": "ProvisioningIssueSeverity", + "modelAsString": true, + "values": [ + { + "value": "Warning", + "description": "Warnings can cause connectivity issues after provisioning succeeds." + }, + { + "value": "Error", + "description": "Errors will cause association provisioning to fail." + } + ] + } + }, + "AccessMode": { + "type": "string", + "description": "Property that impacts a resource's logging behavior and its connectivity with other resources and public networks.", + "enum": [ + "enforced", + "audit", + "learning" + ], + "x-ms-enum": { + "name": "AccessMode", + "modelAsString": true, + "values": [ + { + "value": "enforced", + "description": "Indicates that resource access is controlled by the NSP definition." + }, + { + "value": "audit", + "description": "Dry run mode, where traffic is evaluated against NSP Rules, logged but not enforced." + }, + { + "value": "learning", + "description": "Enables traffic evaluation to fall back to resource-specific firewall configurations." + } + ] + } + }, + "AccessRuleDirection": { + "type": "string", + "description": "Indicates direction of an access rule.", + "enum": [ + "Inbound", + "Outbound" + ], + "x-ms-enum": { + "name": "AccessMode", + "modelAsString": true, + "values": [ + { + "value": "Inbound", + "description": "Traffic originates outside of network." + }, + { + "value": "Outbound", + "description": "Traffic originates inside the network" + } + ] + } + }, + "AccessRule": { + "type": "object", + "description": "Access rule.", + "properties": { + "name": { + "type": "string", + "description": "Name of the access rule.", + "readOnly": true + }, + "properties": { + "x-ms-client-flatten": true, + "description": "Access rule properties", + "readOnly": true, + "$ref": "#/definitions/AccessRuleProperties" + } + } + }, + "AccessRuleProperties": { + "type": "object", + "description": "Properties of an access rule.", + "properties": { + "direction": { + "description": "Direction of the access rule.", + "readOnly": true, + "$ref": "#/definitions/AccessRuleDirection" + }, + "addressPrefixes": { + "type": "array", + "description": "Address prefixes that are allowed access.", + "readOnly": true, + "items": { + "type": "string" + } + } + } + }, + "NetworkSecurityPerimeter": { + "type": "object", + "description": "Properties that define a Network Security Perimeter resource.", + "properties": { + "id": { + "type": "string", + "readOnly": true, + "description": "Azure resource Id" + }, + "perimeterGuid": { + "type": "string", + "description": "Guid of the Network Security Perimeter", + "readOnly": true + }, + "location": { + "type": "string", + "readOnly": true, + "description": "Regional location of the perimeter" + } + } + }, + "NetworkSecurityPerimeterConfigurationListResult": { + "type": "object", + "description": "A list of network security perimeter configurations.", + "properties": { + "value": { + "description": "Array of results.", + "type": "array", + "items": { + "$ref": "#/definitions/NetworkSecurityPerimeterConfiguration" + }, + "readOnly": true + }, + "nextLink": { + "description": "Link to retrieve next page of results.", + "type": "string", + "readOnly": true + } + } + }, + "ResourceAssociation": { + "type": "object", + "description": "Properties that define a Resource Association.", + "properties": { + "name": { + "type": "string", + "readOnly": true, + "description": "Name of the Resource Association" + }, + "accessMode": { + "description": "The access mode", + "readOnly": true, + "$ref": "#/definitions/AccessMode" + } + } + }, + "PrivateLinkScopesResource": { + "type": "object", + "properties": { + "id": { + "type": "string", + "readOnly": true, + "description": "Azure resource Id" + }, + "name": { + "type": "string", + "description": "Azure resource name", + "readOnly": true + }, + "type": { + "type": "string", + "readOnly": true, + "description": "Azure resource type" + }, + "location": { + "type": "string", + "description": "Resource location", + "x-ms-mutability": [ + "create", + "read" + ] + }, + "tags": { + "type": "object", + "additionalProperties": { + "type": "string" + }, + "description": "Resource tags" + } + }, + "required": [ + "location" + ], + "x-ms-azure-resource": true, + "description": "An azure resource object" + }, + "TagsResource": { + "type": "object", + "properties": { + "tags": { + "type": "object", + "additionalProperties": { + "type": "string" + }, + "description": "Resource tags" + } + }, + "description": "A container holding only the Tags for a resource, allowing the user to update the tags on a PrivateLinkScope instance." + }, + "HybridComputePrivateLinkScope": { + "type": "object", + "properties": { + "properties": { + "description": "Properties that define a Azure Arc PrivateLinkScope resource.", + "$ref": "#/definitions/HybridComputePrivateLinkScopeProperties" + }, + "systemData": { + "readOnly": true, + "description": "The system meta data relating to this resource.", + "$ref": "../../../../../common-types/resource-management/v3/types.json#/definitions/systemData" + } + }, + "allOf": [ + { + "$ref": "#/definitions/PrivateLinkScopesResource" + } + ], + "description": "An Azure Arc PrivateLinkScope definition." + }, + "PrivateLinkScopeValidationDetails": { + "type": "object", + "properties": { + "id": { + "type": "string", + "readOnly": true, + "description": "Azure resource Id" + }, + "publicNetworkAccess": { + "description": "Indicates whether machines associated with the private link scope can also use public Azure Arc service endpoints.", + "$ref": "#/definitions/PublicNetworkAccessType" + }, + "connectionDetails": { + "type": "array", + "description": "List of Private Endpoint Connection details.", + "items": { + "$ref": "#/definitions/ConnectionDetail" + } + } + } + }, + "ConnectionDetail": { + "type": "object", + "properties": { + "id": { + "type": "string", + "readOnly": true, + "description": "Azure resource Id" + }, + "privateIpAddress": { + "type": "string", + "readOnly": true, + "description": "The private endpoint connection private ip address" + }, + "linkIdentifier": { + "type": "string", + "readOnly": true, + "description": "The private endpoint connection link identifier" + }, + "groupId": { + "type": "string", + "readOnly": true, + "description": "The private endpoint connection group id" + }, + "memberName": { + "type": "string", + "readOnly": true, + "description": "The private endpoint connection member name" + } + } + }, + "HybridComputePrivateLinkScopeProperties": { + "type": "object", + "description": "Properties that define a Azure Arc PrivateLinkScope resource.", + "properties": { + "publicNetworkAccess": { + "description": "Indicates whether machines associated with the private link scope can also use public Azure Arc service endpoints.", + "$ref": "#/definitions/PublicNetworkAccessType" + }, + "provisioningState": { + "type": "string", + "description": "Current state of this PrivateLinkScope: whether or not is has been provisioned within the resource group it is defined. Users cannot change this value but are able to read from it. Values will include Provisioning ,Succeeded, Canceled and Failed.", + "readOnly": true + }, + "privateLinkScopeId": { + "readOnly": true, + "description": "The Guid id of the private link scope.", + "type": "string" + }, + "privateEndpointConnections": { + "readOnly": true, + "description": "The collection of associated Private Endpoint Connections.", + "type": "array", + "items": { + "$ref": "#/definitions/PrivateEndpointConnectionDataModel" + } + } + } + }, + "HybridComputePrivateLinkScopeListResult": { + "type": "object", + "description": "Describes the list of Azure Arc PrivateLinkScope resources.", + "required": [ + "value" + ], + "properties": { + "value": { + "type": "array", + "description": "List of Azure Arc PrivateLinkScope definitions.", + "items": { + "$ref": "#/definitions/HybridComputePrivateLinkScope" + } + }, + "nextLink": { + "type": "string", + "description": "The URI to get the next set of Azure Arc PrivateLinkScope definitions if too many PrivateLinkScopes where returned in the result set." + } + } + }, + "PrivateLinkResourceListResult": { + "type": "object", + "description": "A list of private link resources", + "properties": { + "value": { + "description": "Array of results.", + "type": "array", + "items": { + "$ref": "#/definitions/PrivateLinkResource" + }, + "readOnly": true + }, + "nextLink": { + "description": "Link to retrieve next page of results.", + "type": "string", + "readOnly": true + } + } + }, + "PrivateLinkResource": { + "type": "object", + "description": "A private link resource", + "properties": { + "properties": { + "$ref": "#/definitions/PrivateLinkResourceProperties", + "description": "Resource properties." + }, + "systemData": { + "readOnly": true, + "description": "The system meta data relating to this resource.", + "$ref": "../../../../../common-types/resource-management/v3/types.json#/definitions/systemData" + } + }, + "allOf": [ + { + "$ref": "../../../../../common-types/resource-management/v3/types.json#/definitions/ProxyResource" + } + ] + }, + "PrivateLinkResourceProperties": { + "type": "object", + "description": "Properties of a private link resource.", + "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": { + "description": "Required DNS zone names of the the private link resource.", + "type": "array", + "items": { + "type": "string" + }, + "readOnly": true + } + } + }, + "PrivateEndpointConnectionDataModel": { + "type": "object", + "description": "The Data Model for a Private Endpoint Connection associated with a Private Link Scope", + "properties": { + "id": { + "description": "The ARM Resource Id of the Private Endpoint.", + "type": "string", + "readOnly": true + }, + "name": { + "description": "The Name of the Private Endpoint.", + "type": "string", + "readOnly": true + }, + "type": { + "type": "string", + "readOnly": true, + "description": "Azure resource type" + }, + "properties": { + "$ref": "#/definitions/PrivateEndpointConnectionProperties", + "description": "The Private Endpoint Connection properties." + } + } + }, + "PrivateEndpointConnectionProperties": { + "type": "object", + "description": "Properties of a private endpoint connection.", + "properties": { + "privateEndpoint": { + "$ref": "#/definitions/PrivateEndpointProperty", + "description": "Private endpoint which the connection belongs to." + }, + "privateLinkServiceConnectionState": { + "$ref": "#/definitions/PrivateLinkServiceConnectionStateProperty", + "description": "Connection state of the private endpoint connection." + }, + "provisioningState": { + "description": "State of the private endpoint connection.", + "type": "string", + "readOnly": true + }, + "groupIds": { + "description": "List of group IDs.", + "type": "array", + "items": { + "type": "string" + }, + "readOnly": true + } + } + }, + "PrivateEndpointProperty": { + "type": "object", + "description": "Private endpoint which the connection belongs to.", + "properties": { + "id": { + "description": "Resource id of the private endpoint.", + "type": "string" + } + } + }, + "PrivateLinkServiceConnectionStateProperty": { + "type": "object", + "description": "State of the private endpoint connection.", + "required": [ + "status", + "description" + ], + "properties": { + "status": { + "description": "The private link service connection status.", + "type": "string" + }, + "description": { + "description": "The private link service connection description.", + "type": "string" + }, + "actionsRequired": { + "description": "The actions required for private link service connection.", + "type": "string", + "readOnly": true + } + } + }, + "PrivateEndpointConnection": { + "type": "object", + "description": "A private endpoint connection", + "allOf": [ + { + "$ref": "../../../../../common-types/resource-management/v3/types.json#/definitions/ProxyResource" + } + ], + "properties": { + "properties": { + "$ref": "#/definitions/PrivateEndpointConnectionProperties", + "description": "Resource properties." + }, + "systemData": { + "readOnly": true, + "description": "The system meta data relating to this resource.", + "$ref": "../../../../../common-types/resource-management/v3/types.json#/definitions/systemData" + } + } + }, + "PrivateEndpointConnectionListResult": { + "type": "object", + "description": "A list of private endpoint connections.", + "properties": { + "value": { + "description": "Array of results.", + "type": "array", + "items": { + "$ref": "#/definitions/PrivateEndpointConnection" + }, + "readOnly": true + }, + "nextLink": { + "description": "Link to retrieve next page of results.", + "type": "string", + "readOnly": true + } + } + }, + "PublicNetworkAccessType": { + "type": "string", + "description": "The network access policy to determine if Azure Arc agents can use public Azure Arc service endpoints. Defaults to disabled (access to Azure Arc services only via private link).", + "default": "Disabled", + "enum": [ + "Enabled", + "Disabled" + ], + "x-ms-enum": { + "name": "PublicNetworkAccessType", + "modelAsString": true, + "values": [ + { + "value": "Enabled", + "description": "Allows Azure Arc agents to communicate with Azure Arc services over both public (internet) and private endpoints." + }, + { + "value": "Disabled", + "description": "Does not allow Azure Arc agents to communicate with Azure Arc services over public (internet) endpoints. The agents must use the private link." + } + ] + } + } + }, + "parameters": { + "PrivateLinkScopeName": { + "name": "scopeName", + "in": "path", + "required": true, + "type": "string", + "description": "The name of the Azure Arc PrivateLinkScope resource.", + "x-ms-parameter-location": "method" + }, + "PrivateLinkScopeId": { + "name": "privateLinkScopeId", + "in": "path", + "required": true, + "type": "string", + "description": "The id (Guid) of the Azure Arc PrivateLinkScope resource.", + "x-ms-parameter-location": "method" + }, + "GroupNameParameter": { + "name": "groupName", + "in": "path", + "description": "The name of the private link resource.", + "required": true, + "x-ms-parameter-location": "method", + "type": "string" + }, + "LocationParameter": { + "name": "location", + "in": "path", + "required": true, + "type": "string", + "x-ms-parameter-location": "method", + "description": "The location of the target resource.", + "minLength": 1 + }, + "MachineNameParameter": { + "name": "machineName", + "in": "path", + "required": true, + "type": "string", + "description": "The name of the target machine to get the private link scope validation details for.", + "minLength": 1, + "x-ms-parameter-location": "method" + }, + "ResourceUriParameter": { + "name": "resourceUri", + "in": "path", + "required": true, + "type": "string", + "description": "The fully qualified Azure Resource manager identifier of the resource to be connected.", + "x-ms-skip-url-encoding": true, + "x-ms-parameter-location": "method" + }, + "NetworkConfigurationScopeId": { + "name": "scopeId", + "in": "path", + "required": true, + "type": "string", + "description": "The id (Guid) of the Azure Arc Network Configuration Scope resource.", + "x-ms-parameter-location": "method" + }, + "PerimeterGuid": { + "name": "perimeterGuid", + "in":"path", + "required":true, + "type":"string", + "description": "The id (Guid) of the Network Security Perimeter resource." + }, + "AssociationName":{ + "name": "associationName", + "in":"path", + "required":true, + "type":"string", + "description":"The name of the resource association resource which represents an association between a private link scope and Network Security Perimeter Profile" + } + } +} From 87160db0a2e2e053e90197151ec68253978c3d04 Mon Sep 17 00:00:00 2001 From: Zhe Jiao Date: Tue, 10 Oct 2023 15:13:52 -0700 Subject: [PATCH 12/57] Update machine, licenseProfile and related examples --- custom-words.txt | 2 + .../2023-10-03-preview/HybridCompute.json | 299 +++++++++++++++++- .../LicenseProfile_CreateOrUpdate.json | 50 +++ .../licenseProfile/LicenseProfile_Get.json | 18 ++ .../licenseProfile/LicenseProfile_List.json | 18 ++ .../licenseProfile/LicenseProfile_Update.json | 32 ++ .../machine/Machines_CreateOrUpdate.json | 22 ++ .../examples/machine/Machines_Get.json | 22 ++ ...chines_Get_LicenseProfileInstanceView.json | 22 ++ .../machine/Machines_ListByResourceGroup.json | 44 +++ .../machine/Machines_ListBySubscription.json | 44 +++ .../examples/machine/Machines_Update.json | 22 ++ 12 files changed, 592 insertions(+), 3 deletions(-) diff --git a/custom-words.txt b/custom-words.txt index 33a6ae129a98..8774aff17fe8 100644 --- a/custom-words.txt +++ b/custom-words.txt @@ -769,6 +769,8 @@ disablescheduling disambiguated discoverability discoverbackup +disenrolled +disenrollment diskmigrationjobs diskoperations distcp diff --git a/specification/hybridcompute/resource-manager/Microsoft.HybridCompute/preview/2023-10-03-preview/HybridCompute.json b/specification/hybridcompute/resource-manager/Microsoft.HybridCompute/preview/2023-10-03-preview/HybridCompute.json index 458e2303eadb..50c851e52526 100644 --- a/specification/hybridcompute/resource-manager/Microsoft.HybridCompute/preview/2023-10-03-preview/HybridCompute.json +++ b/specification/hybridcompute/resource-manager/Microsoft.HybridCompute/preview/2023-10-03-preview/HybridCompute.json @@ -606,7 +606,7 @@ "schema": { "$ref": "#/definitions/LicenseProfile" }, - "description": "Parameters supplied to the Create license profile operation." + "description": "Parameters supplied to the Create or Update license profile operation." } ], "responses": { @@ -2620,7 +2620,7 @@ }, "licenseProfile": { "$ref": "#/definitions/LicenseProfileMachineInstanceView", - "description": "Specifies the ESU related properties for a machine." + "description": "Specifies the License related properties for a machine." }, "provisioningState": { "readOnly": true, @@ -2715,6 +2715,15 @@ "type": "string", "description": "Specifies the Operating System product SKU." }, + "osEdition": { + "readOnly": true, + "type": "string", + "description": "The edition of the Operating System." + }, + "machineType": { + "$ref": "#/definitions/MachineType", + "description": "The machine type." + }, "domainName": { "readOnly": true, "type": "string", @@ -3096,11 +3105,37 @@ "x-ms-client-flatten": true, "type": "object", "properties": { + "softwareAssurance": { + "x-ms-client-flatten": true, + "type": "object", + "properties": { + "softwareAssuranceCustomer": { + "type": "boolean", + "description": "Specifies if this machine is licensed as part of a Software Assurance agreement." + } + } + }, "esuProfile": { "x-ms-client-flatten": true, "$ref": "#/definitions/LicenseProfileArmEsuProperties", "description": "Hybrid Compute ESU Profile properties" }, + "products": { + "x-ms-client-flatten": true, + "type": "object", + "properties": { + "windowsServerProfile": { + "x-ms-client-flatten": true, + "$ref": "#/definitions/LicenseProfileArmWindowsServerProperties", + "description": "Hybrid Compute Windows Server Profile properties" + }, + "iotEnterpriseProfile": { + "x-ms-client-flatten": true, + "$ref": "#/definitions/LicenseProfileArmIoTEnterpriseProperties", + "description": "Hybrid Compute Windows IoT Enterprise Profile properties" + } + } + }, "provisioningState": { "$ref": "#/definitions/ProvisioningState", "description": "The provisioning state, which only appears in the response." @@ -3123,10 +3158,36 @@ "x-ms-client-flatten": true, "type": "object", "properties": { + "softwareAssurance": { + "x-ms-client-flatten": true, + "type": "object", + "properties": { + "softwareAssuranceCustomer": { + "type": "boolean", + "description": "Specifies if this machine is licensed as part of a Software Assurance agreement." + } + } + }, "esuProfile": { "x-ms-client-flatten": true, "$ref": "#/definitions/EsuProfileUpdateProperties", "description": "Hybrid Compute ESU Profile Update properties" + }, + "products": { + "x-ms-client-flatten": true, + "type": "object", + "properties": { + "windowsServerProfile": { + "x-ms-client-flatten": true, + "$ref": "#/definitions/WindowsServerProfileUpdateProperties", + "description": "Hybrid Compute Windows Server Profile Update properties" + }, + "iotEnterpriseProfile": { + "x-ms-client-flatten": true, + "$ref": "#/definitions/IotEnterpriseProfileUpdateProperties", + "description": "Hybrid Compute Windows IoT Enterprise Profile Update properties" + } + } } }, "description": "Describe the Update properties of a license profile." @@ -3279,13 +3340,112 @@ "description": "The resource id of the license." } }, - "description": "Describes the Update properties of a License Profile." + "description": "Describes the Update properties of a ESU License Profile." + }, + "LicenseProfileSubscriptionStatusUpdate": { + "type": "string", + "enum": [ + "Enable", + "Disable" + ], + "x-ms-enum": { + "name": "LicenseProfileSubscriptionStatusUpdate", + "modelAsString": true + }, + "description": "Indicates the new subscription status of the Windows Server, IoT Enterprise or Product Features." + }, + "ProductFeatureUpdate": { + "type": "object", + "properties": { + "name": { + "type": "string", + "description": "Product feature name." + }, + "subscriptionStatus": { + "$ref": "#/definitions/LicenseProfileSubscriptionStatusUpdate", + "description": "Indicates the new status of the product feature." + } + }, + "description": "Product Feature" + }, + "WindowsServerProfileUpdateProperties": { + "type": "object", + "properties": { + "subscriptionStatus": { + "$ref": "#/definitions/LicenseProfileSubscriptionStatusUpdate", + "description": "Indicates the subscription status of the Windows Server." + }, + "productFeatures": { + "type": "array", + "items": { + "$ref": "#/definitions/ProductFeatureUpdate" + }, + "description": "The list of product feature updates.", + "x-ms-identifiers": [] + } + }, + "description": "Describes the Update properties of a Windows Server License Profile." + }, + "IotEnterpriseProfileUpdateProperties": { + "type": "object", + "properties": { + "subscriptionStatus": { + "$ref": "#/definitions/LicenseProfileSubscriptionStatusUpdate", + "description": "Indicates the subscription status of the Windows IoT Enterprise." + }, + "productFeatures": { + "type": "array", + "items": { + "$ref": "#/definitions/ProductFeatureUpdate" + }, + "description": "The list of product feature updates.", + "x-ms-identifiers": [] + } + }, + "description": "Describes the Update properties of a Windows IoT Enterprise License Profile." }, "LicenseProfileMachineInstanceView": { "type": "object", "properties": { + "licenseStatus": { + "$ref": "#/definitions/LicenseStatus", + "description": "Indicates the license status of the OS." + }, + "licenseChannel": { + "readOnly": true, + "type": "string", + "description": "Indicates the license channel." + }, + "softwareAssurance": { + "x-ms-client-flatten": true, + "type": "object", + "readOnly": true, + "properties": { + "softwareAssuranceCustomer": { + "type": "boolean", + "description": "Specifies if this machine is licensed as part of a Software Assurance agreement." + } + } + }, "esuProfile": { "$ref": "#/definitions/LicenseProfileMachineInstanceViewEsuProperties" + }, + "products": { + "x-ms-client-flatten": true, + "type": "object", + "readOnly": true, + "properties": { + "windowsServerProfile": { + "x-ms-client-flatten": true, + "$ref": "#/definitions/LicenseProfileArmWindowsServerProperties", + "description": "Hybrid Compute Windows Server Profile properties" + }, + "iotEnterpriseProfile": { + "x-ms-client-flatten": true, + "$ref": "#/definitions/LicenseProfileArmIoTEnterpriseProperties", + "description": "Hybrid Compute Windows IoT Enterprise Profile properties" + } + } } }, "description": "License Profile Instance View in Machine Properties." @@ -3317,6 +3477,139 @@ ], "description": "Properties for the Machine ESU profile." }, + "LicenseStatus": { + "readOnly": true, + "type": "string", + "enum": [ + "Unknown", + "Unlicensed", + "Licensed", + "OOBGrace", + "OOTGrace", + "NonGenuineGrace", + "Notification", + "ExtendedGrace" + ], + "x-ms-enum": { + "name": "LicenseStatus", + "modelAsString": true + }, + "description": "The license status." + }, + "MachineType": { + "readOnly": true, + "type": "string", + "enum": [ + "Unknown", + "VM", + "Native" + ], + "x-ms-enum": { + "name": "MachineType", + "modelAsString": true + }, + "description": "The machine type." + }, + "LicenseProfileSubscriptionStatus": { + "type": "string", + "enum": [ + "Unknown", + "Enabling", + "Enabled", + "Disabled" + ], + "x-ms-enum": { + "name": "LicenseProfileSubscriptionStatus", + "modelAsString": true + }, + "description": "Subscription status of the Windows Server or Windows IoT Enterprise or Product feature." + }, + "ProductFeature": { + "type": "object", + "properties": { + "name": { + "type": "string", + "description": "Product feature name." + }, + "subscriptionStatus": { + "$ref": "#/definitions/LicenseProfileSubscriptionStatus", + "description": "Indicates the current status of the product features." + }, + "billingStartDate": { + "type": "string", + "readOnly": true, + "format": "date-time", + "description": "The timestamp in UTC when the billing starts." + }, + "disenrollmentDate": { + "type": "string", + "readOnly": true, + "format": "date-time", + "description": "The timestamp in UTC when the user disenrolled the feature." + } + }, + "description": "Product Feature" + }, + "LicenseProfileArmWindowsServerProperties": { + "type": "object", + "properties": { + "subscriptionStatus": { + "$ref": "#/definitions/LicenseProfileSubscriptionStatus", + "description": "Indicates the subscription status of the Windows Server." + }, + "billingStartDate": { + "type": "string", + "readOnly": true, + "format": "date-time", + "description": "The timestamp in UTC when the billing starts." + }, + "disenrollmentDate": { + "type": "string", + "readOnly": true, + "format": "date-time", + "description": "The timestamp in UTC when the user disenrolled the feature." + }, + "productFeatures": { + "type": "array", + "items": { + "$ref": "#/definitions/ProductFeature" + }, + "description": "The list of product features.", + "x-ms-identifiers": [] + } + }, + "description": "Describes the properties of a Windows Server License Profile ARM model." + }, + "LicenseProfileArmIoTEnterpriseProperties": { + "type": "object", + "properties": { + "subscriptionStatus": { + "$ref": "#/definitions/LicenseProfileSubscriptionStatus", + "description": "Indicates the subscription status of the Windows IoT Enterprise." + }, + "billingStartDate": { + "type": "string", + "readOnly": true, + "format": "date-time", + "description": "The timestamp in UTC when the billing starts." + }, + "disenrollmentDate": { + "type": "string", + "readOnly": true, + "format": "date-time", + "description": "The timestamp in UTC when the user disenrolled the feature." + }, + "productFeatures": { + "type": "array", + "items": { + "$ref": "#/definitions/ProductFeature" + }, + "description": "The list of product features.", + "x-ms-identifiers": [] + } + }, + "description": "Describes the properties of a Windows IoT Enterprise License Profile ARM model." + }, "ResourceUpdate": { "type": "object", "description": "The Update Resource model definition.", diff --git a/specification/hybridcompute/resource-manager/Microsoft.HybridCompute/preview/2023-10-03-preview/examples/licenseProfile/LicenseProfile_CreateOrUpdate.json b/specification/hybridcompute/resource-manager/Microsoft.HybridCompute/preview/2023-10-03-preview/examples/licenseProfile/LicenseProfile_CreateOrUpdate.json index 009904869873..4eeb12ea4f24 100644 --- a/specification/hybridcompute/resource-manager/Microsoft.HybridCompute/preview/2023-10-03-preview/examples/licenseProfile/LicenseProfile_CreateOrUpdate.json +++ b/specification/hybridcompute/resource-manager/Microsoft.HybridCompute/preview/2023-10-03-preview/examples/licenseProfile/LicenseProfile_CreateOrUpdate.json @@ -8,8 +8,22 @@ "parameters": { "location": "eastus2euap", "properties": { + "softwareAssurance": { + "softwareAssuranceCustomer": true + }, "esuProfile": { "assignedLicense": "{LicenseResourceId}" + }, + "products": { + "windowsServerProfile": { + "subscriptionStatus": "Enabled", + "productFeatures": [ + { + "name": "HotPatching", + "subscriptionStatus": "Enabled" + } + ] + } } } } @@ -23,6 +37,9 @@ "location": "eastus2euap", "tags": null, "properties": { + "softwareAssurance": { + "softwareAssuranceCustomer": true + }, "esuProfile": { "assignedLicense": "{LicenseResourceId}", "assignedLicenseImmutableId": "{Guid}", @@ -39,6 +56,21 @@ "licenseStatus": "licenseStatus2" } ] + }, + "products": { + "windowsServerProfile": { + "subscriptionStatus": "Enabling", + "billingStartDate": "2023-10-05T20:36:49.745Z", + "disenrollmentDate": "2023-11-05T20:36:49.745Z", + "productFeatures": [ + { + "name": "HotPatching", + "subscriptionStatus": "Enabling", + "billingStartDate": "2023-10-05T20:36:49.745Z", + "disenrollmentDate": "2023-11-05T20:36:49.745Z" + } + ] + } } } } @@ -55,6 +87,9 @@ "type": "Microsoft.HybridCompute/machines/licenseProfiles", "location": "eastus2euap", "properties": { + "softwareAssurance": { + "softwareAssuranceCustomer": true + }, "esuProfile": { "assignedLicense": "{LicenseResourceId}", "esuEligibility": "Eligible", @@ -70,6 +105,21 @@ "licenseStatus": "licenseStatus2" } ] + }, + "products": { + "windowsServerProfile": { + "subscriptionStatus": "Enabling", + "billingStartDate": "2023-10-05T20:36:49.745Z", + "disenrollmentDate": "2023-11-05T20:36:49.745Z", + "productFeatures": [ + { + "name": "HotPatching", + "subscriptionStatus": "Enabling", + "billingStartDate": "2023-10-05T20:36:49.745Z", + "disenrollmentDate": "2023-11-05T20:36:49.745Z" + } + ] + } } } } diff --git a/specification/hybridcompute/resource-manager/Microsoft.HybridCompute/preview/2023-10-03-preview/examples/licenseProfile/LicenseProfile_Get.json b/specification/hybridcompute/resource-manager/Microsoft.HybridCompute/preview/2023-10-03-preview/examples/licenseProfile/LicenseProfile_Get.json index a713bb897ed5..268e9502f71e 100644 --- a/specification/hybridcompute/resource-manager/Microsoft.HybridCompute/preview/2023-10-03-preview/examples/licenseProfile/LicenseProfile_Get.json +++ b/specification/hybridcompute/resource-manager/Microsoft.HybridCompute/preview/2023-10-03-preview/examples/licenseProfile/LicenseProfile_Get.json @@ -15,6 +15,9 @@ "location": "eastus2euap", "tags": null, "properties": { + "softwareAssurance": { + "softwareAssuranceCustomer": true + }, "esuProfile": { "assignedLicense": "{LicenseResourceId}", "esuEligibility": "Eligible", @@ -30,6 +33,21 @@ "licenseStatus": "licenseStatus2" } ] + }, + "products": { + "windowsServerProfile": { + "subscriptionStatus": "Enabled", + "billingStartDate": "2023-10-05T20:36:49.745Z", + "disenrollmentDate": "2023-11-05T20:36:49.745Z", + "productFeatures": [ + { + "name": "HotPatching", + "subscriptionStatus": "Enabled", + "billingStartDate": "2023-10-05T20:36:49.745Z", + "disenrollmentDate": "2023-11-05T20:36:49.745Z" + } + ] + } } } } diff --git a/specification/hybridcompute/resource-manager/Microsoft.HybridCompute/preview/2023-10-03-preview/examples/licenseProfile/LicenseProfile_List.json b/specification/hybridcompute/resource-manager/Microsoft.HybridCompute/preview/2023-10-03-preview/examples/licenseProfile/LicenseProfile_List.json index 60e0d3ba6d5b..3f121e321eaa 100644 --- a/specification/hybridcompute/resource-manager/Microsoft.HybridCompute/preview/2023-10-03-preview/examples/licenseProfile/LicenseProfile_List.json +++ b/specification/hybridcompute/resource-manager/Microsoft.HybridCompute/preview/2023-10-03-preview/examples/licenseProfile/LicenseProfile_List.json @@ -17,6 +17,9 @@ "location": "eastus2euap", "tags": null, "properties": { + "softwareAssurance": { + "softwareAssuranceCustomer": true + }, "esuProfile": { "assignedLicense": "{LicenseResourceId}", "esuEligibility": "Eligible", @@ -32,6 +35,21 @@ "licenseStatus": "licenseStatus2" } ] + }, + "products": { + "windowsServerProfile": { + "subscriptionStatus": "Enabled", + "billingStartDate": "2023-10-05T20:36:49.745Z", + "disenrollmentDate": "2023-11-05T20:36:49.745Z", + "productFeatures": [ + { + "name": "HotPatching", + "subscriptionStatus": "Enabled", + "billingStartDate": "2023-10-05T20:36:49.745Z", + "disenrollmentDate": "2023-11-05T20:36:49.745Z" + } + ] + } } } } diff --git a/specification/hybridcompute/resource-manager/Microsoft.HybridCompute/preview/2023-10-03-preview/examples/licenseProfile/LicenseProfile_Update.json b/specification/hybridcompute/resource-manager/Microsoft.HybridCompute/preview/2023-10-03-preview/examples/licenseProfile/LicenseProfile_Update.json index a24d36aa1e95..8e4004205bfd 100644 --- a/specification/hybridcompute/resource-manager/Microsoft.HybridCompute/preview/2023-10-03-preview/examples/licenseProfile/LicenseProfile_Update.json +++ b/specification/hybridcompute/resource-manager/Microsoft.HybridCompute/preview/2023-10-03-preview/examples/licenseProfile/LicenseProfile_Update.json @@ -7,8 +7,22 @@ "api-version": "2023-10-03-preview", "parameters": { "properties": { + "softwareAssurance": { + "softwareAssuranceCustomer": true + }, "esuProfile": { "assignedLicense": "{LicenseResourceId}" + }, + "products": { + "windowsServerProfile": { + "subscriptionStatus": "Enable", + "productFeatures": [ + { + "name": "HotPatching", + "subscriptionStatus": "Enable" + } + ] + } } } } @@ -21,6 +35,9 @@ "type": "Microsoft.HybridCompute/machines/licenseProfiles", "location": "eastus2euap", "properties": { + "softwareAssurance": { + "softwareAssuranceCustomer": true + }, "esuProfile": { "assignedLicense": "{LicenseResourceId}", "esuEligibility": "Eligible", @@ -36,6 +53,21 @@ "licenseStatus": "licenseStatus2" } ] + }, + "products": { + "windowsServerProfile": { + "subscriptionStatus": "Enabling", + "billingStartDate": "2023-10-05T20:36:49.745Z", + "disenrollmentDate": "2023-11-05T20:36:49.745Z", + "productFeatures": [ + { + "name": "HotPatching", + "subscriptionStatus": "Enabling", + "billingStartDate": "2023-10-05T20:36:49.745Z", + "disenrollmentDate": "2023-11-05T20:36:49.745Z" + } + ] + } } } } diff --git a/specification/hybridcompute/resource-manager/Microsoft.HybridCompute/preview/2023-10-03-preview/examples/machine/Machines_CreateOrUpdate.json b/specification/hybridcompute/resource-manager/Microsoft.HybridCompute/preview/2023-10-03-preview/examples/machine/Machines_CreateOrUpdate.json index b8a66230510d..ab87266acd50 100644 --- a/specification/hybridcompute/resource-manager/Microsoft.HybridCompute/preview/2023-10-03-preview/examples/machine/Machines_CreateOrUpdate.json +++ b/specification/hybridcompute/resource-manager/Microsoft.HybridCompute/preview/2023-10-03-preview/examples/machine/Machines_CreateOrUpdate.json @@ -44,6 +44,8 @@ "machineFqdn": null, "vmUuid": null, "osSku": null, + "osEdition": "Standard", + "machineType": "Unknown", "domainName": null, "adFqdn": null, "dnsFqdn": null, @@ -65,6 +67,11 @@ } }, "licenseProfile": { + "licenseStatus": "Unknown", + "licenseChannel": "PSG", + "softwareAssurance": { + "softwareAssuranceCustomer": true + }, "esuProfile": { "licenseAssignmentState": "Assigned", "esuEligibility": "Ineligible", @@ -80,6 +87,21 @@ "licenseStatus": "licenseStatus2" } ] + }, + "products": { + "windowsServerProfile": { + "subscriptionStatus": "Enabled", + "billingStartDate": "2023-10-05T20:36:49.745Z", + "disenrollmentDate": "2023-11-05T20:36:49.745Z", + "productFeatures": [ + { + "name": "HotPatching", + "subscriptionStatus": "Enabled", + "billingStartDate": "2023-10-05T20:36:49.745Z", + "disenrollmentDate": "2023-11-05T20:36:49.745Z" + } + ] + } } }, "vmId": "b7a098cc-b0b8-46e8-a205-62f301a62a8f", diff --git a/specification/hybridcompute/resource-manager/Microsoft.HybridCompute/preview/2023-10-03-preview/examples/machine/Machines_Get.json b/specification/hybridcompute/resource-manager/Microsoft.HybridCompute/preview/2023-10-03-preview/examples/machine/Machines_Get.json index 9b0d5a54fb37..f603d8690e72 100644 --- a/specification/hybridcompute/resource-manager/Microsoft.HybridCompute/preview/2023-10-03-preview/examples/machine/Machines_Get.json +++ b/specification/hybridcompute/resource-manager/Microsoft.HybridCompute/preview/2023-10-03-preview/examples/machine/Machines_Get.json @@ -29,6 +29,8 @@ "machineFqdn": null, "vmUuid": null, "osSku": null, + "osEdition": "Standard", + "machineType": "Unknown", "domainName": null, "adFqdn": null, "dnsFqdn": null, @@ -50,6 +52,11 @@ } }, "licenseProfile": { + "licenseStatus": "Unknown", + "licenseChannel": "PSG", + "softwareAssurance": { + "softwareAssuranceCustomer": true + }, "esuProfile": { "licenseAssignmentState": "Assigned", "esuEligibility": "Ineligible", @@ -65,6 +72,21 @@ "licenseStatus": "licenseStatus2" } ] + }, + "products": { + "windowsServerProfile": { + "subscriptionStatus": "Enabled", + "billingStartDate": "2023-10-05T20:36:49.745Z", + "disenrollmentDate": "2023-11-05T20:36:49.745Z", + "productFeatures": [ + { + "name": "HotPatching", + "subscriptionStatus": "Enabled", + "billingStartDate": "2023-10-05T20:36:49.745Z", + "disenrollmentDate": "2023-11-05T20:36:49.745Z" + } + ] + } } }, "vmId": "b7a098cc-b0b8-46e8-a205-62f301a62a8f", diff --git a/specification/hybridcompute/resource-manager/Microsoft.HybridCompute/preview/2023-10-03-preview/examples/machine/Machines_Get_LicenseProfileInstanceView.json b/specification/hybridcompute/resource-manager/Microsoft.HybridCompute/preview/2023-10-03-preview/examples/machine/Machines_Get_LicenseProfileInstanceView.json index 9bb41b4167fe..4fd18d0e37fc 100644 --- a/specification/hybridcompute/resource-manager/Microsoft.HybridCompute/preview/2023-10-03-preview/examples/machine/Machines_Get_LicenseProfileInstanceView.json +++ b/specification/hybridcompute/resource-manager/Microsoft.HybridCompute/preview/2023-10-03-preview/examples/machine/Machines_Get_LicenseProfileInstanceView.json @@ -30,6 +30,8 @@ "machineFqdn": null, "vmUuid": null, "osSku": null, + "osEdition": "Standard", + "machineType": "Unknown", "domainName": null, "adFqdn": null, "dnsFqdn": null, @@ -51,6 +53,11 @@ } }, "licenseProfile": { + "licenseStatus": "Unknown", + "licenseChannel": "PSG", + "softwareAssurance": { + "softwareAssuranceCustomer": true + }, "esuProfile": { "assignedLicense": { "id": "/subscriptions/{subscriptionId}/resourceGroups/myResourceGroup/providers/Microsoft.HybridCompute/Licenses/{licenseName}", @@ -86,6 +93,21 @@ "licenseStatus": "licenseStatus2" } ] + }, + "products": { + "windowsServerProfile": { + "subscriptionStatus": "Enabled", + "billingStartDate": "2023-10-05T20:36:49.745Z", + "disenrollmentDate": "2023-11-05T20:36:49.745Z", + "productFeatures": [ + { + "name": "HotPatching", + "subscriptionStatus": "Enabled", + "billingStartDate": "2023-10-05T20:36:49.745Z", + "disenrollmentDate": "2023-11-05T20:36:49.745Z" + } + ] + } } }, "vmId": "b7a098cc-b0b8-46e8-a205-62f301a62a8f", diff --git a/specification/hybridcompute/resource-manager/Microsoft.HybridCompute/preview/2023-10-03-preview/examples/machine/Machines_ListByResourceGroup.json b/specification/hybridcompute/resource-manager/Microsoft.HybridCompute/preview/2023-10-03-preview/examples/machine/Machines_ListByResourceGroup.json index bc2fc2d57c0a..9ade8c8d0ff9 100644 --- a/specification/hybridcompute/resource-manager/Microsoft.HybridCompute/preview/2023-10-03-preview/examples/machine/Machines_ListByResourceGroup.json +++ b/specification/hybridcompute/resource-manager/Microsoft.HybridCompute/preview/2023-10-03-preview/examples/machine/Machines_ListByResourceGroup.json @@ -30,6 +30,8 @@ "machineFqdn": null, "vmUuid": null, "osSku": null, + "osEdition": "Standard", + "machineType": "Unknown", "domainName": null, "adFqdn": null, "dnsFqdn": null, @@ -51,6 +53,11 @@ } }, "licenseProfile": { + "licenseStatus": "Unknown", + "licenseChannel": "PSG", + "softwareAssurance": { + "softwareAssuranceCustomer": true + }, "esuProfile": { "licenseAssignmentState": "Assigned", "esuEligibility": "Ineligible", @@ -66,6 +73,21 @@ "licenseStatus": "licenseStatus2" } ] + }, + "products": { + "windowsServerProfile": { + "subscriptionStatus": "Enabled", + "billingStartDate": "2023-10-05T20:36:49.745Z", + "disenrollmentDate": "2023-11-05T20:36:49.745Z", + "productFeatures": [ + { + "name": "HotPatching", + "subscriptionStatus": "Enabled", + "billingStartDate": "2023-10-05T20:36:49.745Z", + "disenrollmentDate": "2023-11-05T20:36:49.745Z" + } + ] + } } }, "vmId": "b7a098cc-b0b8-46e8-a205-62f301a62a8f", @@ -119,6 +141,8 @@ "errorDetails": null, "displayName": null, "machineFqdn": null, + "osEdition": "Standard", + "machineType": "Unknown", "osVersion": null, "osType": null, "osProfile": { @@ -137,6 +161,11 @@ } }, "licenseProfile": { + "licenseStatus": "Unknown", + "licenseChannel": "PSG", + "softwareAssurance": { + "softwareAssuranceCustomer": true + }, "esuProfile": { "licenseAssignmentState": "Assigned", "esuEligibility": "Ineligible", @@ -152,6 +181,21 @@ "licenseStatus": "licenseStatus2" } ] + }, + "products": { + "windowsServerProfile": { + "subscriptionStatus": "Enabled", + "billingStartDate": "2023-10-05T20:36:49.745Z", + "disenrollmentDate": "2023-11-05T20:36:49.745Z", + "productFeatures": [ + { + "name": "HotPatching", + "subscriptionStatus": "Enabled", + "billingStartDate": "2023-10-05T20:36:49.745Z", + "disenrollmentDate": "2023-11-05T20:36:49.745Z" + } + ] + } } }, "vmId": "a4a098cc-b0b8-46e8-a205-62f301a62a8f", diff --git a/specification/hybridcompute/resource-manager/Microsoft.HybridCompute/preview/2023-10-03-preview/examples/machine/Machines_ListBySubscription.json b/specification/hybridcompute/resource-manager/Microsoft.HybridCompute/preview/2023-10-03-preview/examples/machine/Machines_ListBySubscription.json index 7e3e53e87ab4..11cb851d2e22 100644 --- a/specification/hybridcompute/resource-manager/Microsoft.HybridCompute/preview/2023-10-03-preview/examples/machine/Machines_ListBySubscription.json +++ b/specification/hybridcompute/resource-manager/Microsoft.HybridCompute/preview/2023-10-03-preview/examples/machine/Machines_ListBySubscription.json @@ -29,6 +29,8 @@ "machineFqdn": null, "vmUuid": null, "osSku": null, + "osEdition": "Standard", + "machineType": "Unknown", "domainName": null, "adFqdn": null, "dnsFqdn": null, @@ -50,6 +52,11 @@ } }, "licenseProfile": { + "licenseStatus": "Unknown", + "licenseChannel": "PSG", + "softwareAssurance": { + "softwareAssuranceCustomer": true + }, "esuProfile": { "licenseAssignmentState": "Assigned", "esuEligibility": "Ineligible", @@ -65,6 +72,21 @@ "licenseStatus": "licenseStatus2" } ] + }, + "products": { + "windowsServerProfile": { + "subscriptionStatus": "Enabled", + "billingStartDate": "2023-10-05T20:36:49.745Z", + "disenrollmentDate": "2023-11-05T20:36:49.745Z", + "productFeatures": [ + { + "name": "HotPatching", + "subscriptionStatus": "Enabled", + "billingStartDate": "2023-10-05T20:36:49.745Z", + "disenrollmentDate": "2023-11-05T20:36:49.745Z" + } + ] + } } }, "vmId": "b7a098cc-b0b8-46e8-a205-62f301a62a8f", @@ -118,6 +140,8 @@ "errorDetails": null, "displayName": null, "machineFqdn": null, + "osEdition": "Standard", + "machineType": "Unknown", "osVersion": null, "osType": null, "osProfile": { @@ -136,6 +160,11 @@ } }, "licenseProfile": { + "licenseStatus": "Unknown", + "licenseChannel": "PSG", + "softwareAssurance": { + "softwareAssuranceCustomer": true + }, "esuProfile": { "licenseAssignmentState": "Assigned", "esuEligibility": "Ineligible", @@ -151,6 +180,21 @@ "licenseStatus": "licenseStatus2" } ] + }, + "products": { + "windowsServerProfile": { + "subscriptionStatus": "Enabled", + "billingStartDate": "2023-10-05T20:36:49.745Z", + "disenrollmentDate": "2023-11-05T20:36:49.745Z", + "productFeatures": [ + { + "name": "HotPatching", + "subscriptionStatus": "Enabled", + "billingStartDate": "2023-10-05T20:36:49.745Z", + "disenrollmentDate": "2023-11-05T20:36:49.745Z" + } + ] + } } }, "vmId": "a4a098cc-b0b8-46e8-a205-62f301a62a8f", diff --git a/specification/hybridcompute/resource-manager/Microsoft.HybridCompute/preview/2023-10-03-preview/examples/machine/Machines_Update.json b/specification/hybridcompute/resource-manager/Microsoft.HybridCompute/preview/2023-10-03-preview/examples/machine/Machines_Update.json index f62f79ab3540..e25b51050aff 100644 --- a/specification/hybridcompute/resource-manager/Microsoft.HybridCompute/preview/2023-10-03-preview/examples/machine/Machines_Update.json +++ b/specification/hybridcompute/resource-manager/Microsoft.HybridCompute/preview/2023-10-03-preview/examples/machine/Machines_Update.json @@ -57,6 +57,8 @@ "machineFqdn": null, "vmUuid": null, "osSku": null, + "osEdition": "Standard", + "machineType": "Unknown", "domainName": null, "adFqdn": null, "dnsFqdn": null, @@ -78,6 +80,11 @@ } }, "licenseProfile": { + "licenseStatus": "Unknown", + "licenseChannel": "PSG", + "softwareAssurance": { + "softwareAssuranceCustomer": true + }, "esuProfile": { "licenseAssignmentState": "Assigned", "esuEligibility": "Ineligible", @@ -93,6 +100,21 @@ "licenseStatus": "licenseStatus2" } ] + }, + "products": { + "windowsServerProfile": { + "subscriptionStatus": "Enabled", + "billingStartDate": "2023-10-05T20:36:49.745Z", + "disenrollmentDate": "2023-11-05T20:36:49.745Z", + "productFeatures": [ + { + "name": "HotPatching", + "subscriptionStatus": "Enabled", + "billingStartDate": "2023-10-05T20:36:49.745Z", + "disenrollmentDate": "2023-11-05T20:36:49.745Z" + } + ] + } } }, "vmId": "b7a098cc-b0b8-46e8-a205-62f301a62a8f", From 01b6c3d3634678ad8e1293d629d203c372a077cf Mon Sep 17 00:00:00 2001 From: Zhe Jiao Date: Tue, 10 Oct 2023 15:20:28 -0700 Subject: [PATCH 13/57] Prettier fix --- .../2023-10-03-preview/privateLinkScopes.json | 524 +++++++++--------- 1 file changed, 262 insertions(+), 262 deletions(-) diff --git a/specification/hybridcompute/resource-manager/Microsoft.HybridCompute/preview/2023-10-03-preview/privateLinkScopes.json b/specification/hybridcompute/resource-manager/Microsoft.HybridCompute/preview/2023-10-03-preview/privateLinkScopes.json index 114353aa5446..aceeb2314c9b 100644 --- a/specification/hybridcompute/resource-manager/Microsoft.HybridCompute/preview/2023-10-03-preview/privateLinkScopes.json +++ b/specification/hybridcompute/resource-manager/Microsoft.HybridCompute/preview/2023-10-03-preview/privateLinkScopes.json @@ -694,292 +694,292 @@ } } } - }, - "/{resourceUri}/providers/Microsoft.HybridCompute/networkConfigurations": { - "get": { - "tags": [ - "NetworkConfigurations" - ], - "description": "Returns a NetworkConfiguration for the target resource.", - "operationId": "NetworkConfigurations_Get", - "produces": [ - "application/json" - ], - "x-ms-examples": { - "NetworkConfigurationsGet": { - "$ref": "./examples/networkConfiguration/NetworkConfigurationsGet.json" - } - }, - "parameters": [ - { - "$ref": "../../../../../common-types/resource-management/v5/types.json#/parameters/ApiVersionParameter" - }, - { - "$ref": "#/parameters/ResourceUriParameter" - } - ], - "responses": { - "200": { - "description": "Network Configuration information for the target resource.", - "schema": { - "$ref": "#/definitions/NetworkConfiguration" + }, + "/{resourceUri}/providers/Microsoft.HybridCompute/networkConfigurations": { + "get": { + "tags": [ + "NetworkConfigurations" + ], + "description": "Returns a NetworkConfiguration for the target resource.", + "operationId": "NetworkConfigurations_Get", + "produces": [ + "application/json" + ], + "x-ms-examples": { + "NetworkConfigurationsGet": { + "$ref": "./examples/networkConfiguration/NetworkConfigurationsGet.json" } }, - "default": { - "description": "Error response describing why the operation failed.", - "schema": { - "$ref": "../../../../../common-types/resource-management/v5/types.json#/definitions/ErrorResponse" + "parameters": [ + { + "$ref": "../../../../../common-types/resource-management/v5/types.json#/parameters/ApiVersionParameter" + }, + { + "$ref": "#/parameters/ResourceUriParameter" + } + ], + "responses": { + "200": { + "description": "Network Configuration information for the target resource.", + "schema": { + "$ref": "#/definitions/NetworkConfiguration" + } + }, + "default": { + "description": "Error response describing why the operation failed.", + "schema": { + "$ref": "../../../../../common-types/resource-management/v5/types.json#/definitions/ErrorResponse" + } } - } - }, - "deprecated": false - }, - "put": { - "tags": [ - "NetworkConfigurations" - ], - "description": "Create or update the NetworkConfiguration of the target resource.", - "operationId": "NetworkConfigurations_CreateOrUpdate", - "produces": [ - "application/json" - ], - "x-ms-examples": { - "NetworkConfigurationsCreate": { - "$ref": "./examples/networkConfiguration/NetworkConfigurationsCreate.json" }, - "NetworkConfigurationsUpdate": { - "$ref": "./examples/networkConfiguration/NetworkConfigurationsUpdate.json" - } + "deprecated": false }, - "parameters": [ - { - "$ref": "../../../../../common-types/resource-management/v5/types.json#/parameters/ApiVersionParameter" - }, - { - "$ref": "#/parameters/ResourceUriParameter" + "put": { + "tags": [ + "NetworkConfigurations" + ], + "description": "Create or update the NetworkConfiguration of the target resource.", + "operationId": "NetworkConfigurations_CreateOrUpdate", + "produces": [ + "application/json" + ], + "x-ms-examples": { + "NetworkConfigurationsCreate": { + "$ref": "./examples/networkConfiguration/NetworkConfigurationsCreate.json" + }, + "NetworkConfigurationsUpdate": { + "$ref": "./examples/networkConfiguration/NetworkConfigurationsUpdate.json" + } }, - { - "name": "parameters", - "description": "Network Configuration details", - "in": "body", - "required": true, - "schema": { - "$ref": "#/definitions/NetworkConfiguration" + "parameters": [ + { + "$ref": "../../../../../common-types/resource-management/v5/types.json#/parameters/ApiVersionParameter" + }, + { + "$ref": "#/parameters/ResourceUriParameter" + }, + { + "name": "parameters", + "description": "Network Configuration details", + "in": "body", + "required": true, + "schema": { + "$ref": "#/definitions/NetworkConfiguration" + } + } + ], + "responses": { + "200": { + "description": "Network Configuration information for the target resource.", + "schema": { + "$ref": "#/definitions/NetworkConfiguration" + } + }, + "default": { + "description": "Error response describing why the operation failed.", + "schema": { + "$ref": "../../../../../common-types/resource-management/v5/types.json#/definitions/ErrorResponse" + } } } - ], - "responses": { - "200": { - "description": "Network Configuration information for the target resource.", - "schema": { - "$ref": "#/definitions/NetworkConfiguration" + }, + "patch": { + "tags": [ + "NetworkConfigurations" + ], + "description": "Update the endpoint to the target resource.", + "operationId": "NetworkConfigurations_Update", + "produces": [ + "application/json" + ], + "x-ms-examples": { + "NetworkConfigurationsUpdate": { + "$ref": "./examples/networkConfiguration/NetworkConfigurationsUpdate.json" } }, - "default": { - "description": "Error response describing why the operation failed.", - "schema": { - "$ref": "../../../../../common-types/resource-management/v5/types.json#/definitions/ErrorResponse" + "parameters": [ + { + "$ref": "../../../../../common-types/resource-management/v5/types.json#/parameters/ApiVersionParameter" + }, + { + "$ref": "#/parameters/ResourceUriParameter" + }, + { + "name": "parameters", + "description": "Network Configuration details", + "in": "body", + "required": true, + "schema": { + "$ref": "#/definitions/NetworkConfiguration" + } + } + ], + "responses": { + "200": { + "description": "Network Configuration information for the target resource.", + "schema": { + "$ref": "#/definitions/NetworkConfiguration" + } + }, + "default": { + "description": "Error response describing why the operation failed.", + "schema": { + "$ref": "../../../../../common-types/resource-management/v5/types.json#/definitions/ErrorResponse" + } } } } }, - "patch": { - "tags": [ - "NetworkConfigurations" - ], - "description": "Update the endpoint to the target resource.", - "operationId": "NetworkConfigurations_Update", - "produces": [ - "application/json" - ], - "x-ms-examples": { - "NetworkConfigurationsUpdate": { - "$ref": "./examples/networkConfiguration/NetworkConfigurationsUpdate.json" - } - }, - "parameters": [ - { - "$ref": "../../../../../common-types/resource-management/v5/types.json#/parameters/ApiVersionParameter" - }, - { - "$ref": "#/parameters/ResourceUriParameter" - }, - { - "name": "parameters", - "description": "Network Configuration details", - "in": "body", - "required": true, - "schema": { - "$ref": "#/definitions/NetworkConfiguration" + "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.HybridCompute/privateLinkScopes/{scopeName}/networkSecurityPerimeterConfigurations/{perimeterGuid}.{associationName}": { + "get": { + "tags": [ + "NetworkSecurityPerimeterConfiguration" + ], + "description": "Gets the network security perimeter configuration for a private link scope.", + "operationId": "NetworkSecurityPerimeterConfigurations_GetByPrivateLinkScope", + "parameters": [ + { + "$ref": "../../../../../common-types/resource-management/v5/types.json#/parameters/SubscriptionIdParameter" + }, + { + "$ref": "../../../../../common-types/resource-management/v5/types.json#/parameters/ResourceGroupNameParameter" + }, + { + "$ref": "../../../../../common-types/resource-management/v5/types.json#/parameters/ApiVersionParameter" + }, + { + "$ref": "#/parameters/PrivateLinkScopeName" + }, + { + "$ref": "#/parameters/PerimeterGuid" + }, + { + "$ref": "#/parameters/AssociationName" } - } - ], - "responses": { - "200": { - "description": "Network Configuration information for the target resource.", - "schema": { - "$ref": "#/definitions/NetworkConfiguration" + ], + "responses": { + "200": { + "description": "Successfully retrieved network security perimeter configuration details.", + "schema": { + "$ref": "#/definitions/NetworkSecurityPerimeterConfiguration" + } + }, + "default": { + "description": "Error response describing why the operation failed.", + "schema": { + "$ref": "../../../../../common-types/resource-management/v5/types.json#/definitions/ErrorResponse" + } } }, - "default": { - "description": "Error response describing why the operation failed.", - "schema": { - "$ref": "../../../../../common-types/resource-management/v5/types.json#/definitions/ErrorResponse" + "x-ms-examples": { + "Gets the network security perimeter configuration of the private link scope.": { + "$ref": "./examples/networkSecurityPerimeterConfiguration/NetworkSecurityPerimeterConfigurationGet.json" } } } - } - }, - "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.HybridCompute/privateLinkScopes/{scopeName}/networkSecurityPerimeterConfigurations/{perimeterGuid}.{associationName}": { - "get": { - "tags": [ - "NetworkSecurityPerimeterConfiguration" - ], - "description": "Gets the network security perimeter configuration for a private link scope.", - "operationId": "NetworkSecurityPerimeterConfigurations_GetByPrivateLinkScope", - "parameters": [ - { - "$ref": "../../../../../common-types/resource-management/v5/types.json#/parameters/SubscriptionIdParameter" - }, - { - "$ref": "../../../../../common-types/resource-management/v5/types.json#/parameters/ResourceGroupNameParameter" - }, - { - "$ref": "../../../../../common-types/resource-management/v5/types.json#/parameters/ApiVersionParameter" - }, - { - "$ref": "#/parameters/PrivateLinkScopeName" - }, - { - "$ref": "#/parameters/PerimeterGuid" - }, - { - "$ref": "#/parameters/AssociationName" - } - ], - "responses": { - "200": { - "description": "Successfully retrieved network security perimeter configuration details.", - "schema": { - "$ref": "#/definitions/NetworkSecurityPerimeterConfiguration" + }, + "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.HybridCompute/privateLinkScopes/{scopeName}/networkSecurityPerimeterConfigurations": { + "get": { + "tags": [ + "NetworkSecurityPerimeterConfiguration" + ], + "description": "Lists the network security perimeter configurations for a private link scope.", + "operationId": "NetworkSecurityPerimeterConfigurations_ListByPrivateLinkScope", + "parameters": [ + { + "$ref": "../../../../../common-types/resource-management/v5/types.json#/parameters/SubscriptionIdParameter" + }, + { + "$ref": "../../../../../common-types/resource-management/v5/types.json#/parameters/ResourceGroupNameParameter" + }, + { + "$ref": "../../../../../common-types/resource-management/v5/types.json#/parameters/ApiVersionParameter" + }, + { + "$ref": "#/parameters/PrivateLinkScopeName" } - }, - "default": { - "description": "Error response describing why the operation failed.", - "schema": { - "$ref": "../../../../../common-types/resource-management/v5/types.json#/definitions/ErrorResponse" + ], + "responses": { + "200": { + "description": "Successfully retrieved network security perimeter configuration details.", + "schema": { + "$ref": "#/definitions/NetworkSecurityPerimeterConfigurationListResult" + } + }, + "default": { + "description": "Error response describing why the operation failed.", + "schema": { + "$ref": "../../../../../common-types/resource-management/v5/types.json#/definitions/ErrorResponse" + } } - } - }, - "x-ms-examples": { - "Gets the network security perimeter configuration of the private link scope.": { - "$ref": "./examples/networkSecurityPerimeterConfiguration/NetworkSecurityPerimeterConfigurationGet.json" - } - } - } - }, - "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.HybridCompute/privateLinkScopes/{scopeName}/networkSecurityPerimeterConfigurations": { - "get": { - "tags": [ - "NetworkSecurityPerimeterConfiguration" - ], - "description": "Lists the network security perimeter configurations for a private link scope.", - "operationId": "NetworkSecurityPerimeterConfigurations_ListByPrivateLinkScope", - "parameters": [ - { - "$ref": "../../../../../common-types/resource-management/v5/types.json#/parameters/SubscriptionIdParameter" - }, - { - "$ref": "../../../../../common-types/resource-management/v5/types.json#/parameters/ResourceGroupNameParameter" - }, - { - "$ref": "../../../../../common-types/resource-management/v5/types.json#/parameters/ApiVersionParameter" }, - { - "$ref": "#/parameters/PrivateLinkScopeName" - } - ], - "responses": { - "200": { - "description": "Successfully retrieved network security perimeter configuration details.", - "schema": { - "$ref": "#/definitions/NetworkSecurityPerimeterConfigurationListResult" - } + "x-ms-pageable": { + "nextLinkName": "nextLink" }, - "default": { - "description": "Error response describing why the operation failed.", - "schema": { - "$ref": "../../../../../common-types/resource-management/v5/types.json#/definitions/ErrorResponse" + "x-ms-examples": { + "Gets the list of network security perimeter configurations of the private link scope.": { + "$ref": "./examples/networkSecurityPerimeterConfiguration/NetworkSecurityPerimeterConfigurationList.json" } } - }, - "x-ms-pageable": { - "nextLinkName": "nextLink" - }, - "x-ms-examples": { - "Gets the list of network security perimeter configurations of the private link scope.": { - "$ref": "./examples/networkSecurityPerimeterConfiguration/NetworkSecurityPerimeterConfigurationList.json" - } } - } - }, - "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.HybridCompute/privateLinkScopes/{scopeName}/networkSecurityPerimeterConfigurations/{perimeterGuid}.{associationName}/reconcile": { - "post": { - "tags": [ - "NetworkSecurityPerimeterConfiguration" - ], - "description": "Forces the network security perimeter configuration to refresh for a private link scope.", - "operationId": "NetworkSecurityPerimeterConfigurations_ReconcileForPrivateLinkScope", - "parameters": [ - { - "$ref": "../../../../../common-types/resource-management/v5/types.json#/parameters/SubscriptionIdParameter" - }, - { - "$ref": "../../../../../common-types/resource-management/v5/types.json#/parameters/ResourceGroupNameParameter" - }, - { - "$ref": "../../../../../common-types/resource-management/v5/types.json#/parameters/ApiVersionParameter" - }, - { - "$ref": "#/parameters/PrivateLinkScopeName" - }, - { - "$ref": "#/parameters/PerimeterGuid" - }, - { - "$ref": "#/parameters/AssociationName" - } - ], - "responses": { - "202": { - "description": "Accepted.", - "headers": { - "Location": { - "description": "The URL of the resource used to check the status of the asynchronous operation.", - "type": "string" - }, - "Retry-After": { - "description": "The recommended number of seconds to wait before calling the URI specified in Azure-AsyncOperation.", - "type": "integer", - "format": "int32" - }, - "Azure-AsyncOperation": { - "description": "The URI to poll for completion status.", - "type": "string" + }, + "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.HybridCompute/privateLinkScopes/{scopeName}/networkSecurityPerimeterConfigurations/{perimeterGuid}.{associationName}/reconcile": { + "post": { + "tags": [ + "NetworkSecurityPerimeterConfiguration" + ], + "description": "Forces the network security perimeter configuration to refresh for a private link scope.", + "operationId": "NetworkSecurityPerimeterConfigurations_ReconcileForPrivateLinkScope", + "parameters": [ + { + "$ref": "../../../../../common-types/resource-management/v5/types.json#/parameters/SubscriptionIdParameter" + }, + { + "$ref": "../../../../../common-types/resource-management/v5/types.json#/parameters/ResourceGroupNameParameter" + }, + { + "$ref": "../../../../../common-types/resource-management/v5/types.json#/parameters/ApiVersionParameter" + }, + { + "$ref": "#/parameters/PrivateLinkScopeName" + }, + { + "$ref": "#/parameters/PerimeterGuid" + }, + { + "$ref": "#/parameters/AssociationName" + } + ], + "responses": { + "202": { + "description": "Accepted.", + "headers": { + "Location": { + "description": "The URL of the resource used to check the status of the asynchronous operation.", + "type": "string" + }, + "Retry-After": { + "description": "The recommended number of seconds to wait before calling the URI specified in Azure-AsyncOperation.", + "type": "integer", + "format": "int32" + }, + "Azure-AsyncOperation": { + "description": "The URI to poll for completion status.", + "type": "string" + } + } + }, + "default": { + "description": "Error response describing why the operation failed.", + "schema": { + "$ref": "../../../../../common-types/resource-management/v5/types.json#/definitions/ErrorResponse" } } }, - "default": { - "description": "Error response describing why the operation failed.", - "schema": { - "$ref": "../../../../../common-types/resource-management/v5/types.json#/definitions/ErrorResponse" - } - } - }, "x-ms-long-running-operation": true, "x-ms-examples": { - "Reconciles the network security perimeter configuration of the private link scope.": { - "$ref": "./examples/networkSecurityPerimeterConfiguration/NetworkSecurityPerimeterConfigurationReconcile.json" + "Reconciles the network security perimeter configuration of the private link scope.": { + "$ref": "./examples/networkSecurityPerimeterConfiguration/NetworkSecurityPerimeterConfigurationReconcile.json" } } } @@ -1878,17 +1878,17 @@ }, "PerimeterGuid": { "name": "perimeterGuid", - "in":"path", - "required":true, - "type":"string", + "in": "path", + "required": true, + "type": "string", "description": "The id (Guid) of the Network Security Perimeter resource." }, - "AssociationName":{ + "AssociationName": { "name": "associationName", - "in":"path", - "required":true, - "type":"string", - "description":"The name of the resource association resource which represents an association between a private link scope and Network Security Perimeter Profile" + "in": "path", + "required": true, + "type": "string", + "description": "The name of the resource association resource which represents an association between a private link scope and Network Security Perimeter Profile" } } } From c6494104f5dd6cc2c39282ea0f88ccf222eb9421 Mon Sep 17 00:00:00 2001 From: Ved Kale Date: Tue, 10 Oct 2023 21:00:06 -0700 Subject: [PATCH 14/57] Revert "update types to v5" This reverts commit 970c1d164245e009454049415a8ee928bca160ba. --- .../2023-10-03-preview/HybridCompute.json | 318 +++++++++--------- 1 file changed, 159 insertions(+), 159 deletions(-) diff --git a/specification/hybridcompute/resource-manager/Microsoft.HybridCompute/preview/2023-10-03-preview/HybridCompute.json b/specification/hybridcompute/resource-manager/Microsoft.HybridCompute/preview/2023-10-03-preview/HybridCompute.json index 50c851e52526..d6357cefa5ea 100644 --- a/specification/hybridcompute/resource-manager/Microsoft.HybridCompute/preview/2023-10-03-preview/HybridCompute.json +++ b/specification/hybridcompute/resource-manager/Microsoft.HybridCompute/preview/2023-10-03-preview/HybridCompute.json @@ -43,10 +43,10 @@ "description": "The operation to validate a license.", "parameters": [ { - "$ref": "../../../../../common-types/resource-management/v5/types.json#/parameters/ApiVersionParameter" + "$ref": "../../../../../common-types/resource-management/v3/types.json#/parameters/ApiVersionParameter" }, { - "$ref": "../../../../../common-types/resource-management/v5/types.json#/parameters/SubscriptionIdParameter" + "$ref": "../../../../../common-types/resource-management/v3/types.json#/parameters/SubscriptionIdParameter" }, { "name": "parameters", @@ -68,7 +68,7 @@ "default": { "description": "Error response describing why the operation failed.", "schema": { - "$ref": "../../../../../common-types/resource-management/v5/types.json#/definitions/ErrorResponse" + "$ref": "../../../../../common-types/resource-management/v3/types.json#/definitions/ErrorResponse" } } }, @@ -89,13 +89,13 @@ "description": "The operation to create or update a license.", "parameters": [ { - "$ref": "../../../../../common-types/resource-management/v5/types.json#/parameters/ApiVersionParameter" + "$ref": "../../../../../common-types/resource-management/v3/types.json#/parameters/ApiVersionParameter" }, { - "$ref": "../../../../../common-types/resource-management/v5/types.json#/parameters/SubscriptionIdParameter" + "$ref": "../../../../../common-types/resource-management/v3/types.json#/parameters/SubscriptionIdParameter" }, { - "$ref": "../../../../../common-types/resource-management/v5/types.json#/parameters/ResourceGroupNameParameter" + "$ref": "../../../../../common-types/resource-management/v3/types.json#/parameters/ResourceGroupNameParameter" }, { "$ref": "#/parameters/licenseNameParameter" @@ -120,7 +120,7 @@ "default": { "description": "Error response describing why the operation failed.", "schema": { - "$ref": "../../../../../common-types/resource-management/v5/types.json#/definitions/ErrorResponse" + "$ref": "../../../../../common-types/resource-management/v3/types.json#/definitions/ErrorResponse" } } }, @@ -139,13 +139,13 @@ "description": "The operation to update a license.", "parameters": [ { - "$ref": "../../../../../common-types/resource-management/v5/types.json#/parameters/ApiVersionParameter" + "$ref": "../../../../../common-types/resource-management/v3/types.json#/parameters/ApiVersionParameter" }, { - "$ref": "../../../../../common-types/resource-management/v5/types.json#/parameters/SubscriptionIdParameter" + "$ref": "../../../../../common-types/resource-management/v3/types.json#/parameters/SubscriptionIdParameter" }, { - "$ref": "../../../../../common-types/resource-management/v5/types.json#/parameters/ResourceGroupNameParameter" + "$ref": "../../../../../common-types/resource-management/v3/types.json#/parameters/ResourceGroupNameParameter" }, { "$ref": "#/parameters/licenseNameParameter" @@ -170,7 +170,7 @@ "default": { "description": "Error response describing why the operation failed.", "schema": { - "$ref": "../../../../../common-types/resource-management/v5/types.json#/definitions/ErrorResponse" + "$ref": "../../../../../common-types/resource-management/v3/types.json#/definitions/ErrorResponse" } } }, @@ -189,13 +189,13 @@ "description": "Retrieves information about the view of a license.", "parameters": [ { - "$ref": "../../../../../common-types/resource-management/v5/types.json#/parameters/ApiVersionParameter" + "$ref": "../../../../../common-types/resource-management/v3/types.json#/parameters/ApiVersionParameter" }, { - "$ref": "../../../../../common-types/resource-management/v5/types.json#/parameters/SubscriptionIdParameter" + "$ref": "../../../../../common-types/resource-management/v3/types.json#/parameters/SubscriptionIdParameter" }, { - "$ref": "../../../../../common-types/resource-management/v5/types.json#/parameters/ResourceGroupNameParameter" + "$ref": "../../../../../common-types/resource-management/v3/types.json#/parameters/ResourceGroupNameParameter" }, { "$ref": "#/parameters/licenseNameParameter" @@ -211,7 +211,7 @@ "default": { "description": "Error response describing why the operation failed.", "schema": { - "$ref": "../../../../../common-types/resource-management/v5/types.json#/definitions/ErrorResponse" + "$ref": "../../../../../common-types/resource-management/v3/types.json#/definitions/ErrorResponse" } } }, @@ -229,13 +229,13 @@ "description": "The operation to delete a license.", "parameters": [ { - "$ref": "../../../../../common-types/resource-management/v5/types.json#/parameters/ApiVersionParameter" + "$ref": "../../../../../common-types/resource-management/v3/types.json#/parameters/ApiVersionParameter" }, { - "$ref": "../../../../../common-types/resource-management/v5/types.json#/parameters/SubscriptionIdParameter" + "$ref": "../../../../../common-types/resource-management/v3/types.json#/parameters/SubscriptionIdParameter" }, { - "$ref": "../../../../../common-types/resource-management/v5/types.json#/parameters/ResourceGroupNameParameter" + "$ref": "../../../../../common-types/resource-management/v3/types.json#/parameters/ResourceGroupNameParameter" }, { "$ref": "#/parameters/licenseNameParameter" @@ -251,7 +251,7 @@ "default": { "description": "Error response describing why the operation failed.", "schema": { - "$ref": "../../../../../common-types/resource-management/v5/types.json#/definitions/ErrorResponse" + "$ref": "../../../../../common-types/resource-management/v3/types.json#/definitions/ErrorResponse" } } }, @@ -272,13 +272,13 @@ "description": "The operation to get all licenses of a non-Azure machine", "parameters": [ { - "$ref": "../../../../../common-types/resource-management/v5/types.json#/parameters/ResourceGroupNameParameter" + "$ref": "../../../../../common-types/resource-management/v3/types.json#/parameters/ResourceGroupNameParameter" }, { - "$ref": "../../../../../common-types/resource-management/v5/types.json#/parameters/ApiVersionParameter" + "$ref": "../../../../../common-types/resource-management/v3/types.json#/parameters/ApiVersionParameter" }, { - "$ref": "../../../../../common-types/resource-management/v5/types.json#/parameters/SubscriptionIdParameter" + "$ref": "../../../../../common-types/resource-management/v3/types.json#/parameters/SubscriptionIdParameter" } ], "responses": { @@ -291,7 +291,7 @@ "default": { "description": "Error response describing why the operation failed.", "schema": { - "$ref": "../../../../../common-types/resource-management/v5/types.json#/definitions/ErrorResponse" + "$ref": "../../../../../common-types/resource-management/v3/types.json#/definitions/ErrorResponse" } } }, @@ -314,10 +314,10 @@ "description": "The operation to get all licenses of a non-Azure machine", "parameters": [ { - "$ref": "../../../../../common-types/resource-management/v5/types.json#/parameters/ApiVersionParameter" + "$ref": "../../../../../common-types/resource-management/v3/types.json#/parameters/ApiVersionParameter" }, { - "$ref": "../../../../../common-types/resource-management/v5/types.json#/parameters/SubscriptionIdParameter" + "$ref": "../../../../../common-types/resource-management/v3/types.json#/parameters/SubscriptionIdParameter" } ], "responses": { @@ -330,7 +330,7 @@ "default": { "description": "Error response describing why the operation failed.", "schema": { - "$ref": "../../../../../common-types/resource-management/v5/types.json#/definitions/ErrorResponse" + "$ref": "../../../../../common-types/resource-management/v3/types.json#/definitions/ErrorResponse" } } }, @@ -353,13 +353,13 @@ "description": "The operation to create or update a hybrid machine. Please note some properties can be set only during machine creation.", "parameters": [ { - "$ref": "../../../../../common-types/resource-management/v5/types.json#/parameters/ApiVersionParameter" + "$ref": "../../../../../common-types/resource-management/v3/types.json#/parameters/ApiVersionParameter" }, { - "$ref": "../../../../../common-types/resource-management/v5/types.json#/parameters/SubscriptionIdParameter" + "$ref": "../../../../../common-types/resource-management/v3/types.json#/parameters/SubscriptionIdParameter" }, { - "$ref": "../../../../../common-types/resource-management/v5/types.json#/parameters/ResourceGroupNameParameter" + "$ref": "../../../../../common-types/resource-management/v3/types.json#/parameters/ResourceGroupNameParameter" }, { "name": "machineName", @@ -398,7 +398,7 @@ "default": { "description": "Error response describing why the operation failed.", "schema": { - "$ref": "../../../../../common-types/resource-management/v5/types.json#/definitions/ErrorResponse" + "$ref": "../../../../../common-types/resource-management/v3/types.json#/definitions/ErrorResponse" } } }, @@ -416,13 +416,13 @@ "description": "The operation to update a hybrid machine.", "parameters": [ { - "$ref": "../../../../../common-types/resource-management/v5/types.json#/parameters/ApiVersionParameter" + "$ref": "../../../../../common-types/resource-management/v3/types.json#/parameters/ApiVersionParameter" }, { - "$ref": "../../../../../common-types/resource-management/v5/types.json#/parameters/SubscriptionIdParameter" + "$ref": "../../../../../common-types/resource-management/v3/types.json#/parameters/SubscriptionIdParameter" }, { - "$ref": "../../../../../common-types/resource-management/v5/types.json#/parameters/ResourceGroupNameParameter" + "$ref": "../../../../../common-types/resource-management/v3/types.json#/parameters/ResourceGroupNameParameter" }, { "name": "machineName", @@ -454,7 +454,7 @@ "default": { "description": "Error response describing why the operation failed.", "schema": { - "$ref": "../../../../../common-types/resource-management/v5/types.json#/definitions/ErrorResponse" + "$ref": "../../../../../common-types/resource-management/v3/types.json#/definitions/ErrorResponse" } } }, @@ -472,13 +472,13 @@ "description": "The operation to delete a hybrid machine.", "parameters": [ { - "$ref": "../../../../../common-types/resource-management/v5/types.json#/parameters/ApiVersionParameter" + "$ref": "../../../../../common-types/resource-management/v3/types.json#/parameters/ApiVersionParameter" }, { - "$ref": "../../../../../common-types/resource-management/v5/types.json#/parameters/SubscriptionIdParameter" + "$ref": "../../../../../common-types/resource-management/v3/types.json#/parameters/SubscriptionIdParameter" }, { - "$ref": "../../../../../common-types/resource-management/v5/types.json#/parameters/ResourceGroupNameParameter" + "$ref": "../../../../../common-types/resource-management/v3/types.json#/parameters/ResourceGroupNameParameter" }, { "name": "machineName", @@ -501,7 +501,7 @@ "default": { "description": "Error response describing why the operation failed.", "schema": { - "$ref": "../../../../../common-types/resource-management/v5/types.json#/definitions/ErrorResponse" + "$ref": "../../../../../common-types/resource-management/v3/types.json#/definitions/ErrorResponse" } } }, @@ -519,13 +519,13 @@ "description": "Retrieves information about the model view or the instance view of a hybrid machine.", "parameters": [ { - "$ref": "../../../../../common-types/resource-management/v5/types.json#/parameters/ApiVersionParameter" + "$ref": "../../../../../common-types/resource-management/v3/types.json#/parameters/ApiVersionParameter" }, { - "$ref": "../../../../../common-types/resource-management/v5/types.json#/parameters/SubscriptionIdParameter" + "$ref": "../../../../../common-types/resource-management/v3/types.json#/parameters/SubscriptionIdParameter" }, { - "$ref": "../../../../../common-types/resource-management/v5/types.json#/parameters/ResourceGroupNameParameter" + "$ref": "../../../../../common-types/resource-management/v3/types.json#/parameters/ResourceGroupNameParameter" }, { "name": "machineName", @@ -562,7 +562,7 @@ "default": { "description": "Error response describing why the operation failed.", "schema": { - "$ref": "../../../../../common-types/resource-management/v5/types.json#/definitions/ErrorResponse" + "$ref": "../../../../../common-types/resource-management/v3/types.json#/definitions/ErrorResponse" } } }, @@ -585,13 +585,13 @@ "description": "The operation to create or update a license profile.", "parameters": [ { - "$ref": "../../../../../common-types/resource-management/v5/types.json#/parameters/ApiVersionParameter" + "$ref": "../../../../../common-types/resource-management/v3/types.json#/parameters/ApiVersionParameter" }, { - "$ref": "../../../../../common-types/resource-management/v5/types.json#/parameters/SubscriptionIdParameter" + "$ref": "../../../../../common-types/resource-management/v3/types.json#/parameters/SubscriptionIdParameter" }, { - "$ref": "../../../../../common-types/resource-management/v5/types.json#/parameters/ResourceGroupNameParameter" + "$ref": "../../../../../common-types/resource-management/v3/types.json#/parameters/ResourceGroupNameParameter" }, { "$ref": "#/parameters/machineNameParameter" @@ -640,7 +640,7 @@ "default": { "description": "Error response describing why the operation failed.", "schema": { - "$ref": "../../../../../common-types/resource-management/v5/types.json#/definitions/ErrorResponse" + "$ref": "../../../../../common-types/resource-management/v3/types.json#/definitions/ErrorResponse" } } }, @@ -659,13 +659,13 @@ "description": "The operation to update a license profile.", "parameters": [ { - "$ref": "../../../../../common-types/resource-management/v5/types.json#/parameters/ApiVersionParameter" + "$ref": "../../../../../common-types/resource-management/v3/types.json#/parameters/ApiVersionParameter" }, { - "$ref": "../../../../../common-types/resource-management/v5/types.json#/parameters/SubscriptionIdParameter" + "$ref": "../../../../../common-types/resource-management/v3/types.json#/parameters/SubscriptionIdParameter" }, { - "$ref": "../../../../../common-types/resource-management/v5/types.json#/parameters/ResourceGroupNameParameter" + "$ref": "../../../../../common-types/resource-management/v3/types.json#/parameters/ResourceGroupNameParameter" }, { "$ref": "#/parameters/machineNameParameter" @@ -711,7 +711,7 @@ "default": { "description": "Error response describing why the operation failed.", "schema": { - "$ref": "../../../../../common-types/resource-management/v5/types.json#/definitions/ErrorResponse" + "$ref": "../../../../../common-types/resource-management/v3/types.json#/definitions/ErrorResponse" } } }, @@ -730,13 +730,13 @@ "description": "Retrieves information about the view of a license profile.", "parameters": [ { - "$ref": "../../../../../common-types/resource-management/v5/types.json#/parameters/ApiVersionParameter" + "$ref": "../../../../../common-types/resource-management/v3/types.json#/parameters/ApiVersionParameter" }, { - "$ref": "../../../../../common-types/resource-management/v5/types.json#/parameters/SubscriptionIdParameter" + "$ref": "../../../../../common-types/resource-management/v3/types.json#/parameters/SubscriptionIdParameter" }, { - "$ref": "../../../../../common-types/resource-management/v5/types.json#/parameters/ResourceGroupNameParameter" + "$ref": "../../../../../common-types/resource-management/v3/types.json#/parameters/ResourceGroupNameParameter" }, { "$ref": "#/parameters/machineNameParameter" @@ -755,7 +755,7 @@ "default": { "description": "Error response describing why the operation failed.", "schema": { - "$ref": "../../../../../common-types/resource-management/v5/types.json#/definitions/ErrorResponse" + "$ref": "../../../../../common-types/resource-management/v3/types.json#/definitions/ErrorResponse" } } }, @@ -773,13 +773,13 @@ "description": "The operation to delete a license profile.", "parameters": [ { - "$ref": "../../../../../common-types/resource-management/v5/types.json#/parameters/ApiVersionParameter" + "$ref": "../../../../../common-types/resource-management/v3/types.json#/parameters/ApiVersionParameter" }, { - "$ref": "../../../../../common-types/resource-management/v5/types.json#/parameters/SubscriptionIdParameter" + "$ref": "../../../../../common-types/resource-management/v3/types.json#/parameters/SubscriptionIdParameter" }, { - "$ref": "../../../../../common-types/resource-management/v5/types.json#/parameters/ResourceGroupNameParameter" + "$ref": "../../../../../common-types/resource-management/v3/types.json#/parameters/ResourceGroupNameParameter" }, { "$ref": "#/parameters/machineNameParameter" @@ -813,7 +813,7 @@ "default": { "description": "Error response describing why the operation failed.", "schema": { - "$ref": "../../../../../common-types/resource-management/v5/types.json#/definitions/ErrorResponse" + "$ref": "../../../../../common-types/resource-management/v3/types.json#/definitions/ErrorResponse" } } }, @@ -834,7 +834,7 @@ "description": "The operation to get all license profiles of a non-Azure machine", "parameters": [ { - "$ref": "../../../../../common-types/resource-management/v5/types.json#/parameters/ResourceGroupNameParameter" + "$ref": "../../../../../common-types/resource-management/v3/types.json#/parameters/ResourceGroupNameParameter" }, { "name": "machineName", @@ -847,10 +847,10 @@ "description": "The name of the machine." }, { - "$ref": "../../../../../common-types/resource-management/v5/types.json#/parameters/ApiVersionParameter" + "$ref": "../../../../../common-types/resource-management/v3/types.json#/parameters/ApiVersionParameter" }, { - "$ref": "../../../../../common-types/resource-management/v5/types.json#/parameters/SubscriptionIdParameter" + "$ref": "../../../../../common-types/resource-management/v3/types.json#/parameters/SubscriptionIdParameter" } ], "responses": { @@ -863,7 +863,7 @@ "default": { "description": "Error response describing why the operation failed.", "schema": { - "$ref": "../../../../../common-types/resource-management/v5/types.json#/definitions/ErrorResponse" + "$ref": "../../../../../common-types/resource-management/v3/types.json#/definitions/ErrorResponse" } } }, @@ -891,10 +891,10 @@ "description": "The operation to assess patches on a hybrid machine identity in Azure.", "parameters": [ { - "$ref": "../../../../../common-types/resource-management/v5/types.json#/parameters/ApiVersionParameter" + "$ref": "../../../../../common-types/resource-management/v1/types.json#/parameters/ApiVersionParameter" }, { - "$ref": "../../../../../common-types/resource-management/v5/types.json#/parameters/SubscriptionIdParameter" + "$ref": "../../../../../common-types/resource-management/v1/types.json#/parameters/SubscriptionIdParameter" }, { "name": "resourceGroupName", @@ -930,7 +930,7 @@ "default": { "description": "Error response describing why the operation failed.", "schema": { - "$ref": "../../../../../common-types/resource-management/v5/types.json#/definitions/ErrorResponse" + "$ref": "../../../../../common-types/resource-management/v3/types.json#/definitions/ErrorResponse" } } }, @@ -954,10 +954,10 @@ }, "parameters": [ { - "$ref": "../../../../../common-types/resource-management/v5/types.json#/parameters/ApiVersionParameter" + "$ref": "../../../../../common-types/resource-management/v1/types.json#/parameters/ApiVersionParameter" }, { - "$ref": "../../../../../common-types/resource-management/v5/types.json#/parameters/SubscriptionIdParameter" + "$ref": "../../../../../common-types/resource-management/v1/types.json#/parameters/SubscriptionIdParameter" }, { "name": "resourceGroupName", @@ -1002,7 +1002,7 @@ "default": { "description": "Error response describing why the operation failed.", "schema": { - "$ref": "../../../../../common-types/resource-management/v5/types.json#/definitions/ErrorResponse" + "$ref": "../../../../../common-types/resource-management/v3/types.json#/definitions/ErrorResponse" } } }, @@ -1021,13 +1021,13 @@ "description": "Lists all the hybrid machines in the specified resource group. Use the nextLink property in the response to get the next page of hybrid machines.", "parameters": [ { - "$ref": "../../../../../common-types/resource-management/v5/types.json#/parameters/ApiVersionParameter" + "$ref": "../../../../../common-types/resource-management/v3/types.json#/parameters/ApiVersionParameter" }, { - "$ref": "../../../../../common-types/resource-management/v5/types.json#/parameters/SubscriptionIdParameter" + "$ref": "../../../../../common-types/resource-management/v3/types.json#/parameters/SubscriptionIdParameter" }, { - "$ref": "../../../../../common-types/resource-management/v5/types.json#/parameters/ResourceGroupNameParameter" + "$ref": "../../../../../common-types/resource-management/v3/types.json#/parameters/ResourceGroupNameParameter" }, { "name": "$expand", @@ -1047,7 +1047,7 @@ "default": { "description": "Error response describing why the operation failed.", "schema": { - "$ref": "../../../../../common-types/resource-management/v5/types.json#/definitions/ErrorResponse" + "$ref": "../../../../../common-types/resource-management/v3/types.json#/definitions/ErrorResponse" } } }, @@ -1070,10 +1070,10 @@ "description": "Lists all the hybrid machines in the specified subscription. Use the nextLink property in the response to get the next page of hybrid machines.", "parameters": [ { - "$ref": "../../../../../common-types/resource-management/v5/types.json#/parameters/ApiVersionParameter" + "$ref": "../../../../../common-types/resource-management/v3/types.json#/parameters/ApiVersionParameter" }, { - "$ref": "../../../../../common-types/resource-management/v5/types.json#/parameters/SubscriptionIdParameter" + "$ref": "../../../../../common-types/resource-management/v3/types.json#/parameters/SubscriptionIdParameter" } ], "responses": { @@ -1086,7 +1086,7 @@ "default": { "description": "Error response describing why the operation failed.", "schema": { - "$ref": "../../../../../common-types/resource-management/v5/types.json#/definitions/ErrorResponse" + "$ref": "../../../../../common-types/resource-management/v3/types.json#/definitions/ErrorResponse" } } }, @@ -1109,7 +1109,7 @@ "description": "The operation to create or update the extension.", "parameters": [ { - "$ref": "../../../../../common-types/resource-management/v5/types.json#/parameters/ResourceGroupNameParameter" + "$ref": "../../../../../common-types/resource-management/v3/types.json#/parameters/ResourceGroupNameParameter" }, { "name": "machineName", @@ -1138,10 +1138,10 @@ "description": "Parameters supplied to the Create Machine Extension operation." }, { - "$ref": "../../../../../common-types/resource-management/v5/types.json#/parameters/ApiVersionParameter" + "$ref": "../../../../../common-types/resource-management/v3/types.json#/parameters/ApiVersionParameter" }, { - "$ref": "../../../../../common-types/resource-management/v5/types.json#/parameters/SubscriptionIdParameter" + "$ref": "../../../../../common-types/resource-management/v3/types.json#/parameters/SubscriptionIdParameter" } ], "responses": { @@ -1157,7 +1157,7 @@ "default": { "description": "Error response describing why the operation failed.", "schema": { - "$ref": "../../../../../common-types/resource-management/v5/types.json#/definitions/ErrorResponse" + "$ref": "../../../../../common-types/resource-management/v3/types.json#/definitions/ErrorResponse" } } }, @@ -1176,7 +1176,7 @@ "description": "The operation to create or update the extension.", "parameters": [ { - "$ref": "../../../../../common-types/resource-management/v5/types.json#/parameters/ResourceGroupNameParameter" + "$ref": "../../../../../common-types/resource-management/v3/types.json#/parameters/ResourceGroupNameParameter" }, { "name": "machineName", @@ -1205,10 +1205,10 @@ "description": "Parameters supplied to the Create Machine Extension operation." }, { - "$ref": "../../../../../common-types/resource-management/v5/types.json#/parameters/ApiVersionParameter" + "$ref": "../../../../../common-types/resource-management/v3/types.json#/parameters/ApiVersionParameter" }, { - "$ref": "../../../../../common-types/resource-management/v5/types.json#/parameters/SubscriptionIdParameter" + "$ref": "../../../../../common-types/resource-management/v3/types.json#/parameters/SubscriptionIdParameter" } ], "responses": { @@ -1239,7 +1239,7 @@ "default": { "description": "Error response describing why the operation failed.", "schema": { - "$ref": "../../../../../common-types/resource-management/v5/types.json#/definitions/ErrorResponse" + "$ref": "../../../../../common-types/resource-management/v3/types.json#/definitions/ErrorResponse" } } }, @@ -1258,7 +1258,7 @@ "description": "The operation to delete the extension.", "parameters": [ { - "$ref": "../../../../../common-types/resource-management/v5/types.json#/parameters/ResourceGroupNameParameter" + "$ref": "../../../../../common-types/resource-management/v3/types.json#/parameters/ResourceGroupNameParameter" }, { "name": "machineName", @@ -1278,10 +1278,10 @@ "description": "The name of the machine extension." }, { - "$ref": "../../../../../common-types/resource-management/v5/types.json#/parameters/ApiVersionParameter" + "$ref": "../../../../../common-types/resource-management/v3/types.json#/parameters/ApiVersionParameter" }, { - "$ref": "../../../../../common-types/resource-management/v5/types.json#/parameters/SubscriptionIdParameter" + "$ref": "../../../../../common-types/resource-management/v3/types.json#/parameters/SubscriptionIdParameter" } ], "responses": { @@ -1312,7 +1312,7 @@ "default": { "description": "Error response describing why the operation failed.", "schema": { - "$ref": "../../../../../common-types/resource-management/v5/types.json#/definitions/ErrorResponse" + "$ref": "../../../../../common-types/resource-management/v3/types.json#/definitions/ErrorResponse" } } }, @@ -1331,7 +1331,7 @@ "description": "The operation to get the extension.", "parameters": [ { - "$ref": "../../../../../common-types/resource-management/v5/types.json#/parameters/ResourceGroupNameParameter" + "$ref": "../../../../../common-types/resource-management/v3/types.json#/parameters/ResourceGroupNameParameter" }, { "name": "machineName", @@ -1351,10 +1351,10 @@ "description": "The name of the machine extension." }, { - "$ref": "../../../../../common-types/resource-management/v5/types.json#/parameters/ApiVersionParameter" + "$ref": "../../../../../common-types/resource-management/v3/types.json#/parameters/ApiVersionParameter" }, { - "$ref": "../../../../../common-types/resource-management/v5/types.json#/parameters/SubscriptionIdParameter" + "$ref": "../../../../../common-types/resource-management/v3/types.json#/parameters/SubscriptionIdParameter" } ], "responses": { @@ -1367,7 +1367,7 @@ "default": { "description": "Error response describing why the operation failed.", "schema": { - "$ref": "../../../../../common-types/resource-management/v5/types.json#/definitions/ErrorResponse" + "$ref": "../../../../../common-types/resource-management/v3/types.json#/definitions/ErrorResponse" } } }, @@ -1387,7 +1387,7 @@ "description": "The operation to get all extensions of a non-Azure machine", "parameters": [ { - "$ref": "../../../../../common-types/resource-management/v5/types.json#/parameters/ResourceGroupNameParameter" + "$ref": "../../../../../common-types/resource-management/v3/types.json#/parameters/ResourceGroupNameParameter" }, { "name": "machineName", @@ -1407,10 +1407,10 @@ "description": "The expand expression to apply on the operation." }, { - "$ref": "../../../../../common-types/resource-management/v5/types.json#/parameters/ApiVersionParameter" + "$ref": "../../../../../common-types/resource-management/v3/types.json#/parameters/ApiVersionParameter" }, { - "$ref": "../../../../../common-types/resource-management/v5/types.json#/parameters/SubscriptionIdParameter" + "$ref": "../../../../../common-types/resource-management/v3/types.json#/parameters/SubscriptionIdParameter" } ], "responses": { @@ -1423,7 +1423,7 @@ "default": { "description": "Error response describing why the operation failed.", "schema": { - "$ref": "../../../../../common-types/resource-management/v5/types.json#/definitions/ErrorResponse" + "$ref": "../../../../../common-types/resource-management/v3/types.json#/definitions/ErrorResponse" } } }, @@ -1446,13 +1446,13 @@ "description": "The operation to Upgrade Machine Extensions.", "parameters": [ { - "$ref": "../../../../../common-types/resource-management/v5/types.json#/parameters/ApiVersionParameter" + "$ref": "../../../../../common-types/resource-management/v3/types.json#/parameters/ApiVersionParameter" }, { - "$ref": "../../../../../common-types/resource-management/v5/types.json#/parameters/SubscriptionIdParameter" + "$ref": "../../../../../common-types/resource-management/v3/types.json#/parameters/SubscriptionIdParameter" }, { - "$ref": "../../../../../common-types/resource-management/v5/types.json#/parameters/ResourceGroupNameParameter" + "$ref": "../../../../../common-types/resource-management/v3/types.json#/parameters/ResourceGroupNameParameter" }, { "name": "machineName", @@ -1499,7 +1499,7 @@ "default": { "description": "Error response describing why the operation failed.", "schema": { - "$ref": "../../../../../common-types/resource-management/v5/types.json#/definitions/ErrorResponse" + "$ref": "../../../../../common-types/resource-management/v3/types.json#/definitions/ErrorResponse" } } }, @@ -1520,10 +1520,10 @@ "description": "Gets an Extension Metadata based on location, publisher, extensionType and version", "parameters": [ { - "$ref": "../../../../../common-types/resource-management/v5/types.json#/parameters/ApiVersionParameter" + "$ref": "../../../../../common-types/resource-management/v3/types.json#/parameters/ApiVersionParameter" }, { - "$ref": "../../../../../common-types/resource-management/v5/types.json#/parameters/SubscriptionIdParameter" + "$ref": "../../../../../common-types/resource-management/v3/types.json#/parameters/SubscriptionIdParameter" }, { "name": "location", @@ -1564,7 +1564,7 @@ "default": { "description": "Error in retrieving an extension metadata", "schema": { - "$ref": "../../../../../common-types/resource-management/v5/types.json#/definitions/ErrorResponse" + "$ref": "../../../../../common-types/resource-management/v3/types.json#/definitions/ErrorResponse" } } }, @@ -1584,10 +1584,10 @@ "description": "Gets all Extension versions based on location, publisher, extensionType", "parameters": [ { - "$ref": "../../../../../common-types/resource-management/v5/types.json#/parameters/ApiVersionParameter" + "$ref": "../../../../../common-types/resource-management/v3/types.json#/parameters/ApiVersionParameter" }, { - "$ref": "../../../../../common-types/resource-management/v5/types.json#/parameters/SubscriptionIdParameter" + "$ref": "../../../../../common-types/resource-management/v3/types.json#/parameters/SubscriptionIdParameter" }, { "name": "location", @@ -1621,7 +1621,7 @@ "default": { "description": "Error in retrieving extension list", "schema": { - "$ref": "../../../../../common-types/resource-management/v5/types.json#/definitions/ErrorResponse" + "$ref": "../../../../../common-types/resource-management/v3/types.json#/definitions/ErrorResponse" } } }, @@ -1644,7 +1644,7 @@ "description": "Gets a list of hybrid compute operations.", "parameters": [ { - "$ref": "../../../../../common-types/resource-management/v5/types.json#/parameters/ApiVersionParameter" + "$ref": "../../../../../common-types/resource-management/v3/types.json#/parameters/ApiVersionParameter" } ], "responses": { @@ -1657,7 +1657,7 @@ "default": { "description": "Error response describing why the operation failed.", "schema": { - "$ref": "../../../../../common-types/resource-management/v5/types.json#/definitions/ErrorResponse" + "$ref": "../../../../../common-types/resource-management/v3/types.json#/definitions/ErrorResponse" } } }, @@ -1680,13 +1680,13 @@ "description": "The operation to get network information of hybrid machine", "parameters": [ { - "$ref": "../../../../../common-types/resource-management/v5/types.json#/parameters/ApiVersionParameter" + "$ref": "../../../../../common-types/resource-management/v3/types.json#/parameters/ApiVersionParameter" }, { - "$ref": "../../../../../common-types/resource-management/v5/types.json#/parameters/SubscriptionIdParameter" + "$ref": "../../../../../common-types/resource-management/v3/types.json#/parameters/SubscriptionIdParameter" }, { - "$ref": "../../../../../common-types/resource-management/v5/types.json#/parameters/ResourceGroupNameParameter" + "$ref": "../../../../../common-types/resource-management/v3/types.json#/parameters/ResourceGroupNameParameter" }, { "name": "machineName", @@ -1709,7 +1709,7 @@ "default": { "description": "Error response describing why the operation failed.", "schema": { - "$ref": "../../../../../common-types/resource-management/v5/types.json#/definitions/ErrorResponse" + "$ref": "../../../../../common-types/resource-management/v3/types.json#/definitions/ErrorResponse" } } }, @@ -1738,10 +1738,10 @@ ], "parameters": [ { - "$ref": "../../../../../common-types/resource-management/v5/types.json#/parameters/SubscriptionIdParameter" + "$ref": "../../../../../common-types/resource-management/v3/types.json#/parameters/SubscriptionIdParameter" }, { - "$ref": "../../../../../common-types/resource-management/v5/types.json#/parameters/ResourceGroupNameParameter" + "$ref": "../../../../../common-types/resource-management/v3/types.json#/parameters/ResourceGroupNameParameter" }, { "name": "machineName", @@ -1762,7 +1762,7 @@ "description": "Name of the HybridIdentityMetadata." }, { - "$ref": "../../../../../common-types/resource-management/v5/types.json#/parameters/ApiVersionParameter" + "$ref": "../../../../../common-types/resource-management/v3/types.json#/parameters/ApiVersionParameter" } ], "responses": { @@ -1775,7 +1775,7 @@ "default": { "description": "Error response describing why the operation failed.", "schema": { - "$ref": "../../../../../common-types/resource-management/v5/types.json#/definitions/ErrorResponse" + "$ref": "../../../../../common-types/resource-management/v3/types.json#/definitions/ErrorResponse" } } } @@ -1799,10 +1799,10 @@ ], "parameters": [ { - "$ref": "../../../../../common-types/resource-management/v5/types.json#/parameters/SubscriptionIdParameter" + "$ref": "../../../../../common-types/resource-management/v3/types.json#/parameters/SubscriptionIdParameter" }, { - "$ref": "../../../../../common-types/resource-management/v5/types.json#/parameters/ResourceGroupNameParameter" + "$ref": "../../../../../common-types/resource-management/v3/types.json#/parameters/ResourceGroupNameParameter" }, { "name": "machineName", @@ -1815,7 +1815,7 @@ "description": "The name of the hybrid machine." }, { - "$ref": "../../../../../common-types/resource-management/v5/types.json#/parameters/ApiVersionParameter" + "$ref": "../../../../../common-types/resource-management/v3/types.json#/parameters/ApiVersionParameter" } ], "responses": { @@ -1828,7 +1828,7 @@ "default": { "description": "Error response describing why the operation failed.", "schema": { - "$ref": "../../../../../common-types/resource-management/v5/types.json#/definitions/ErrorResponse" + "$ref": "../../../../../common-types/resource-management/v3/types.json#/definitions/ErrorResponse" } } }, @@ -1846,7 +1846,7 @@ "description": "Gets all Agent Versions along with the download link currently present.", "parameters": [ { - "$ref": "../../../../../common-types/resource-management/v5/types.json#/parameters/ApiVersionParameter" + "$ref": "../../../../../common-types/resource-management/v3/types.json#/parameters/ApiVersionParameter" }, { "name": "osType", @@ -1866,7 +1866,7 @@ "default": { "description": "Error response describing why the operation failed.", "schema": { - "$ref": "../../../../../common-types/resource-management/v5/types.json#/definitions/ErrorResponse" + "$ref": "../../../../../common-types/resource-management/v2/types.json#/definitions/ErrorResponse" } } }, @@ -1886,7 +1886,7 @@ "description": "Gets an Agent Version along with the download link currently present.", "parameters": [ { - "$ref": "../../../../../common-types/resource-management/v5/types.json#/parameters/ApiVersionParameter" + "$ref": "../../../../../common-types/resource-management/v3/types.json#/parameters/ApiVersionParameter" }, { "name": "osType", @@ -1913,7 +1913,7 @@ "default": { "description": "Error response describing why the operation failed.", "schema": { - "$ref": "../../../../../common-types/resource-management/v5/types.json#/definitions/ErrorResponse" + "$ref": "../../../../../common-types/resource-management/v2/types.json#/definitions/ErrorResponse" } } }, @@ -1933,7 +1933,7 @@ "description": "The operation to create or update a run command.", "parameters": [ { - "$ref": "../../../../../common-types/resource-management/v5/types.json#/parameters/ResourceGroupNameParameter" + "$ref": "../../../../../common-types/resource-management/v3/types.json#/parameters/ResourceGroupNameParameter" }, { "$ref": "#/parameters/machineNameParameter" @@ -1951,10 +1951,10 @@ "description": "Parameters supplied to the Create Run Command." }, { - "$ref": "../../../../../common-types/resource-management/v5/types.json#/parameters/ApiVersionParameter" + "$ref": "../../../../../common-types/resource-management/v3/types.json#/parameters/ApiVersionParameter" }, { - "$ref": "../../../../../common-types/resource-management/v5/types.json#/parameters/SubscriptionIdParameter" + "$ref": "../../../../../common-types/resource-management/v3/types.json#/parameters/SubscriptionIdParameter" } ], "responses": { @@ -1988,7 +1988,7 @@ "default": { "description": "Error response describing why the operation failed.", "schema": { - "$ref": "../../../../../common-types/resource-management/v5/types.json#/definitions/ErrorResponse" + "$ref": "../../../../../common-types/resource-management/v3/types.json#/definitions/ErrorResponse" } } }, @@ -2010,7 +2010,7 @@ "description": "The operation to update the run command.", "parameters": [ { - "$ref": "../../../../../common-types/resource-management/v5/types.json#/parameters/ResourceGroupNameParameter" + "$ref": "../../../../../common-types/resource-management/v3/types.json#/parameters/ResourceGroupNameParameter" }, { "$ref": "#/parameters/machineNameParameter" @@ -2028,10 +2028,10 @@ "description": "Parameters supplied to the Create Run Command." }, { - "$ref": "../../../../../common-types/resource-management/v5/types.json#/parameters/ApiVersionParameter" + "$ref": "../../../../../common-types/resource-management/v3/types.json#/parameters/ApiVersionParameter" }, { - "$ref": "../../../../../common-types/resource-management/v5/types.json#/parameters/SubscriptionIdParameter" + "$ref": "../../../../../common-types/resource-management/v3/types.json#/parameters/SubscriptionIdParameter" } ], "responses": { @@ -2062,7 +2062,7 @@ "default": { "description": "Error response describing why the operation failed.", "schema": { - "$ref": "../../../../../common-types/resource-management/v5/types.json#/definitions/ErrorResponse" + "$ref": "../../../../../common-types/resource-management/v3/types.json#/definitions/ErrorResponse" } } }, @@ -2081,7 +2081,7 @@ "description": "The operation to delete a run command.", "parameters": [ { - "$ref": "../../../../../common-types/resource-management/v5/types.json#/parameters/ResourceGroupNameParameter" + "$ref": "../../../../../common-types/resource-management/v3/types.json#/parameters/ResourceGroupNameParameter" }, { "$ref": "#/parameters/machineNameParameter" @@ -2090,10 +2090,10 @@ "$ref": "#/parameters/runCommandNameParameter" }, { - "$ref": "../../../../../common-types/resource-management/v5/types.json#/parameters/ApiVersionParameter" + "$ref": "../../../../../common-types/resource-management/v3/types.json#/parameters/ApiVersionParameter" }, { - "$ref": "../../../../../common-types/resource-management/v5/types.json#/parameters/SubscriptionIdParameter" + "$ref": "../../../../../common-types/resource-management/v3/types.json#/parameters/SubscriptionIdParameter" } ], "responses": { @@ -2121,7 +2121,7 @@ "default": { "description": "Error response describing why the operation failed.", "schema": { - "$ref": "../../../../../common-types/resource-management/v5/types.json#/definitions/ErrorResponse" + "$ref": "../../../../../common-types/resource-management/v3/types.json#/definitions/ErrorResponse" } } }, @@ -2143,7 +2143,7 @@ "description": "The operation to get a run command.", "parameters": [ { - "$ref": "../../../../../common-types/resource-management/v5/types.json#/parameters/ResourceGroupNameParameter" + "$ref": "../../../../../common-types/resource-management/v3/types.json#/parameters/ResourceGroupNameParameter" }, { "$ref": "#/parameters/machineNameParameter" @@ -2152,10 +2152,10 @@ "$ref": "#/parameters/runCommandNameParameter" }, { - "$ref": "../../../../../common-types/resource-management/v5/types.json#/parameters/ApiVersionParameter" + "$ref": "../../../../../common-types/resource-management/v3/types.json#/parameters/ApiVersionParameter" }, { - "$ref": "../../../../../common-types/resource-management/v5/types.json#/parameters/SubscriptionIdParameter" + "$ref": "../../../../../common-types/resource-management/v3/types.json#/parameters/SubscriptionIdParameter" } ], "responses": { @@ -2168,7 +2168,7 @@ "default": { "description": "Error response describing why the operation failed.", "schema": { - "$ref": "../../../../../common-types/resource-management/v5/types.json#/definitions/ErrorResponse" + "$ref": "../../../../../common-types/resource-management/v3/types.json#/definitions/ErrorResponse" } } }, @@ -2188,7 +2188,7 @@ "description": "The operation to get all the run commands of a non-Azure machine.", "parameters": [ { - "$ref": "../../../../../common-types/resource-management/v5/types.json#/parameters/ResourceGroupNameParameter" + "$ref": "../../../../../common-types/resource-management/v3/types.json#/parameters/ResourceGroupNameParameter" }, { "$ref": "#/parameters/machineNameParameter" @@ -2201,10 +2201,10 @@ "description": "The expand expression to apply on the operation." }, { - "$ref": "../../../../../common-types/resource-management/v5/types.json#/parameters/ApiVersionParameter" + "$ref": "../../../../../common-types/resource-management/v3/types.json#/parameters/ApiVersionParameter" }, { - "$ref": "../../../../../common-types/resource-management/v5/types.json#/parameters/SubscriptionIdParameter" + "$ref": "../../../../../common-types/resource-management/v3/types.json#/parameters/SubscriptionIdParameter" } ], "responses": { @@ -2217,7 +2217,7 @@ "default": { "description": "Error response describing why the operation failed.", "schema": { - "$ref": "../../../../../common-types/resource-management/v5/types.json#/definitions/ErrorResponse" + "$ref": "../../../../../common-types/resource-management/v3/types.json#/definitions/ErrorResponse" } } }, @@ -2259,7 +2259,7 @@ }, "allOf": [ { - "$ref": "../../../../../common-types/resource-management/v5/types.json#/definitions/ProxyResource" + "$ref": "../../../../../common-types/resource-management/v3/types.json#/definitions/ProxyResource" } ], "description": "Describes a Extension Metadata" @@ -2596,7 +2596,7 @@ "type": "object", "properties": { "locationData": { - "$ref": "../../../../../common-types/resource-management/v5/types.json#/definitions/locationData" + "$ref": "../../../../../common-types/resource-management/v3/types.json#/definitions/locationData" }, "agentConfiguration": { "$ref": "#/definitions/AgentConfiguration", @@ -2651,7 +2651,7 @@ "readOnly": true, "type": "array", "items": { - "$ref": "../../../../../common-types/resource-management/v5/types.json#/definitions/ErrorDetail" + "$ref": "../../../../../common-types/resource-management/v3/types.json#/definitions/ErrorDetail" }, "description": "Details about the error state.", "x-ms-identifiers": [] @@ -2766,7 +2766,7 @@ "type": "object", "properties": { "locationData": { - "$ref": "../../../../../common-types/resource-management/v5/types.json#/definitions/locationData" + "$ref": "../../../../../common-types/resource-management/v3/types.json#/definitions/locationData" }, "osProfile": { "$ref": "#/definitions/OSProfile" @@ -2807,7 +2807,7 @@ "description": "The list of extensions affiliated to the machine" }, "identity": { - "$ref": "../../../../../common-types/resource-management/v5/types.json#/definitions/Identity" + "$ref": "../../../../../common-types/resource-management/v3/types.json#/definitions/Identity" }, "kind": { "$ref": "#/definitions/ArcKindEnum" @@ -2815,7 +2815,7 @@ }, "allOf": [ { - "$ref": "../../../../../common-types/resource-management/v5/types.json#/definitions/TrackedResource" + "$ref": "../../../../../common-types/resource-management/v3/types.json#/definitions/TrackedResource" } ], "description": "Describes a hybrid machine." @@ -2841,7 +2841,7 @@ "type": "object", "properties": { "identity": { - "$ref": "../../../../../common-types/resource-management/v5/types.json#/definitions/Identity" + "$ref": "../../../../../common-types/resource-management/v3/types.json#/definitions/Identity" }, "kind": { "$ref": "#/definitions/ArcKindEnum" @@ -2909,7 +2909,7 @@ }, "allOf": [ { - "$ref": "../../../../../common-types/resource-management/v5/types.json#/definitions/TrackedResource" + "$ref": "../../../../../common-types/resource-management/v3/types.json#/definitions/TrackedResource" } ], "description": "Describes a license in a hybrid machine." @@ -3146,7 +3146,7 @@ }, "allOf": [ { - "$ref": "../../../../../common-types/resource-management/v5/types.json#/definitions/TrackedResource" + "$ref": "../../../../../common-types/resource-management/v3/types.json#/definitions/TrackedResource" } ], "description": "Describes a license profile in a hybrid machine." @@ -3633,7 +3633,7 @@ }, "allOf": [ { - "$ref": "../../../../../common-types/resource-management/v5/types.json#/definitions/TrackedResource" + "$ref": "../../../../../common-types/resource-management/v3/types.json#/definitions/TrackedResource" } ], "description": "Describes a Machine Extension." @@ -3936,7 +3936,7 @@ "type": "object", "allOf": [ { - "$ref": "../../../../../common-types/resource-management/v5/types.json#/definitions/ProxyResource", + "$ref": "../../../../../common-types/resource-management/v3/types.json#/definitions/ProxyResource", "description": "The resource model definition for an Azure Resource Manager proxy resource. It will have everything other than required location and tags." } ], @@ -3947,7 +3947,7 @@ "$ref": "#/definitions/HybridIdentityMetadataProperties" }, "systemData": { - "$ref": "../../../../../common-types/resource-management/v5/types.json#/definitions/systemData", + "$ref": "../../../../../common-types/resource-management/v3/types.json#/definitions/systemData", "description": "The system data." } }, @@ -3966,7 +3966,7 @@ "type": "string" }, "identity": { - "$ref": "../../../../../common-types/resource-management/v5/types.json#/definitions/Identity", + "$ref": "../../../../../common-types/resource-management/v3/types.json#/definitions/Identity", "readOnly": true } } @@ -4100,7 +4100,7 @@ "description": "The operating system type of the machine." }, "errorDetails": { - "$ref": "../../../../../common-types/resource-management/v5/types.json#/definitions/ErrorDetail", + "$ref": "../../../../../common-types/resource-management/v3/types.json#/definitions/ErrorDetail", "readOnly": true, "description": "The errors that were encountered during execution of the operation. The details array contains the list of them." } @@ -4420,7 +4420,7 @@ "description": "The operating system type of the machine." }, "errorDetails": { - "$ref": "../../../../../common-types/resource-management/v5/types.json#/definitions/ErrorDetail", + "$ref": "../../../../../common-types/resource-management/v3/types.json#/definitions/ErrorDetail", "readOnly": true, "description": "The errors that were encountered during execution of the operation. The details array contains the list of them." } @@ -4438,7 +4438,7 @@ }, "allOf": [ { - "$ref": "../../../../../common-types/resource-management/v5/types.json#/definitions/TrackedResource" + "$ref": "../../../../../common-types/resource-management/v3/types.json#/definitions/TrackedResource" } ], "description": "Describes a Run Command" From dd90b896eca7a82cecd7c278be39034acf6ae8e8 Mon Sep 17 00:00:00 2001 From: Ved Kale Date: Tue, 10 Oct 2023 21:19:15 -0700 Subject: [PATCH 15/57] fix errors --- .../NetworkConfigurationsCreate.json | 2 +- .../NetworkConfigurationsGet.json | 2 +- .../NetworkConfigurationsUpdate.json | 2 +- ...workSecurityPerimeterConfigurationGet.json | 2 +- ...orkSecurityPerimeterConfigurationList.json | 2 +- ...curityPerimeterConfigurationReconcile.json | 2 +- .../2023-10-03-preview/privateLinkScopes.json | 36 +++++++++---------- 7 files changed, 24 insertions(+), 24 deletions(-) diff --git a/specification/hybridcompute/resource-manager/Microsoft.HybridCompute/preview/2023-10-03-preview/examples/networkConfiguration/NetworkConfigurationsCreate.json b/specification/hybridcompute/resource-manager/Microsoft.HybridCompute/preview/2023-10-03-preview/examples/networkConfiguration/NetworkConfigurationsCreate.json index 8d74ddbf60d3..3f6419647845 100644 --- a/specification/hybridcompute/resource-manager/Microsoft.HybridCompute/preview/2023-10-03-preview/examples/networkConfiguration/NetworkConfigurationsCreate.json +++ b/specification/hybridcompute/resource-manager/Microsoft.HybridCompute/preview/2023-10-03-preview/examples/networkConfiguration/NetworkConfigurationsCreate.json @@ -1,7 +1,7 @@ { "parameters": { "resourceUri": "subscriptions/f5bcc1d9-23af-4ae9-aca1-041d0f593a63/resourceGroups/hybridRG/providers/Microsoft.HybridCompute/machines/testMachine", - "api-version": "TBD-preview", + "api-version": "2023-10-03-preview", "name": "default", "parameters": { "location": "westus", diff --git a/specification/hybridcompute/resource-manager/Microsoft.HybridCompute/preview/2023-10-03-preview/examples/networkConfiguration/NetworkConfigurationsGet.json b/specification/hybridcompute/resource-manager/Microsoft.HybridCompute/preview/2023-10-03-preview/examples/networkConfiguration/NetworkConfigurationsGet.json index cdbfdefde5b3..684805cfaef8 100644 --- a/specification/hybridcompute/resource-manager/Microsoft.HybridCompute/preview/2023-10-03-preview/examples/networkConfiguration/NetworkConfigurationsGet.json +++ b/specification/hybridcompute/resource-manager/Microsoft.HybridCompute/preview/2023-10-03-preview/examples/networkConfiguration/NetworkConfigurationsGet.json @@ -1,7 +1,7 @@ { "parameters": { "resourceUri": "subscriptions/f5bcc1d9-23af-4ae9-aca1-041d0f593a63/resourceGroups/hybridRG/providers/Microsoft.HybridCompute/machines/testMachine", - "api-version": "TBD-preview", + "api-version": "2023-10-03-preview", "name": "default" }, "responses": { diff --git a/specification/hybridcompute/resource-manager/Microsoft.HybridCompute/preview/2023-10-03-preview/examples/networkConfiguration/NetworkConfigurationsUpdate.json b/specification/hybridcompute/resource-manager/Microsoft.HybridCompute/preview/2023-10-03-preview/examples/networkConfiguration/NetworkConfigurationsUpdate.json index 6cd820ae01ca..c8adeb3dbfc0 100644 --- a/specification/hybridcompute/resource-manager/Microsoft.HybridCompute/preview/2023-10-03-preview/examples/networkConfiguration/NetworkConfigurationsUpdate.json +++ b/specification/hybridcompute/resource-manager/Microsoft.HybridCompute/preview/2023-10-03-preview/examples/networkConfiguration/NetworkConfigurationsUpdate.json @@ -1,7 +1,7 @@ { "parameters": { "resourceUri": "subscriptions/f5bcc1d9-23af-4ae9-aca1-041d0f593a63/resourceGroups/hybridRG/providers/Microsoft.HybridCompute/machines/testMachine", - "api-version": "TBD-preview", + "api-version": "2023-10-03-preview", "name": "default", "parameters": { "properties": { diff --git a/specification/hybridcompute/resource-manager/Microsoft.HybridCompute/preview/2023-10-03-preview/examples/networkSecurityPerimeterConfiguration/NetworkSecurityPerimeterConfigurationGet.json b/specification/hybridcompute/resource-manager/Microsoft.HybridCompute/preview/2023-10-03-preview/examples/networkSecurityPerimeterConfiguration/NetworkSecurityPerimeterConfigurationGet.json index 91bbbe87ca0a..ec6712f9184e 100644 --- a/specification/hybridcompute/resource-manager/Microsoft.HybridCompute/preview/2023-10-03-preview/examples/networkSecurityPerimeterConfiguration/NetworkSecurityPerimeterConfigurationGet.json +++ b/specification/hybridcompute/resource-manager/Microsoft.HybridCompute/preview/2023-10-03-preview/examples/networkSecurityPerimeterConfiguration/NetworkSecurityPerimeterConfigurationGet.json @@ -1,6 +1,6 @@ { "parameters": { - "api-version": "TBD-preview", + "api-version": "2023-10-03-preview", "subscriptionId": "86dc51d3-92ed-4d7e-947a-775ea79b4919", "resourceGroupName": "my-resource-group", "scopeName": "my-privatelinkscope", diff --git a/specification/hybridcompute/resource-manager/Microsoft.HybridCompute/preview/2023-10-03-preview/examples/networkSecurityPerimeterConfiguration/NetworkSecurityPerimeterConfigurationList.json b/specification/hybridcompute/resource-manager/Microsoft.HybridCompute/preview/2023-10-03-preview/examples/networkSecurityPerimeterConfiguration/NetworkSecurityPerimeterConfigurationList.json index 4a6794cce4b1..057f2330051e 100644 --- a/specification/hybridcompute/resource-manager/Microsoft.HybridCompute/preview/2023-10-03-preview/examples/networkSecurityPerimeterConfiguration/NetworkSecurityPerimeterConfigurationList.json +++ b/specification/hybridcompute/resource-manager/Microsoft.HybridCompute/preview/2023-10-03-preview/examples/networkSecurityPerimeterConfiguration/NetworkSecurityPerimeterConfigurationList.json @@ -1,6 +1,6 @@ { "parameters": { - "api-version": "TBD-preview", + "api-version": "2023-10-03-preview", "subscriptionId": "86dc51d3-92ed-4d7e-947a-775ea79b4919", "resourceGroupName": "my-resource-group", "scopeName": "my-privatelinkscope" diff --git a/specification/hybridcompute/resource-manager/Microsoft.HybridCompute/preview/2023-10-03-preview/examples/networkSecurityPerimeterConfiguration/NetworkSecurityPerimeterConfigurationReconcile.json b/specification/hybridcompute/resource-manager/Microsoft.HybridCompute/preview/2023-10-03-preview/examples/networkSecurityPerimeterConfiguration/NetworkSecurityPerimeterConfigurationReconcile.json index 777c754c75f8..e3a9502649c4 100644 --- a/specification/hybridcompute/resource-manager/Microsoft.HybridCompute/preview/2023-10-03-preview/examples/networkSecurityPerimeterConfiguration/NetworkSecurityPerimeterConfigurationReconcile.json +++ b/specification/hybridcompute/resource-manager/Microsoft.HybridCompute/preview/2023-10-03-preview/examples/networkSecurityPerimeterConfiguration/NetworkSecurityPerimeterConfigurationReconcile.json @@ -1,6 +1,6 @@ { "parameters": { - "api-version": "TBD-preview", + "api-version": "2023-10-03-preview", "subscriptionId": "86dc51d3-92ed-4d7e-947a-775ea79b4919", "resourceGroupName": "my-resource-group", "scopeName": "my-privatelinkscope", diff --git a/specification/hybridcompute/resource-manager/Microsoft.HybridCompute/preview/2023-10-03-preview/privateLinkScopes.json b/specification/hybridcompute/resource-manager/Microsoft.HybridCompute/preview/2023-10-03-preview/privateLinkScopes.json index aceeb2314c9b..ee088d6a3931 100644 --- a/specification/hybridcompute/resource-manager/Microsoft.HybridCompute/preview/2023-10-03-preview/privateLinkScopes.json +++ b/specification/hybridcompute/resource-manager/Microsoft.HybridCompute/preview/2023-10-03-preview/privateLinkScopes.json @@ -712,7 +712,7 @@ }, "parameters": [ { - "$ref": "../../../../../common-types/resource-management/v5/types.json#/parameters/ApiVersionParameter" + "$ref": "../../../../../common-types/resource-management/v3/types.json#/parameters/ApiVersionParameter" }, { "$ref": "#/parameters/ResourceUriParameter" @@ -728,7 +728,7 @@ "default": { "description": "Error response describing why the operation failed.", "schema": { - "$ref": "../../../../../common-types/resource-management/v5/types.json#/definitions/ErrorResponse" + "$ref": "../../../../../common-types/resource-management/v3/types.json#/definitions/ErrorResponse" } } }, @@ -753,7 +753,7 @@ }, "parameters": [ { - "$ref": "../../../../../common-types/resource-management/v5/types.json#/parameters/ApiVersionParameter" + "$ref": "../../../../../common-types/resource-management/v3/types.json#/parameters/ApiVersionParameter" }, { "$ref": "#/parameters/ResourceUriParameter" @@ -778,7 +778,7 @@ "default": { "description": "Error response describing why the operation failed.", "schema": { - "$ref": "../../../../../common-types/resource-management/v5/types.json#/definitions/ErrorResponse" + "$ref": "../../../../../common-types/resource-management/v3/types.json#/definitions/ErrorResponse" } } } @@ -799,7 +799,7 @@ }, "parameters": [ { - "$ref": "../../../../../common-types/resource-management/v5/types.json#/parameters/ApiVersionParameter" + "$ref": "../../../../../common-types/resource-management/v3/types.json#/parameters/ApiVersionParameter" }, { "$ref": "#/parameters/ResourceUriParameter" @@ -824,7 +824,7 @@ "default": { "description": "Error response describing why the operation failed.", "schema": { - "$ref": "../../../../../common-types/resource-management/v5/types.json#/definitions/ErrorResponse" + "$ref": "../../../../../common-types/resource-management/v3/types.json#/definitions/ErrorResponse" } } } @@ -839,13 +839,13 @@ "operationId": "NetworkSecurityPerimeterConfigurations_GetByPrivateLinkScope", "parameters": [ { - "$ref": "../../../../../common-types/resource-management/v5/types.json#/parameters/SubscriptionIdParameter" + "$ref": "../../../../../common-types/resource-management/v3/types.json#/parameters/SubscriptionIdParameter" }, { - "$ref": "../../../../../common-types/resource-management/v5/types.json#/parameters/ResourceGroupNameParameter" + "$ref": "../../../../../common-types/resource-management/v3/types.json#/parameters/ResourceGroupNameParameter" }, { - "$ref": "../../../../../common-types/resource-management/v5/types.json#/parameters/ApiVersionParameter" + "$ref": "../../../../../common-types/resource-management/v3/types.json#/parameters/ApiVersionParameter" }, { "$ref": "#/parameters/PrivateLinkScopeName" @@ -867,7 +867,7 @@ "default": { "description": "Error response describing why the operation failed.", "schema": { - "$ref": "../../../../../common-types/resource-management/v5/types.json#/definitions/ErrorResponse" + "$ref": "../../../../../common-types/resource-management/v3/types.json#/definitions/ErrorResponse" } } }, @@ -887,13 +887,13 @@ "operationId": "NetworkSecurityPerimeterConfigurations_ListByPrivateLinkScope", "parameters": [ { - "$ref": "../../../../../common-types/resource-management/v5/types.json#/parameters/SubscriptionIdParameter" + "$ref": "../../../../../common-types/resource-management/v3/types.json#/parameters/SubscriptionIdParameter" }, { - "$ref": "../../../../../common-types/resource-management/v5/types.json#/parameters/ResourceGroupNameParameter" + "$ref": "../../../../../common-types/resource-management/v3/types.json#/parameters/ResourceGroupNameParameter" }, { - "$ref": "../../../../../common-types/resource-management/v5/types.json#/parameters/ApiVersionParameter" + "$ref": "../../../../../common-types/resource-management/v3/types.json#/parameters/ApiVersionParameter" }, { "$ref": "#/parameters/PrivateLinkScopeName" @@ -909,7 +909,7 @@ "default": { "description": "Error response describing why the operation failed.", "schema": { - "$ref": "../../../../../common-types/resource-management/v5/types.json#/definitions/ErrorResponse" + "$ref": "../../../../../common-types/resource-management/v3/types.json#/definitions/ErrorResponse" } } }, @@ -932,13 +932,13 @@ "operationId": "NetworkSecurityPerimeterConfigurations_ReconcileForPrivateLinkScope", "parameters": [ { - "$ref": "../../../../../common-types/resource-management/v5/types.json#/parameters/SubscriptionIdParameter" + "$ref": "../../../../../common-types/resource-management/v3/types.json#/parameters/SubscriptionIdParameter" }, { - "$ref": "../../../../../common-types/resource-management/v5/types.json#/parameters/ResourceGroupNameParameter" + "$ref": "../../../../../common-types/resource-management/v3/types.json#/parameters/ResourceGroupNameParameter" }, { - "$ref": "../../../../../common-types/resource-management/v5/types.json#/parameters/ApiVersionParameter" + "$ref": "../../../../../common-types/resource-management/v3/types.json#/parameters/ApiVersionParameter" }, { "$ref": "#/parameters/PrivateLinkScopeName" @@ -972,7 +972,7 @@ "default": { "description": "Error response describing why the operation failed.", "schema": { - "$ref": "../../../../../common-types/resource-management/v5/types.json#/definitions/ErrorResponse" + "$ref": "../../../../../common-types/resource-management/v3/types.json#/definitions/ErrorResponse" } } }, From da46c25406eecdaccf7bc4e25b6b8c89628c0c8b Mon Sep 17 00:00:00 2001 From: adrielmsft Date: Wed, 11 Oct 2023 11:28:44 -0400 Subject: [PATCH 16/57] revert nsp config and network config changes --- .../NetworkConfigurationsCreate.json | 35 - .../NetworkConfigurationsGet.json | 29 - .../NetworkConfigurationsUpdate.json | 34 - ...workSecurityPerimeterConfigurationGet.json | 50 -- ...orkSecurityPerimeterConfigurationList.json | 90 -- ...curityPerimeterConfigurationReconcile.json | 18 - .../2023-10-03-preview/privateLinkScopes.json | 770 +----------------- 7 files changed, 3 insertions(+), 1023 deletions(-) delete mode 100644 specification/hybridcompute/resource-manager/Microsoft.HybridCompute/preview/2023-10-03-preview/examples/networkConfiguration/NetworkConfigurationsCreate.json delete mode 100644 specification/hybridcompute/resource-manager/Microsoft.HybridCompute/preview/2023-10-03-preview/examples/networkConfiguration/NetworkConfigurationsGet.json delete mode 100644 specification/hybridcompute/resource-manager/Microsoft.HybridCompute/preview/2023-10-03-preview/examples/networkConfiguration/NetworkConfigurationsUpdate.json delete mode 100644 specification/hybridcompute/resource-manager/Microsoft.HybridCompute/preview/2023-10-03-preview/examples/networkSecurityPerimeterConfiguration/NetworkSecurityPerimeterConfigurationGet.json delete mode 100644 specification/hybridcompute/resource-manager/Microsoft.HybridCompute/preview/2023-10-03-preview/examples/networkSecurityPerimeterConfiguration/NetworkSecurityPerimeterConfigurationList.json delete mode 100644 specification/hybridcompute/resource-manager/Microsoft.HybridCompute/preview/2023-10-03-preview/examples/networkSecurityPerimeterConfiguration/NetworkSecurityPerimeterConfigurationReconcile.json diff --git a/specification/hybridcompute/resource-manager/Microsoft.HybridCompute/preview/2023-10-03-preview/examples/networkConfiguration/NetworkConfigurationsCreate.json b/specification/hybridcompute/resource-manager/Microsoft.HybridCompute/preview/2023-10-03-preview/examples/networkConfiguration/NetworkConfigurationsCreate.json deleted file mode 100644 index 3f6419647845..000000000000 --- a/specification/hybridcompute/resource-manager/Microsoft.HybridCompute/preview/2023-10-03-preview/examples/networkConfiguration/NetworkConfigurationsCreate.json +++ /dev/null @@ -1,35 +0,0 @@ -{ - "parameters": { - "resourceUri": "subscriptions/f5bcc1d9-23af-4ae9-aca1-041d0f593a63/resourceGroups/hybridRG/providers/Microsoft.HybridCompute/machines/testMachine", - "api-version": "2023-10-03-preview", - "name": "default", - "parameters": { - "location": "westus", - "properties": { - "networkConfigurationScopeResourceId": "/subscriptions/f5bcc1d9-23af-4ae9-aca1-041d0f593a63/resourceGroups/hybridRG/providers/Microsoft.HybridCompute/privateLinkScopes/testScope" - } - } - }, - "responses": { - "200": { - "body": { - "id": "/subscriptions/f5bcc1d9-23af-4ae9-aca1-041d0f593a63/resourceGroups/hybridRG/providers/Microsoft.HybridCompute/machines/testMachine/providers/Microsoft.HybridCompute/networkConfigurations/default", - "name": "default", - "type": "Microsoft.HybridCompute/networkConfigurations", - "location": "westus", - "properties": { - "tenantId": "00000000-1111-2222-3333-444444444444", - "networkConfigurationScopeId": "c5dff806-9902-414d-a0cb-f83fa5407166", - "networkConfigurationScopeResourceId": "/subscriptions/f5bcc1d9-23af-4ae9-aca1-041d0f593a63/resourceGroups/hybridRG/providers/Microsoft.HybridCompute/privateLinkScopes/testScope", - "keyProperties": { - "clientPublicKey": { - "publicKey": "62617365363420656e636f646564207075626c6963206b6579", - "notAfter": "2021-01-01T00:00:00Z", - "renewAfter": "2021-02-01T00:00:00Z" - } - } - } - } - } - } -} diff --git a/specification/hybridcompute/resource-manager/Microsoft.HybridCompute/preview/2023-10-03-preview/examples/networkConfiguration/NetworkConfigurationsGet.json b/specification/hybridcompute/resource-manager/Microsoft.HybridCompute/preview/2023-10-03-preview/examples/networkConfiguration/NetworkConfigurationsGet.json deleted file mode 100644 index 684805cfaef8..000000000000 --- a/specification/hybridcompute/resource-manager/Microsoft.HybridCompute/preview/2023-10-03-preview/examples/networkConfiguration/NetworkConfigurationsGet.json +++ /dev/null @@ -1,29 +0,0 @@ -{ - "parameters": { - "resourceUri": "subscriptions/f5bcc1d9-23af-4ae9-aca1-041d0f593a63/resourceGroups/hybridRG/providers/Microsoft.HybridCompute/machines/testMachine", - "api-version": "2023-10-03-preview", - "name": "default" - }, - "responses": { - "200": { - "body": { - "id": "/subscriptions/f5bcc1d9-23af-4ae9-aca1-041d0f593a63/resourceGroups/hybridRG/providers/Microsoft.HybridCompute/machines/testMachine/providers/Microsoft.HybridCompute/networkConfigurations/default", - "name": "default", - "type": "Microsoft.HybridCompute/networkConfigurations", - "location": "westus", - "properties": { - "tenantId": "default", - "networkConfigurationScopeId": "c5dff806-9902-414d-a0cb-f83fa5407166", - "networkConfigurationScopeResourceId": "/subscriptions/f5bcc1d9-23af-4ae9-aca1-041d0f593a63/resourceGroups/hybridRG/providers/Microsoft.HybridCompute/privateLinkScopes/testScope", - "keyProperties": { - "clientPublicKey": { - "publicKey": "62617365363420656e636f646564207075626c6963206b6579", - "notAfter": "2021-01-01T00:00:00Z", - "renewAfter": "2021-02-01T00:00:00Z" - } - } - } - } - } - } -} diff --git a/specification/hybridcompute/resource-manager/Microsoft.HybridCompute/preview/2023-10-03-preview/examples/networkConfiguration/NetworkConfigurationsUpdate.json b/specification/hybridcompute/resource-manager/Microsoft.HybridCompute/preview/2023-10-03-preview/examples/networkConfiguration/NetworkConfigurationsUpdate.json deleted file mode 100644 index c8adeb3dbfc0..000000000000 --- a/specification/hybridcompute/resource-manager/Microsoft.HybridCompute/preview/2023-10-03-preview/examples/networkConfiguration/NetworkConfigurationsUpdate.json +++ /dev/null @@ -1,34 +0,0 @@ -{ - "parameters": { - "resourceUri": "subscriptions/f5bcc1d9-23af-4ae9-aca1-041d0f593a63/resourceGroups/hybridRG/providers/Microsoft.HybridCompute/machines/testMachine", - "api-version": "2023-10-03-preview", - "name": "default", - "parameters": { - "properties": { - "networkConfigurationScopeResourceId": "/subscriptions/f5bcc1d9-23af-4ae9-aca1-041d0f593a63/resourceGroups/hybridRG/providers/Microsoft.HybridCompute/privateLinkScopes/testScope" - } - } - }, - "responses": { - "200": { - "body": { - "id": "/subscriptions/f5bcc1d9-23af-4ae9-aca1-041d0f593a63/resourceGroups/hybridRG/providers/Microsoft.HybridCompute/machines/testMachine/providers/Microsoft.HybridCompute/networkConfigurations/default", - "name": "default", - "type": "Microsoft.HybridCompute/networkConfigurations", - "location": "westus", - "properties": { - "tenantId": "00000000-1111-2222-3333-444444444444", - "networkConfigurationScopeId": "c5dff806-9902-414d-a0cb-f83fa5407166", - "networkConfigurationScopeResourceId": "/subscriptions/f5bcc1d9-23af-4ae9-aca1-041d0f593a63/resourceGroups/hybridRG/providers/Microsoft.HybridCompute/privateLinkScopes/testScope", - "keyProperties": { - "clientPublicKey": { - "publicKey": "publickey", - "notAfter": "2021-01-01T00:00:00Z", - "renewAfter": "2021-02-01T00:00:00Z" - } - } - } - } - } - } -} diff --git a/specification/hybridcompute/resource-manager/Microsoft.HybridCompute/preview/2023-10-03-preview/examples/networkSecurityPerimeterConfiguration/NetworkSecurityPerimeterConfigurationGet.json b/specification/hybridcompute/resource-manager/Microsoft.HybridCompute/preview/2023-10-03-preview/examples/networkSecurityPerimeterConfiguration/NetworkSecurityPerimeterConfigurationGet.json deleted file mode 100644 index ec6712f9184e..000000000000 --- a/specification/hybridcompute/resource-manager/Microsoft.HybridCompute/preview/2023-10-03-preview/examples/networkSecurityPerimeterConfiguration/NetworkSecurityPerimeterConfigurationGet.json +++ /dev/null @@ -1,50 +0,0 @@ -{ - "parameters": { - "api-version": "2023-10-03-preview", - "subscriptionId": "86dc51d3-92ed-4d7e-947a-775ea79b4919", - "resourceGroupName": "my-resource-group", - "scopeName": "my-privatelinkscope", - "perimeterName": "ece2d09e-184e-4f71-beb9-346e8ab12b83.myAssociation" - }, - "responses": { - "200": { - "body": { - "id": "/subscriptions/00000000-1111-2222-3333-444444444444/resourceGroups/my-resource-group/providers/Microsoft.HybridCompute/privateLinkScopes/my-privatelinkscope/networkSecurityPerimeterConfigurations/ece2d09e-184e-4f71-beb9-346e8ab12b83.myAssociation", - "name": "ece2d09e-184e-4f71-beb9-346e8ab12b83.myAssociation", - "type": "Microsoft.HybridCompute/privateLinkScopes/networkSecurityPerimeterConfigurations", - "properties": { - "provisioningState": "Accepted", - "provisioningIssues": [], - "networkSecurityPerimeter": { - "id": "/subscriptions/55555555-6666-7777-8888-999999999999/resourceGroups/Default-Network/providers/Microsoft.Network/networkSecurityPerimeters/myPerimeter", - "perimeterGuid": "ece2d09e-184e-4f71-beb9-346e8ab12b83", - "location": "westus" - }, - "resourceAssociation": { - "name": "myAssociation", - "accessMode": "enforced" - }, - "profile": { - "name": "myProfile", - "accessRulesVersion": "1", - "accessRules": [ - { - "name": "myAccessRule", - "properties": { - "direction": "Inbound", - "addressPrefixes": [ - "148.0.0.0/8", - "152.4.6.0/24", - "..." - ] - } - } - ], - "diagnosticSettingsVersion": "1", - "enabledLogCategories": [] - } - } - } - } - } -} diff --git a/specification/hybridcompute/resource-manager/Microsoft.HybridCompute/preview/2023-10-03-preview/examples/networkSecurityPerimeterConfiguration/NetworkSecurityPerimeterConfigurationList.json b/specification/hybridcompute/resource-manager/Microsoft.HybridCompute/preview/2023-10-03-preview/examples/networkSecurityPerimeterConfiguration/NetworkSecurityPerimeterConfigurationList.json deleted file mode 100644 index 057f2330051e..000000000000 --- a/specification/hybridcompute/resource-manager/Microsoft.HybridCompute/preview/2023-10-03-preview/examples/networkSecurityPerimeterConfiguration/NetworkSecurityPerimeterConfigurationList.json +++ /dev/null @@ -1,90 +0,0 @@ -{ - "parameters": { - "api-version": "2023-10-03-preview", - "subscriptionId": "86dc51d3-92ed-4d7e-947a-775ea79b4919", - "resourceGroupName": "my-resource-group", - "scopeName": "my-privatelinkscope" - }, - "responses": { - "200": { - "body": { - "value": [ - { - "id": "/subscriptions/00000000-1111-2222-3333-444444444444/resourceGroups/my-resource-group/providers/Microsoft.HybridCompute/privateLinkScopes/my-privatelinkscope/networkSecurityPerimeterConfigurations/ece2d09e-184e-4f71-beb9-346e8ab12b83.myAssociation", - "name": "ece2d09e-184e-4f71-beb9-346e8ab12b83.myAssociation", - "type": "Microsoft.HybridCompute/privateLinkScopes/networkSecurityPerimeterConfigurations", - "properties": { - "provisioningState": "Accepted", - "provisioningIssues": [], - "networkSecurityPerimeter": { - "id": "/subscriptions/55555555-6666-7777-8888-999999999999/resourceGroups/Default-Network/providers/Microsoft.Network/networkSecurityPerimeters/myPerimeter", - "perimeterGuid": "ece2d09e-184e-4f71-beb9-346e8ab12b83", - "location": "westus" - }, - "resourceAssociation": { - "name": "myAssociation", - "accessMode": "enforced" - }, - "profile": { - "name": "myProfile", - "accessRulesVersion": "1", - "accessRules": [ - { - "name": "myAccessRule", - "properties": { - "direction": "Inbound", - "addressPrefixes": [ - "148.0.0.0/8", - "152.4.6.0/24", - "..." - ] - } - } - ], - "diagnosticSettingsVersion": "1", - "enabledLogCategories": [] - } - } - }, - { - "id": "/subscriptions/00000000-1111-2222-3333-444444444444/resourceGroups/my-resource-group/providers/Microsoft.HybridCompute/privateLinkScopes/my-privatelinkscope/networkSecurityPerimeterConfigurations/37364608-77ea-4c2a-bdc3-4b0b1cdfab15.myAssociation2", - "name": "37364608-77ea-4c2a-bdc3-4b0b1cdfab15.myAssociation2", - "type": "Microsoft.HybridCompute/privateLinkScopes/networkSecurityPerimeterConfigurations", - "properties": { - "provisioningState": "Accepted", - "provisioningIssues": [], - "networkSecurityPerimeter": { - "id": "/subscriptions/55555555-6666-7777-8888-999999999999/resourceGroups/Default-Network/providers/Microsoft.Network/networkSecurityPerimeters/myOtherPerimeter", - "perimeterGuid": "37364608-77ea-4c2a-bdc3-4b0b1cdfab15", - "location": "westus" - }, - "resourceAssociation": { - "name": "myAssociation", - "accessMode": "learning" - }, - "profile": { - "name": "myProfile", - "accessRulesVersion": "1", - "accessRules": [ - { - "name": "myAccessRule", - "properties": { - "direction": "Inbound", - "addressPrefixes": [ - "122.0.0.0/8", - "144.4.6.0/24", - "..." - ] - } - } - ], - "diagnosticSettingsVersion": "1", - "enabledLogCategories": [] - } - } - } - ] - } - } - } -} diff --git a/specification/hybridcompute/resource-manager/Microsoft.HybridCompute/preview/2023-10-03-preview/examples/networkSecurityPerimeterConfiguration/NetworkSecurityPerimeterConfigurationReconcile.json b/specification/hybridcompute/resource-manager/Microsoft.HybridCompute/preview/2023-10-03-preview/examples/networkSecurityPerimeterConfiguration/NetworkSecurityPerimeterConfigurationReconcile.json deleted file mode 100644 index e3a9502649c4..000000000000 --- a/specification/hybridcompute/resource-manager/Microsoft.HybridCompute/preview/2023-10-03-preview/examples/networkSecurityPerimeterConfiguration/NetworkSecurityPerimeterConfigurationReconcile.json +++ /dev/null @@ -1,18 +0,0 @@ -{ - "parameters": { - "api-version": "2023-10-03-preview", - "subscriptionId": "86dc51d3-92ed-4d7e-947a-775ea79b4919", - "resourceGroupName": "my-resource-group", - "scopeName": "my-privatelinkscope", - "perimeterName": "ece2d09e-184e-4f71-beb9-346e8ab12b83.myAssociation" - }, - "responses": { - "202": { - "headers": { - "Location": "{callbackUrl}", - "Retry-After": 200, - "Azure-AsyncOperation": "{callbackUri}" - } - } - } -} diff --git a/specification/hybridcompute/resource-manager/Microsoft.HybridCompute/preview/2023-10-03-preview/privateLinkScopes.json b/specification/hybridcompute/resource-manager/Microsoft.HybridCompute/preview/2023-10-03-preview/privateLinkScopes.json index ee088d6a3931..80b0fe0516df 100644 --- a/specification/hybridcompute/resource-manager/Microsoft.HybridCompute/preview/2023-10-03-preview/privateLinkScopes.json +++ b/specification/hybridcompute/resource-manager/Microsoft.HybridCompute/preview/2023-10-03-preview/privateLinkScopes.json @@ -694,742 +694,9 @@ } } } - }, - "/{resourceUri}/providers/Microsoft.HybridCompute/networkConfigurations": { - "get": { - "tags": [ - "NetworkConfigurations" - ], - "description": "Returns a NetworkConfiguration for the target resource.", - "operationId": "NetworkConfigurations_Get", - "produces": [ - "application/json" - ], - "x-ms-examples": { - "NetworkConfigurationsGet": { - "$ref": "./examples/networkConfiguration/NetworkConfigurationsGet.json" - } - }, - "parameters": [ - { - "$ref": "../../../../../common-types/resource-management/v3/types.json#/parameters/ApiVersionParameter" - }, - { - "$ref": "#/parameters/ResourceUriParameter" - } - ], - "responses": { - "200": { - "description": "Network Configuration information for the target resource.", - "schema": { - "$ref": "#/definitions/NetworkConfiguration" - } - }, - "default": { - "description": "Error response describing why the operation failed.", - "schema": { - "$ref": "../../../../../common-types/resource-management/v3/types.json#/definitions/ErrorResponse" - } - } - }, - "deprecated": false - }, - "put": { - "tags": [ - "NetworkConfigurations" - ], - "description": "Create or update the NetworkConfiguration of the target resource.", - "operationId": "NetworkConfigurations_CreateOrUpdate", - "produces": [ - "application/json" - ], - "x-ms-examples": { - "NetworkConfigurationsCreate": { - "$ref": "./examples/networkConfiguration/NetworkConfigurationsCreate.json" - }, - "NetworkConfigurationsUpdate": { - "$ref": "./examples/networkConfiguration/NetworkConfigurationsUpdate.json" - } - }, - "parameters": [ - { - "$ref": "../../../../../common-types/resource-management/v3/types.json#/parameters/ApiVersionParameter" - }, - { - "$ref": "#/parameters/ResourceUriParameter" - }, - { - "name": "parameters", - "description": "Network Configuration details", - "in": "body", - "required": true, - "schema": { - "$ref": "#/definitions/NetworkConfiguration" - } - } - ], - "responses": { - "200": { - "description": "Network Configuration information for the target resource.", - "schema": { - "$ref": "#/definitions/NetworkConfiguration" - } - }, - "default": { - "description": "Error response describing why the operation failed.", - "schema": { - "$ref": "../../../../../common-types/resource-management/v3/types.json#/definitions/ErrorResponse" - } - } - } - }, - "patch": { - "tags": [ - "NetworkConfigurations" - ], - "description": "Update the endpoint to the target resource.", - "operationId": "NetworkConfigurations_Update", - "produces": [ - "application/json" - ], - "x-ms-examples": { - "NetworkConfigurationsUpdate": { - "$ref": "./examples/networkConfiguration/NetworkConfigurationsUpdate.json" - } - }, - "parameters": [ - { - "$ref": "../../../../../common-types/resource-management/v3/types.json#/parameters/ApiVersionParameter" - }, - { - "$ref": "#/parameters/ResourceUriParameter" - }, - { - "name": "parameters", - "description": "Network Configuration details", - "in": "body", - "required": true, - "schema": { - "$ref": "#/definitions/NetworkConfiguration" - } - } - ], - "responses": { - "200": { - "description": "Network Configuration information for the target resource.", - "schema": { - "$ref": "#/definitions/NetworkConfiguration" - } - }, - "default": { - "description": "Error response describing why the operation failed.", - "schema": { - "$ref": "../../../../../common-types/resource-management/v3/types.json#/definitions/ErrorResponse" - } - } - } - } - }, - "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.HybridCompute/privateLinkScopes/{scopeName}/networkSecurityPerimeterConfigurations/{perimeterGuid}.{associationName}": { - "get": { - "tags": [ - "NetworkSecurityPerimeterConfiguration" - ], - "description": "Gets the network security perimeter configuration for a private link scope.", - "operationId": "NetworkSecurityPerimeterConfigurations_GetByPrivateLinkScope", - "parameters": [ - { - "$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/ApiVersionParameter" - }, - { - "$ref": "#/parameters/PrivateLinkScopeName" - }, - { - "$ref": "#/parameters/PerimeterGuid" - }, - { - "$ref": "#/parameters/AssociationName" - } - ], - "responses": { - "200": { - "description": "Successfully retrieved network security perimeter configuration details.", - "schema": { - "$ref": "#/definitions/NetworkSecurityPerimeterConfiguration" - } - }, - "default": { - "description": "Error response describing why the operation failed.", - "schema": { - "$ref": "../../../../../common-types/resource-management/v3/types.json#/definitions/ErrorResponse" - } - } - }, - "x-ms-examples": { - "Gets the network security perimeter configuration of the private link scope.": { - "$ref": "./examples/networkSecurityPerimeterConfiguration/NetworkSecurityPerimeterConfigurationGet.json" - } - } - } - }, - "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.HybridCompute/privateLinkScopes/{scopeName}/networkSecurityPerimeterConfigurations": { - "get": { - "tags": [ - "NetworkSecurityPerimeterConfiguration" - ], - "description": "Lists the network security perimeter configurations for a private link scope.", - "operationId": "NetworkSecurityPerimeterConfigurations_ListByPrivateLinkScope", - "parameters": [ - { - "$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/ApiVersionParameter" - }, - { - "$ref": "#/parameters/PrivateLinkScopeName" - } - ], - "responses": { - "200": { - "description": "Successfully retrieved network security perimeter configuration details.", - "schema": { - "$ref": "#/definitions/NetworkSecurityPerimeterConfigurationListResult" - } - }, - "default": { - "description": "Error response describing why the operation failed.", - "schema": { - "$ref": "../../../../../common-types/resource-management/v3/types.json#/definitions/ErrorResponse" - } - } - }, - "x-ms-pageable": { - "nextLinkName": "nextLink" - }, - "x-ms-examples": { - "Gets the list of network security perimeter configurations of the private link scope.": { - "$ref": "./examples/networkSecurityPerimeterConfiguration/NetworkSecurityPerimeterConfigurationList.json" - } - } - } - }, - "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.HybridCompute/privateLinkScopes/{scopeName}/networkSecurityPerimeterConfigurations/{perimeterGuid}.{associationName}/reconcile": { - "post": { - "tags": [ - "NetworkSecurityPerimeterConfiguration" - ], - "description": "Forces the network security perimeter configuration to refresh for a private link scope.", - "operationId": "NetworkSecurityPerimeterConfigurations_ReconcileForPrivateLinkScope", - "parameters": [ - { - "$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/ApiVersionParameter" - }, - { - "$ref": "#/parameters/PrivateLinkScopeName" - }, - { - "$ref": "#/parameters/PerimeterGuid" - }, - { - "$ref": "#/parameters/AssociationName" - } - ], - "responses": { - "202": { - "description": "Accepted.", - "headers": { - "Location": { - "description": "The URL of the resource used to check the status of the asynchronous operation.", - "type": "string" - }, - "Retry-After": { - "description": "The recommended number of seconds to wait before calling the URI specified in Azure-AsyncOperation.", - "type": "integer", - "format": "int32" - }, - "Azure-AsyncOperation": { - "description": "The URI to poll for completion status.", - "type": "string" - } - } - }, - "default": { - "description": "Error response describing why the operation failed.", - "schema": { - "$ref": "../../../../../common-types/resource-management/v3/types.json#/definitions/ErrorResponse" - } - } - }, - "x-ms-long-running-operation": true, - "x-ms-examples": { - "Reconciles the network security perimeter configuration of the private link scope.": { - "$ref": "./examples/networkSecurityPerimeterConfiguration/NetworkSecurityPerimeterConfigurationReconcile.json" - } - } - } - } - }, - "definitions": { - "NetworkConfiguration": { - "type": "object", - "properties": { - "id": { - "type": "string", - "readOnly": true, - "description": "Azure resource Id" - }, - "name": { - "type": "string", - "description": "Azure resource name", - "readOnly": true - }, - "type": { - "type": "string", - "readOnly": true, - "description": "Azure resource type" - }, - "location": { - "type": "string", - "description": "Resource location", - "x-ms-mutability": [ - "create", - "read" - ] - }, - "properties": { - "x-ms-client-flatten": true, - "$ref": "#/definitions/NetworkConfigurationProperties" - } - }, - "x-ms-azure-resource": true, - "description": "An azure resource object" - }, - "NetworkConfigurationProperties": { - "type": "object", - "description": "Network configuration properties", - "properties": { - "tenantId": { - "type": "string", - "readOnly": true, - "description": "Azure resource tenant Id" - }, - "networkConfigurationScopeId": { - "type": "string", - "description": "Associated Network Configuration Scope Id" - }, - "networkConfigurationScopeResourceId": { - "type": "string", - "description": "Associated Network Configuration Scope Resource Id" - }, - "keyProperties": { - "description": "Public key information for client authentication", - "readOnly": true, - "$ref": "#/definitions/KeyProperties" - } - }, - "required": [ - "networkConfigurationScopeResourceId" - ] - }, - "KeyProperties": { - "type": "object", - "description": "Public key information for client authentication", - "properties": { - "clientPublicKey": { - "description": "Current public key details", - "readOnly": true, - "$ref": "#/definitions/KeyDetails" - }, - "candidatePublicKey": { - "description": "Candidate public key details", - "readOnly": true, - "$ref": "#/definitions/KeyDetails" - } - } - }, - "KeyDetails": { - "type": "object", - "description": "Public key details", - "properties": { - "publicKey": { - "type": "string", - "description": "Public key", - "readOnly": true - }, - "notAfter": { - "type": "string", - "format": "date-time", - "description": "Key expiration date", - "readOnly": true - }, - "renewAfter": { - "type": "string", - "format": "date-time", - "description": "Recommended key renewal date", - "readOnly": true - } - } - }, - "NetworkSecurityPerimeterConfiguration": { - "type": "object", - "description": "Properties that define a Network Security Perimeter resource.", - "properties": { - "id": { - "type": "string", - "readOnly": true, - "description": "Azure resource Id" - }, - "name": { - "type": "string", - "description": "Azure resource name", - "readOnly": true - }, - "type": { - "type": "string", - "readOnly": true, - "description": "Azure resource type" - }, - "properties": { - "x-ms-client-flatten": true, - "description": "Properties that define a Network Security Perimeter resource.", - "$ref": "#/definitions/NetworkSecurityPerimeterConfigurationProperties" - } - }, - "x-ms-azure-resource": true - }, - "NetworkSecurityPerimeterConfigurationProperties": { - "type": "object", - "description": "Properties that define a Network Security Perimeter resource.", - "properties": { - "provisioningState": { - "type": "string", - "description": "Current state of this NetworkSecurityPerimeter: whether or not is has been provisioned within the resource group it is defined. Users cannot change this value but are able to read from it. Values will include Provisioning ,Succeeded, Canceled and Failed.", - "readOnly": true - }, - "provisioningIssues": { - "type": "array", - "description": "Provisioning issues.", - "readOnly": true, - "items": { - "$ref": "#/definitions/ProvisioningIssue" - } - }, - "networkSecurityPerimeter": { - "description": "The Network Security Perimeter associated with this configuration.", - "$ref": "#/definitions/NetworkSecurityPerimeter" - }, - "resourceAssociation": { - "description": "The Resource Association.", - "$ref": "#/definitions/ResourceAssociation" - }, - "profile": { - "description": "Network Security Perimeter profile", - "$ref": "#/definitions/NetworkSecurityPerimeterProfile" - } - } - }, - "NetworkSecurityPerimeterProfile": { - "type": "object", - "description": "Network Security Perimeter profile", - "properties": { - "name": { - "type": "string", - "description": "Name of the resource", - "readOnly": true - }, - "accessRulesVersion": { - "type": "string", - "description": "Access rules version number", - "readOnly": true - }, - "accessRules": { - "type": "array", - "description": "Collection of access rules for the profile", - "readOnly": true, - "items": { - "$ref": "#/definitions/AccessRule" - } - }, - "diagnosticSettingsVersion": { - "type": "string", - "description": "Diagnostic settings version number", - "readOnly": true - }, - "enabledLogCategories": { - "type": "array", - "description": "Collection of enabled log categories for the profile", - "readOnly": true, - "items": { - "type": "string" - } - } - } - }, - "ProvisioningIssue": { - "type": "object", - "description": "Details on issues that occurred during provisioning.", - "properties": { - "name": { - "type": "string", - "description": "Name of the provisioning issue.", - "readOnly": true - }, - "properties": { - "x-ms-client-flatten": true, - "description": "Provisioning issue properties", - "readOnly": true, - "$ref": "#/definitions/ProvisioningIssueProperties" - } - } - }, - "ProvisioningIssueProperties": { - "type": "object", - "description": "Properties of a provisioning issue.", - "properties": { - "issueType": { - "description": "Issue type", - "readOnly": true, - "$ref": "#/definitions/ProvisioningIssueType" - }, - "severity": { - "description": "Severity of the provisioning issue.", - "readOnly": true, - "$ref": "#/definitions/ProvisioningIssueSeverity" - }, - "description": { - "type": "string", - "description": "Description of the provisioning issue.", - "readOnly": true - }, - "suggestedResourceIds": { - "type": "array", - "description": "ARM Ids of the resources that can be associated to the same perimeter to remediate the issue", - "readOnly": true, - "items": { - "type": "string" - } - }, - "suggestedAccessRules": { - "type": "array", - "description": "Access rules that can be added to the perimeter to remediate the issue", - "readOnly": true, - "items": { - "$ref": "#/definitions/AccessRule" - } - } - } - }, - "ProvisioningIssueType": { - "type": "string", - "description": "Type of provisioning issue.", - "enum": [ - "MissingPerimeterConfiguration", - "MissingIdentityConfiguration", - "ConfigurationPropagationFailure", - "Other" - ], - "x-ms-enum": { - "name": "ProvisioningIssueType", - "modelAsString": true, - "values": [ - { - "value": "MissingPerimeterConfiguration", - "description": "Perimeter configuration is missing." - }, - { - "value": "MissingIdentityConfiguration", - "description": "Identity configuration is missing." - }, - { - "value": "ConfigurationPropagationFailure", - "description": "Configuration failed to propagate." - }, - { - "value": "Other", - "description": "Other failure." - } - ] - } - }, - "ProvisioningIssueSeverity": { - "type": "string", - "description": "Severity of the provisioning issue.", - "enum": [ - "Warning", - "Error" - ], - "x-ms-enum": { - "name": "ProvisioningIssueSeverity", - "modelAsString": true, - "values": [ - { - "value": "Warning", - "description": "Warnings can cause connectivity issues after provisioning succeeds." - }, - { - "value": "Error", - "description": "Errors will cause association provisioning to fail." - } - ] - } - }, - "AccessMode": { - "type": "string", - "description": "Property that impacts a resource's logging behavior and its connectivity with other resources and public networks.", - "enum": [ - "enforced", - "audit", - "learning" - ], - "x-ms-enum": { - "name": "AccessMode", - "modelAsString": true, - "values": [ - { - "value": "enforced", - "description": "Indicates that resource access is controlled by the NSP definition." - }, - { - "value": "audit", - "description": "Dry run mode, where traffic is evaluated against NSP Rules, logged but not enforced." - }, - { - "value": "learning", - "description": "Enables traffic evaluation to fall back to resource-specific firewall configurations." - } - ] - } - }, - "AccessRuleDirection": { - "type": "string", - "description": "Indicates direction of an access rule.", - "enum": [ - "Inbound", - "Outbound" - ], - "x-ms-enum": { - "name": "AccessMode", - "modelAsString": true, - "values": [ - { - "value": "Inbound", - "description": "Traffic originates outside of network." - }, - { - "value": "Outbound", - "description": "Traffic originates inside the network" - } - ] - } - }, - "AccessRule": { - "type": "object", - "description": "Access rule.", - "properties": { - "name": { - "type": "string", - "description": "Name of the access rule.", - "readOnly": true - }, - "properties": { - "x-ms-client-flatten": true, - "description": "Access rule properties", - "readOnly": true, - "$ref": "#/definitions/AccessRuleProperties" - } - } - }, - "AccessRuleProperties": { - "type": "object", - "description": "Properties of an access rule.", - "properties": { - "direction": { - "description": "Direction of the access rule.", - "readOnly": true, - "$ref": "#/definitions/AccessRuleDirection" - }, - "addressPrefixes": { - "type": "array", - "description": "Address prefixes that are allowed access.", - "readOnly": true, - "items": { - "type": "string" - } - } - } - }, - "NetworkSecurityPerimeter": { - "type": "object", - "description": "Properties that define a Network Security Perimeter resource.", - "properties": { - "id": { - "type": "string", - "readOnly": true, - "description": "Azure resource Id" - }, - "perimeterGuid": { - "type": "string", - "description": "Guid of the Network Security Perimeter", - "readOnly": true - }, - "location": { - "type": "string", - "readOnly": true, - "description": "Regional location of the perimeter" - } - } - }, - "NetworkSecurityPerimeterConfigurationListResult": { - "type": "object", - "description": "A list of network security perimeter configurations.", - "properties": { - "value": { - "description": "Array of results.", - "type": "array", - "items": { - "$ref": "#/definitions/NetworkSecurityPerimeterConfiguration" - }, - "readOnly": true - }, - "nextLink": { - "description": "Link to retrieve next page of results.", - "type": "string", - "readOnly": true - } - } - }, - "ResourceAssociation": { - "type": "object", - "description": "Properties that define a Resource Association.", - "properties": { - "name": { - "type": "string", - "readOnly": true, - "description": "Name of the Resource Association" - }, - "accessMode": { - "description": "The access mode", - "readOnly": true, - "$ref": "#/definitions/AccessMode" - } - } - }, + } + }, + "definitions": { "PrivateLinkScopesResource": { "type": "object", "properties": { @@ -1858,37 +1125,6 @@ "description": "The name of the target machine to get the private link scope validation details for.", "minLength": 1, "x-ms-parameter-location": "method" - }, - "ResourceUriParameter": { - "name": "resourceUri", - "in": "path", - "required": true, - "type": "string", - "description": "The fully qualified Azure Resource manager identifier of the resource to be connected.", - "x-ms-skip-url-encoding": true, - "x-ms-parameter-location": "method" - }, - "NetworkConfigurationScopeId": { - "name": "scopeId", - "in": "path", - "required": true, - "type": "string", - "description": "The id (Guid) of the Azure Arc Network Configuration Scope resource.", - "x-ms-parameter-location": "method" - }, - "PerimeterGuid": { - "name": "perimeterGuid", - "in": "path", - "required": true, - "type": "string", - "description": "The id (Guid) of the Network Security Perimeter resource." - }, - "AssociationName": { - "name": "associationName", - "in": "path", - "required": true, - "type": "string", - "description": "The name of the resource association resource which represents an association between a private link scope and Network Security Perimeter Profile" } } } From ec5b9936d7543769994585804c9d33085f321908 Mon Sep 17 00:00:00 2001 From: Zhe Jiao Date: Thu, 12 Oct 2023 15:10:01 -0700 Subject: [PATCH 17/57] Remove MachineType and update related examples --- .../2023-10-03-preview/HybridCompute.json | 19 ------------------- .../machine/Machines_CreateOrUpdate.json | 3 +-- .../examples/machine/Machines_Get.json | 3 +-- ...chines_Get_LicenseProfileInstanceView.json | 3 +-- .../machine/Machines_ListByResourceGroup.json | 6 ++---- .../machine/Machines_ListBySubscription.json | 6 ++---- .../examples/machine/Machines_Update.json | 3 +-- 7 files changed, 8 insertions(+), 35 deletions(-) diff --git a/specification/hybridcompute/resource-manager/Microsoft.HybridCompute/preview/2023-10-03-preview/HybridCompute.json b/specification/hybridcompute/resource-manager/Microsoft.HybridCompute/preview/2023-10-03-preview/HybridCompute.json index 50c851e52526..9f01f32801be 100644 --- a/specification/hybridcompute/resource-manager/Microsoft.HybridCompute/preview/2023-10-03-preview/HybridCompute.json +++ b/specification/hybridcompute/resource-manager/Microsoft.HybridCompute/preview/2023-10-03-preview/HybridCompute.json @@ -2720,10 +2720,6 @@ "type": "string", "description": "The edition of the Operating System." }, - "machineType": { - "$ref": "#/definitions/MachineType", - "description": "The machine type." - }, "domainName": { "readOnly": true, "type": "string", @@ -3481,7 +3477,6 @@ "readOnly": true, "type": "string", "enum": [ - "Unknown", "Unlicensed", "Licensed", "OOBGrace", @@ -3496,20 +3491,6 @@ }, "description": "The license status." }, - "MachineType": { - "readOnly": true, - "type": "string", - "enum": [ - "Unknown", - "VM", - "Native" - ], - "x-ms-enum": { - "name": "MachineType", - "modelAsString": true - }, - "description": "The machine type." - }, "LicenseProfileSubscriptionStatus": { "type": "string", "enum": [ diff --git a/specification/hybridcompute/resource-manager/Microsoft.HybridCompute/preview/2023-10-03-preview/examples/machine/Machines_CreateOrUpdate.json b/specification/hybridcompute/resource-manager/Microsoft.HybridCompute/preview/2023-10-03-preview/examples/machine/Machines_CreateOrUpdate.json index ab87266acd50..dedc9af83e0a 100644 --- a/specification/hybridcompute/resource-manager/Microsoft.HybridCompute/preview/2023-10-03-preview/examples/machine/Machines_CreateOrUpdate.json +++ b/specification/hybridcompute/resource-manager/Microsoft.HybridCompute/preview/2023-10-03-preview/examples/machine/Machines_CreateOrUpdate.json @@ -45,7 +45,6 @@ "vmUuid": null, "osSku": null, "osEdition": "Standard", - "machineType": "Unknown", "domainName": null, "adFqdn": null, "dnsFqdn": null, @@ -67,7 +66,7 @@ } }, "licenseProfile": { - "licenseStatus": "Unknown", + "licenseStatus": "Licensed", "licenseChannel": "PSG", "softwareAssurance": { "softwareAssuranceCustomer": true diff --git a/specification/hybridcompute/resource-manager/Microsoft.HybridCompute/preview/2023-10-03-preview/examples/machine/Machines_Get.json b/specification/hybridcompute/resource-manager/Microsoft.HybridCompute/preview/2023-10-03-preview/examples/machine/Machines_Get.json index f603d8690e72..e9b5ac53d1d3 100644 --- a/specification/hybridcompute/resource-manager/Microsoft.HybridCompute/preview/2023-10-03-preview/examples/machine/Machines_Get.json +++ b/specification/hybridcompute/resource-manager/Microsoft.HybridCompute/preview/2023-10-03-preview/examples/machine/Machines_Get.json @@ -30,7 +30,6 @@ "vmUuid": null, "osSku": null, "osEdition": "Standard", - "machineType": "Unknown", "domainName": null, "adFqdn": null, "dnsFqdn": null, @@ -52,7 +51,7 @@ } }, "licenseProfile": { - "licenseStatus": "Unknown", + "licenseStatus": "Licensed", "licenseChannel": "PSG", "softwareAssurance": { "softwareAssuranceCustomer": true diff --git a/specification/hybridcompute/resource-manager/Microsoft.HybridCompute/preview/2023-10-03-preview/examples/machine/Machines_Get_LicenseProfileInstanceView.json b/specification/hybridcompute/resource-manager/Microsoft.HybridCompute/preview/2023-10-03-preview/examples/machine/Machines_Get_LicenseProfileInstanceView.json index 4fd18d0e37fc..e814011256a1 100644 --- a/specification/hybridcompute/resource-manager/Microsoft.HybridCompute/preview/2023-10-03-preview/examples/machine/Machines_Get_LicenseProfileInstanceView.json +++ b/specification/hybridcompute/resource-manager/Microsoft.HybridCompute/preview/2023-10-03-preview/examples/machine/Machines_Get_LicenseProfileInstanceView.json @@ -31,7 +31,6 @@ "vmUuid": null, "osSku": null, "osEdition": "Standard", - "machineType": "Unknown", "domainName": null, "adFqdn": null, "dnsFqdn": null, @@ -53,7 +52,7 @@ } }, "licenseProfile": { - "licenseStatus": "Unknown", + "licenseStatus": "Licensed", "licenseChannel": "PSG", "softwareAssurance": { "softwareAssuranceCustomer": true diff --git a/specification/hybridcompute/resource-manager/Microsoft.HybridCompute/preview/2023-10-03-preview/examples/machine/Machines_ListByResourceGroup.json b/specification/hybridcompute/resource-manager/Microsoft.HybridCompute/preview/2023-10-03-preview/examples/machine/Machines_ListByResourceGroup.json index 9ade8c8d0ff9..41655a79c951 100644 --- a/specification/hybridcompute/resource-manager/Microsoft.HybridCompute/preview/2023-10-03-preview/examples/machine/Machines_ListByResourceGroup.json +++ b/specification/hybridcompute/resource-manager/Microsoft.HybridCompute/preview/2023-10-03-preview/examples/machine/Machines_ListByResourceGroup.json @@ -31,7 +31,6 @@ "vmUuid": null, "osSku": null, "osEdition": "Standard", - "machineType": "Unknown", "domainName": null, "adFqdn": null, "dnsFqdn": null, @@ -53,7 +52,7 @@ } }, "licenseProfile": { - "licenseStatus": "Unknown", + "licenseStatus": "Licensed", "licenseChannel": "PSG", "softwareAssurance": { "softwareAssuranceCustomer": true @@ -142,7 +141,6 @@ "displayName": null, "machineFqdn": null, "osEdition": "Standard", - "machineType": "Unknown", "osVersion": null, "osType": null, "osProfile": { @@ -161,7 +159,7 @@ } }, "licenseProfile": { - "licenseStatus": "Unknown", + "licenseStatus": "Licensed", "licenseChannel": "PSG", "softwareAssurance": { "softwareAssuranceCustomer": true diff --git a/specification/hybridcompute/resource-manager/Microsoft.HybridCompute/preview/2023-10-03-preview/examples/machine/Machines_ListBySubscription.json b/specification/hybridcompute/resource-manager/Microsoft.HybridCompute/preview/2023-10-03-preview/examples/machine/Machines_ListBySubscription.json index 11cb851d2e22..0774773f18ac 100644 --- a/specification/hybridcompute/resource-manager/Microsoft.HybridCompute/preview/2023-10-03-preview/examples/machine/Machines_ListBySubscription.json +++ b/specification/hybridcompute/resource-manager/Microsoft.HybridCompute/preview/2023-10-03-preview/examples/machine/Machines_ListBySubscription.json @@ -30,7 +30,6 @@ "vmUuid": null, "osSku": null, "osEdition": "Standard", - "machineType": "Unknown", "domainName": null, "adFqdn": null, "dnsFqdn": null, @@ -52,7 +51,7 @@ } }, "licenseProfile": { - "licenseStatus": "Unknown", + "licenseStatus": "Licensed", "licenseChannel": "PSG", "softwareAssurance": { "softwareAssuranceCustomer": true @@ -141,7 +140,6 @@ "displayName": null, "machineFqdn": null, "osEdition": "Standard", - "machineType": "Unknown", "osVersion": null, "osType": null, "osProfile": { @@ -160,7 +158,7 @@ } }, "licenseProfile": { - "licenseStatus": "Unknown", + "licenseStatus": "Licensed", "licenseChannel": "PSG", "softwareAssurance": { "softwareAssuranceCustomer": true diff --git a/specification/hybridcompute/resource-manager/Microsoft.HybridCompute/preview/2023-10-03-preview/examples/machine/Machines_Update.json b/specification/hybridcompute/resource-manager/Microsoft.HybridCompute/preview/2023-10-03-preview/examples/machine/Machines_Update.json index e25b51050aff..a0607e8d3ac3 100644 --- a/specification/hybridcompute/resource-manager/Microsoft.HybridCompute/preview/2023-10-03-preview/examples/machine/Machines_Update.json +++ b/specification/hybridcompute/resource-manager/Microsoft.HybridCompute/preview/2023-10-03-preview/examples/machine/Machines_Update.json @@ -58,7 +58,6 @@ "vmUuid": null, "osSku": null, "osEdition": "Standard", - "machineType": "Unknown", "domainName": null, "adFqdn": null, "dnsFqdn": null, @@ -80,7 +79,7 @@ } }, "licenseProfile": { - "licenseStatus": "Unknown", + "licenseStatus": "Licensed", "licenseChannel": "PSG", "softwareAssurance": { "softwareAssuranceCustomer": true From 75fbbafdb18892ad944eba25ce9caf9b3d13166f Mon Sep 17 00:00:00 2001 From: Ved Kale Date: Fri, 13 Oct 2023 14:55:47 -0700 Subject: [PATCH 18/57] fix casing --- .../preview/2023-10-03-preview/HybridCompute.json | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/specification/hybridcompute/resource-manager/Microsoft.HybridCompute/preview/2023-10-03-preview/HybridCompute.json b/specification/hybridcompute/resource-manager/Microsoft.HybridCompute/preview/2023-10-03-preview/HybridCompute.json index d6357cefa5ea..a40ff4d48779 100644 --- a/specification/hybridcompute/resource-manager/Microsoft.HybridCompute/preview/2023-10-03-preview/HybridCompute.json +++ b/specification/hybridcompute/resource-manager/Microsoft.HybridCompute/preview/2023-10-03-preview/HybridCompute.json @@ -830,7 +830,7 @@ "tags": [ "licenseProfiles" ], - "operationId": "licenseProfiles_List", + "operationId": "LicenseProfiles_List", "description": "The operation to get all license profiles of a non-Azure machine", "parameters": [ { From fd7c5a663d8f8e903cd4b303a0dbbb22ed04d846 Mon Sep 17 00:00:00 2001 From: Zhe Jiao Date: Mon, 16 Oct 2023 13:56:56 -0700 Subject: [PATCH 19/57] Address feedbacks --- .../2023-10-03-preview/HybridCompute.json | 137 ++++++------------ .../LicenseProfile_CreateOrUpdate.json | 77 +++++----- .../licenseProfile/LicenseProfile_Get.json | 29 ++-- .../licenseProfile/LicenseProfile_List.json | 29 ++-- .../licenseProfile/LicenseProfile_Update.json | 48 +++--- .../machine/Machines_CreateOrUpdate.json | 29 ++-- .../examples/machine/Machines_Get.json | 29 ++-- ...chines_Get_LicenseProfileInstanceView.json | 29 ++-- .../machine/Machines_ListByResourceGroup.json | 58 ++++---- .../machine/Machines_ListBySubscription.json | 58 ++++---- .../examples/machine/Machines_Update.json | 29 ++-- 11 files changed, 257 insertions(+), 295 deletions(-) diff --git a/specification/hybridcompute/resource-manager/Microsoft.HybridCompute/preview/2023-10-03-preview/HybridCompute.json b/specification/hybridcompute/resource-manager/Microsoft.HybridCompute/preview/2023-10-03-preview/HybridCompute.json index beaffd996a11..d612d6669e0f 100644 --- a/specification/hybridcompute/resource-manager/Microsoft.HybridCompute/preview/2023-10-03-preview/HybridCompute.json +++ b/specification/hybridcompute/resource-manager/Microsoft.HybridCompute/preview/2023-10-03-preview/HybridCompute.json @@ -3116,21 +3116,10 @@ "$ref": "#/definitions/LicenseProfileArmEsuProperties", "description": "Hybrid Compute ESU Profile properties" }, - "products": { + "osProfile": { "x-ms-client-flatten": true, - "type": "object", - "properties": { - "windowsServerProfile": { - "x-ms-client-flatten": true, - "$ref": "#/definitions/LicenseProfileArmWindowsServerProperties", - "description": "Hybrid Compute Windows Server Profile properties" - }, - "iotEnterpriseProfile": { - "x-ms-client-flatten": true, - "$ref": "#/definitions/LicenseProfileArmIoTEnterpriseProperties", - "description": "Hybrid Compute Windows IoT Enterprise Profile properties" - } - } + "$ref": "#/definitions/LicenseProfileArmOsProfileProperties", + "description": "Hybrid Compute OS Profile properties" }, "provisioningState": { "$ref": "#/definitions/ProvisioningState", @@ -3169,21 +3158,10 @@ "$ref": "#/definitions/EsuProfileUpdateProperties", "description": "Hybrid Compute ESU Profile Update properties" }, - "products": { + "osProfile": { "x-ms-client-flatten": true, - "type": "object", - "properties": { - "windowsServerProfile": { - "x-ms-client-flatten": true, - "$ref": "#/definitions/WindowsServerProfileUpdateProperties", - "description": "Hybrid Compute Windows Server Profile Update properties" - }, - "iotEnterpriseProfile": { - "x-ms-client-flatten": true, - "$ref": "#/definitions/IotEnterpriseProfileUpdateProperties", - "description": "Hybrid Compute Windows IoT Enterprise Profile Update properties" - } - } + "$ref": "#/definitions/OsProfileUpdateProperties", + "description": "Hybrid Compute OS Profile Update properties" } }, "description": "Describe the Update properties of a license profile." @@ -3348,7 +3326,7 @@ "name": "LicenseProfileSubscriptionStatusUpdate", "modelAsString": true }, - "description": "Indicates the new subscription status of the Windows Server, IoT Enterprise or Product Features." + "description": "Indicates the new subscription status of the OS or Product Features." }, "ProductFeatureUpdate": { "type": "object", @@ -3364,30 +3342,16 @@ }, "description": "Product Feature" }, - "WindowsServerProfileUpdateProperties": { + "OsProfileUpdateProperties": { "type": "object", "properties": { "subscriptionStatus": { "$ref": "#/definitions/LicenseProfileSubscriptionStatusUpdate", - "description": "Indicates the subscription status of the Windows Server." + "description": "Indicates the subscription status of the OS." }, - "productFeatures": { - "type": "array", - "items": { - "$ref": "#/definitions/ProductFeatureUpdate" - }, - "description": "The list of product feature updates.", - "x-ms-identifiers": [] - } - }, - "description": "Describes the Update properties of a Windows Server License Profile." - }, - "IotEnterpriseProfileUpdateProperties": { - "type": "object", - "properties": { - "subscriptionStatus": { - "$ref": "#/definitions/LicenseProfileSubscriptionStatusUpdate", - "description": "Indicates the subscription status of the Windows IoT Enterprise." + "osType": { + "$ref": "#/definitions/LicenseProfileOsType", + "description": "Indicates the operating system type of the machine." }, "productFeatures": { "type": "array", @@ -3398,7 +3362,7 @@ "x-ms-identifiers": [] } }, - "description": "Describes the Update properties of a Windows IoT Enterprise License Profile." + "description": "Describes the Update properties of an OS Profile." }, "LicenseProfileMachineInstanceView": { "type": "object", @@ -3426,22 +3390,11 @@ "esuProfile": { "$ref": "#/definitions/LicenseProfileMachineInstanceViewEsuProperties" }, - "products": { + "osProfile": { "x-ms-client-flatten": true, - "type": "object", "readOnly": true, - "properties": { - "windowsServerProfile": { - "x-ms-client-flatten": true, - "$ref": "#/definitions/LicenseProfileArmWindowsServerProperties", - "description": "Hybrid Compute Windows Server Profile properties" - }, - "iotEnterpriseProfile": { - "x-ms-client-flatten": true, - "$ref": "#/definitions/LicenseProfileArmIoTEnterpriseProperties", - "description": "Hybrid Compute Windows IoT Enterprise Profile properties" - } - } + "$ref": "#/definitions/LicenseProfileArmOsProfileProperties", + "description": "Hybrid Compute OS Profile properties" } }, "description": "License Profile Instance View in Machine Properties." @@ -3503,7 +3456,19 @@ "name": "LicenseProfileSubscriptionStatus", "modelAsString": true }, - "description": "Subscription status of the Windows Server or Windows IoT Enterprise or Product feature." + "description": "Subscription status of the OS or Product feature." + }, + "LicenseProfileOsType": { + "type": "string", + "enum": [ + "WindowsServer", + "WindowsIoTEnterprise" + ], + "x-ms-enum": { + "name": "LicenseProfileOsType", + "modelAsString": true + }, + "description": "The operating system type of the machine." }, "ProductFeature": { "type": "object", @@ -3522,6 +3487,12 @@ "format": "date-time", "description": "The timestamp in UTC when the billing starts." }, + "enrollmentDate": { + "type": "string", + "readOnly": true, + "format": "date-time", + "description": "The timestamp in UTC when the user enrolls the feature." + }, "disenrollmentDate": { "type": "string", "readOnly": true, @@ -3531,12 +3502,16 @@ }, "description": "Product Feature" }, - "LicenseProfileArmWindowsServerProperties": { + "LicenseProfileArmOsProfileProperties": { "type": "object", "properties": { "subscriptionStatus": { "$ref": "#/definitions/LicenseProfileSubscriptionStatus", - "description": "Indicates the subscription status of the Windows Server." + "description": "Indicates the subscription status of the OS." + }, + "osType": { + "$ref": "#/definitions/LicenseProfileOsType", + "description": "Indicates the operating system type of the machine." }, "billingStartDate": { "type": "string", @@ -3544,35 +3519,11 @@ "format": "date-time", "description": "The timestamp in UTC when the billing starts." }, - "disenrollmentDate": { + "enrollmentDate": { "type": "string", "readOnly": true, "format": "date-time", - "description": "The timestamp in UTC when the user disenrolled the feature." - }, - "productFeatures": { - "type": "array", - "items": { - "$ref": "#/definitions/ProductFeature" - }, - "description": "The list of product features.", - "x-ms-identifiers": [] - } - }, - "description": "Describes the properties of a Windows Server License Profile ARM model." - }, - "LicenseProfileArmIoTEnterpriseProperties": { - "type": "object", - "properties": { - "subscriptionStatus": { - "$ref": "#/definitions/LicenseProfileSubscriptionStatus", - "description": "Indicates the subscription status of the Windows IoT Enterprise." - }, - "billingStartDate": { - "type": "string", - "readOnly": true, - "format": "date-time", - "description": "The timestamp in UTC when the billing starts." + "description": "The timestamp in UTC when the user enrolls the feature." }, "disenrollmentDate": { "type": "string", @@ -3589,7 +3540,7 @@ "x-ms-identifiers": [] } }, - "description": "Describes the properties of a Windows IoT Enterprise License Profile ARM model." + "description": "Describes the properties of an OS License Profile ARM model." }, "ResourceUpdate": { "type": "object", diff --git a/specification/hybridcompute/resource-manager/Microsoft.HybridCompute/preview/2023-10-03-preview/examples/licenseProfile/LicenseProfile_CreateOrUpdate.json b/specification/hybridcompute/resource-manager/Microsoft.HybridCompute/preview/2023-10-03-preview/examples/licenseProfile/LicenseProfile_CreateOrUpdate.json index 4eeb12ea4f24..fe97d4edd9d8 100644 --- a/specification/hybridcompute/resource-manager/Microsoft.HybridCompute/preview/2023-10-03-preview/examples/licenseProfile/LicenseProfile_CreateOrUpdate.json +++ b/specification/hybridcompute/resource-manager/Microsoft.HybridCompute/preview/2023-10-03-preview/examples/licenseProfile/LicenseProfile_CreateOrUpdate.json @@ -14,16 +14,15 @@ "esuProfile": { "assignedLicense": "{LicenseResourceId}" }, - "products": { - "windowsServerProfile": { - "subscriptionStatus": "Enabled", - "productFeatures": [ - { - "name": "HotPatching", - "subscriptionStatus": "Enabled" - } - ] - } + "osProfile": { + "subscriptionStatus": "Enabled", + "osType": "WindowsServer", + "productFeatures": [ + { + "name": "HotPatching", + "subscriptionStatus": "Enabled" + } + ] } } } @@ -57,20 +56,21 @@ } ] }, - "products": { - "windowsServerProfile": { - "subscriptionStatus": "Enabling", - "billingStartDate": "2023-10-05T20:36:49.745Z", - "disenrollmentDate": "2023-11-05T20:36:49.745Z", - "productFeatures": [ - { - "name": "HotPatching", - "subscriptionStatus": "Enabling", - "billingStartDate": "2023-10-05T20:36:49.745Z", - "disenrollmentDate": "2023-11-05T20:36:49.745Z" - } - ] - } + "osProfile": { + "subscriptionStatus": "Enabling", + "osType": "WindowsServer", + "billingStartDate": "2023-10-05T20:36:49.745Z", + "enrollmentDate": "2023-10-05T20:36:49.745Z", + "disenrollmentDate": "2023-11-05T20:36:49.745Z", + "productFeatures": [ + { + "name": "HotPatching", + "subscriptionStatus": "Enabling", + "billingStartDate": "2023-10-05T20:36:49.745Z", + "enrollmentDate": "2023-10-05T20:36:49.745Z", + "disenrollmentDate": "2023-11-05T20:36:49.745Z" + } + ] } } } @@ -106,20 +106,21 @@ } ] }, - "products": { - "windowsServerProfile": { - "subscriptionStatus": "Enabling", - "billingStartDate": "2023-10-05T20:36:49.745Z", - "disenrollmentDate": "2023-11-05T20:36:49.745Z", - "productFeatures": [ - { - "name": "HotPatching", - "subscriptionStatus": "Enabling", - "billingStartDate": "2023-10-05T20:36:49.745Z", - "disenrollmentDate": "2023-11-05T20:36:49.745Z" - } - ] - } + "osProfile": { + "subscriptionStatus": "Enabling", + "osType": "WindowsServer", + "billingStartDate": "2023-10-05T20:36:49.745Z", + "enrollmentDate": "2023-10-05T20:36:49.745Z", + "disenrollmentDate": "2023-11-05T20:36:49.745Z", + "productFeatures": [ + { + "name": "HotPatching", + "subscriptionStatus": "Enabling", + "billingStartDate": "2023-10-05T20:36:49.745Z", + "enrollmentDate": "2023-10-05T20:36:49.745Z", + "disenrollmentDate": "2023-11-05T20:36:49.745Z" + } + ] } } } diff --git a/specification/hybridcompute/resource-manager/Microsoft.HybridCompute/preview/2023-10-03-preview/examples/licenseProfile/LicenseProfile_Get.json b/specification/hybridcompute/resource-manager/Microsoft.HybridCompute/preview/2023-10-03-preview/examples/licenseProfile/LicenseProfile_Get.json index 268e9502f71e..104fb0d2cf8d 100644 --- a/specification/hybridcompute/resource-manager/Microsoft.HybridCompute/preview/2023-10-03-preview/examples/licenseProfile/LicenseProfile_Get.json +++ b/specification/hybridcompute/resource-manager/Microsoft.HybridCompute/preview/2023-10-03-preview/examples/licenseProfile/LicenseProfile_Get.json @@ -34,20 +34,21 @@ } ] }, - "products": { - "windowsServerProfile": { - "subscriptionStatus": "Enabled", - "billingStartDate": "2023-10-05T20:36:49.745Z", - "disenrollmentDate": "2023-11-05T20:36:49.745Z", - "productFeatures": [ - { - "name": "HotPatching", - "subscriptionStatus": "Enabled", - "billingStartDate": "2023-10-05T20:36:49.745Z", - "disenrollmentDate": "2023-11-05T20:36:49.745Z" - } - ] - } + "osProfile": { + "subscriptionStatus": "Enabled", + "osType": "WindowsServer", + "billingStartDate": "2023-10-05T20:36:49.745Z", + "enrollmentDate": "2023-10-05T20:36:49.745Z", + "disenrollmentDate": "2023-11-05T20:36:49.745Z", + "productFeatures": [ + { + "name": "HotPatching", + "subscriptionStatus": "Enabled", + "billingStartDate": "2023-10-05T20:36:49.745Z", + "enrollmentDate": "2023-10-05T20:36:49.745Z", + "disenrollmentDate": "2023-11-05T20:36:49.745Z" + } + ] } } } diff --git a/specification/hybridcompute/resource-manager/Microsoft.HybridCompute/preview/2023-10-03-preview/examples/licenseProfile/LicenseProfile_List.json b/specification/hybridcompute/resource-manager/Microsoft.HybridCompute/preview/2023-10-03-preview/examples/licenseProfile/LicenseProfile_List.json index 3f121e321eaa..09dcf760a8da 100644 --- a/specification/hybridcompute/resource-manager/Microsoft.HybridCompute/preview/2023-10-03-preview/examples/licenseProfile/LicenseProfile_List.json +++ b/specification/hybridcompute/resource-manager/Microsoft.HybridCompute/preview/2023-10-03-preview/examples/licenseProfile/LicenseProfile_List.json @@ -36,20 +36,21 @@ } ] }, - "products": { - "windowsServerProfile": { - "subscriptionStatus": "Enabled", - "billingStartDate": "2023-10-05T20:36:49.745Z", - "disenrollmentDate": "2023-11-05T20:36:49.745Z", - "productFeatures": [ - { - "name": "HotPatching", - "subscriptionStatus": "Enabled", - "billingStartDate": "2023-10-05T20:36:49.745Z", - "disenrollmentDate": "2023-11-05T20:36:49.745Z" - } - ] - } + "osProfile": { + "subscriptionStatus": "Enabled", + "osType": "WindowsServer", + "billingStartDate": "2023-10-05T20:36:49.745Z", + "enrollmentDate": "2023-10-05T20:36:49.745Z", + "disenrollmentDate": "2023-11-05T20:36:49.745Z", + "productFeatures": [ + { + "name": "HotPatching", + "subscriptionStatus": "Enabled", + "billingStartDate": "2023-10-05T20:36:49.745Z", + "enrollmentDate": "2023-10-05T20:36:49.745Z", + "disenrollmentDate": "2023-11-05T20:36:49.745Z" + } + ] } } } diff --git a/specification/hybridcompute/resource-manager/Microsoft.HybridCompute/preview/2023-10-03-preview/examples/licenseProfile/LicenseProfile_Update.json b/specification/hybridcompute/resource-manager/Microsoft.HybridCompute/preview/2023-10-03-preview/examples/licenseProfile/LicenseProfile_Update.json index 8e4004205bfd..c9008a598431 100644 --- a/specification/hybridcompute/resource-manager/Microsoft.HybridCompute/preview/2023-10-03-preview/examples/licenseProfile/LicenseProfile_Update.json +++ b/specification/hybridcompute/resource-manager/Microsoft.HybridCompute/preview/2023-10-03-preview/examples/licenseProfile/LicenseProfile_Update.json @@ -13,16 +13,15 @@ "esuProfile": { "assignedLicense": "{LicenseResourceId}" }, - "products": { - "windowsServerProfile": { - "subscriptionStatus": "Enable", - "productFeatures": [ - { - "name": "HotPatching", - "subscriptionStatus": "Enable" - } - ] - } + "osProfile": { + "subscriptionStatus": "Enable", + "osType": "WindowsServer", + "productFeatures": [ + { + "name": "HotPatching", + "subscriptionStatus": "Enable" + } + ] } } } @@ -54,20 +53,21 @@ } ] }, - "products": { - "windowsServerProfile": { - "subscriptionStatus": "Enabling", - "billingStartDate": "2023-10-05T20:36:49.745Z", - "disenrollmentDate": "2023-11-05T20:36:49.745Z", - "productFeatures": [ - { - "name": "HotPatching", - "subscriptionStatus": "Enabling", - "billingStartDate": "2023-10-05T20:36:49.745Z", - "disenrollmentDate": "2023-11-05T20:36:49.745Z" - } - ] - } + "osProfile": { + "subscriptionStatus": "Enabling", + "osType": "WindowsServer", + "billingStartDate": "2023-10-05T20:36:49.745Z", + "enrollmentDate": "2023-10-05T20:36:49.745Z", + "disenrollmentDate": "2023-11-05T20:36:49.745Z", + "productFeatures": [ + { + "name": "HotPatching", + "subscriptionStatus": "Enabling", + "billingStartDate": "2023-10-05T20:36:49.745Z", + "enrollmentDate": "2023-10-05T20:36:49.745Z", + "disenrollmentDate": "2023-11-05T20:36:49.745Z" + } + ] } } } diff --git a/specification/hybridcompute/resource-manager/Microsoft.HybridCompute/preview/2023-10-03-preview/examples/machine/Machines_CreateOrUpdate.json b/specification/hybridcompute/resource-manager/Microsoft.HybridCompute/preview/2023-10-03-preview/examples/machine/Machines_CreateOrUpdate.json index dedc9af83e0a..b694267c99d1 100644 --- a/specification/hybridcompute/resource-manager/Microsoft.HybridCompute/preview/2023-10-03-preview/examples/machine/Machines_CreateOrUpdate.json +++ b/specification/hybridcompute/resource-manager/Microsoft.HybridCompute/preview/2023-10-03-preview/examples/machine/Machines_CreateOrUpdate.json @@ -87,20 +87,21 @@ } ] }, - "products": { - "windowsServerProfile": { - "subscriptionStatus": "Enabled", - "billingStartDate": "2023-10-05T20:36:49.745Z", - "disenrollmentDate": "2023-11-05T20:36:49.745Z", - "productFeatures": [ - { - "name": "HotPatching", - "subscriptionStatus": "Enabled", - "billingStartDate": "2023-10-05T20:36:49.745Z", - "disenrollmentDate": "2023-11-05T20:36:49.745Z" - } - ] - } + "osProfile": { + "subscriptionStatus": "Enabled", + "osType": "WindowsServer", + "billingStartDate": "2023-10-05T20:36:49.745Z", + "enrollmentDate": "2023-10-05T20:36:49.745Z", + "disenrollmentDate": "2023-11-05T20:36:49.745Z", + "productFeatures": [ + { + "name": "HotPatching", + "subscriptionStatus": "Enabled", + "billingStartDate": "2023-10-05T20:36:49.745Z", + "enrollmentDate": "2023-10-05T20:36:49.745Z", + "disenrollmentDate": "2023-11-05T20:36:49.745Z" + } + ] } }, "vmId": "b7a098cc-b0b8-46e8-a205-62f301a62a8f", diff --git a/specification/hybridcompute/resource-manager/Microsoft.HybridCompute/preview/2023-10-03-preview/examples/machine/Machines_Get.json b/specification/hybridcompute/resource-manager/Microsoft.HybridCompute/preview/2023-10-03-preview/examples/machine/Machines_Get.json index e9b5ac53d1d3..d7b768b6c2dd 100644 --- a/specification/hybridcompute/resource-manager/Microsoft.HybridCompute/preview/2023-10-03-preview/examples/machine/Machines_Get.json +++ b/specification/hybridcompute/resource-manager/Microsoft.HybridCompute/preview/2023-10-03-preview/examples/machine/Machines_Get.json @@ -72,20 +72,21 @@ } ] }, - "products": { - "windowsServerProfile": { - "subscriptionStatus": "Enabled", - "billingStartDate": "2023-10-05T20:36:49.745Z", - "disenrollmentDate": "2023-11-05T20:36:49.745Z", - "productFeatures": [ - { - "name": "HotPatching", - "subscriptionStatus": "Enabled", - "billingStartDate": "2023-10-05T20:36:49.745Z", - "disenrollmentDate": "2023-11-05T20:36:49.745Z" - } - ] - } + "osProfile": { + "subscriptionStatus": "Enabled", + "osType": "WindowsServer", + "billingStartDate": "2023-10-05T20:36:49.745Z", + "enrollmentDate": "2023-10-05T20:36:49.745Z", + "disenrollmentDate": "2023-11-05T20:36:49.745Z", + "productFeatures": [ + { + "name": "HotPatching", + "subscriptionStatus": "Enabled", + "billingStartDate": "2023-10-05T20:36:49.745Z", + "enrollmentDate": "2023-10-05T20:36:49.745Z", + "disenrollmentDate": "2023-11-05T20:36:49.745Z" + } + ] } }, "vmId": "b7a098cc-b0b8-46e8-a205-62f301a62a8f", diff --git a/specification/hybridcompute/resource-manager/Microsoft.HybridCompute/preview/2023-10-03-preview/examples/machine/Machines_Get_LicenseProfileInstanceView.json b/specification/hybridcompute/resource-manager/Microsoft.HybridCompute/preview/2023-10-03-preview/examples/machine/Machines_Get_LicenseProfileInstanceView.json index e814011256a1..fef75c76238b 100644 --- a/specification/hybridcompute/resource-manager/Microsoft.HybridCompute/preview/2023-10-03-preview/examples/machine/Machines_Get_LicenseProfileInstanceView.json +++ b/specification/hybridcompute/resource-manager/Microsoft.HybridCompute/preview/2023-10-03-preview/examples/machine/Machines_Get_LicenseProfileInstanceView.json @@ -93,20 +93,21 @@ } ] }, - "products": { - "windowsServerProfile": { - "subscriptionStatus": "Enabled", - "billingStartDate": "2023-10-05T20:36:49.745Z", - "disenrollmentDate": "2023-11-05T20:36:49.745Z", - "productFeatures": [ - { - "name": "HotPatching", - "subscriptionStatus": "Enabled", - "billingStartDate": "2023-10-05T20:36:49.745Z", - "disenrollmentDate": "2023-11-05T20:36:49.745Z" - } - ] - } + "osProfile": { + "subscriptionStatus": "Enabled", + "osType": "WindowsServer", + "billingStartDate": "2023-10-05T20:36:49.745Z", + "enrollmentDate": "2023-10-05T20:36:49.745Z", + "disenrollmentDate": "2023-11-05T20:36:49.745Z", + "productFeatures": [ + { + "name": "HotPatching", + "subscriptionStatus": "Enabled", + "billingStartDate": "2023-10-05T20:36:49.745Z", + "enrollmentDate": "2023-10-05T20:36:49.745Z", + "disenrollmentDate": "2023-11-05T20:36:49.745Z" + } + ] } }, "vmId": "b7a098cc-b0b8-46e8-a205-62f301a62a8f", diff --git a/specification/hybridcompute/resource-manager/Microsoft.HybridCompute/preview/2023-10-03-preview/examples/machine/Machines_ListByResourceGroup.json b/specification/hybridcompute/resource-manager/Microsoft.HybridCompute/preview/2023-10-03-preview/examples/machine/Machines_ListByResourceGroup.json index 41655a79c951..d6a378aa18d5 100644 --- a/specification/hybridcompute/resource-manager/Microsoft.HybridCompute/preview/2023-10-03-preview/examples/machine/Machines_ListByResourceGroup.json +++ b/specification/hybridcompute/resource-manager/Microsoft.HybridCompute/preview/2023-10-03-preview/examples/machine/Machines_ListByResourceGroup.json @@ -73,20 +73,21 @@ } ] }, - "products": { - "windowsServerProfile": { - "subscriptionStatus": "Enabled", - "billingStartDate": "2023-10-05T20:36:49.745Z", - "disenrollmentDate": "2023-11-05T20:36:49.745Z", - "productFeatures": [ - { - "name": "HotPatching", - "subscriptionStatus": "Enabled", - "billingStartDate": "2023-10-05T20:36:49.745Z", - "disenrollmentDate": "2023-11-05T20:36:49.745Z" - } - ] - } + "osProfile": { + "subscriptionStatus": "Enabled", + "osType": "WindowsServer", + "billingStartDate": "2023-10-05T20:36:49.745Z", + "enrollmentDate": "2023-10-05T20:36:49.745Z", + "disenrollmentDate": "2023-11-05T20:36:49.745Z", + "productFeatures": [ + { + "name": "HotPatching", + "subscriptionStatus": "Enabled", + "billingStartDate": "2023-10-05T20:36:49.745Z", + "enrollmentDate": "2023-10-05T20:36:49.745Z", + "disenrollmentDate": "2023-11-05T20:36:49.745Z" + } + ] } }, "vmId": "b7a098cc-b0b8-46e8-a205-62f301a62a8f", @@ -180,20 +181,21 @@ } ] }, - "products": { - "windowsServerProfile": { - "subscriptionStatus": "Enabled", - "billingStartDate": "2023-10-05T20:36:49.745Z", - "disenrollmentDate": "2023-11-05T20:36:49.745Z", - "productFeatures": [ - { - "name": "HotPatching", - "subscriptionStatus": "Enabled", - "billingStartDate": "2023-10-05T20:36:49.745Z", - "disenrollmentDate": "2023-11-05T20:36:49.745Z" - } - ] - } + "osProfile": { + "subscriptionStatus": "Enabled", + "osType": "WindowsServer", + "billingStartDate": "2023-10-05T20:36:49.745Z", + "enrollmentDate": "2023-10-05T20:36:49.745Z", + "disenrollmentDate": "2023-11-05T20:36:49.745Z", + "productFeatures": [ + { + "name": "HotPatching", + "subscriptionStatus": "Enabled", + "billingStartDate": "2023-10-05T20:36:49.745Z", + "enrollmentDate": "2023-10-05T20:36:49.745Z", + "disenrollmentDate": "2023-11-05T20:36:49.745Z" + } + ] } }, "vmId": "a4a098cc-b0b8-46e8-a205-62f301a62a8f", diff --git a/specification/hybridcompute/resource-manager/Microsoft.HybridCompute/preview/2023-10-03-preview/examples/machine/Machines_ListBySubscription.json b/specification/hybridcompute/resource-manager/Microsoft.HybridCompute/preview/2023-10-03-preview/examples/machine/Machines_ListBySubscription.json index 0774773f18ac..7efb2515fe20 100644 --- a/specification/hybridcompute/resource-manager/Microsoft.HybridCompute/preview/2023-10-03-preview/examples/machine/Machines_ListBySubscription.json +++ b/specification/hybridcompute/resource-manager/Microsoft.HybridCompute/preview/2023-10-03-preview/examples/machine/Machines_ListBySubscription.json @@ -72,20 +72,21 @@ } ] }, - "products": { - "windowsServerProfile": { - "subscriptionStatus": "Enabled", - "billingStartDate": "2023-10-05T20:36:49.745Z", - "disenrollmentDate": "2023-11-05T20:36:49.745Z", - "productFeatures": [ - { - "name": "HotPatching", - "subscriptionStatus": "Enabled", - "billingStartDate": "2023-10-05T20:36:49.745Z", - "disenrollmentDate": "2023-11-05T20:36:49.745Z" - } - ] - } + "osProfile": { + "subscriptionStatus": "Enabled", + "osType": "WindowsServer", + "billingStartDate": "2023-10-05T20:36:49.745Z", + "enrollmentDate": "2023-10-05T20:36:49.745Z", + "disenrollmentDate": "2023-11-05T20:36:49.745Z", + "productFeatures": [ + { + "name": "HotPatching", + "subscriptionStatus": "Enabled", + "billingStartDate": "2023-10-05T20:36:49.745Z", + "enrollmentDate": "2023-10-05T20:36:49.745Z", + "disenrollmentDate": "2023-11-05T20:36:49.745Z" + } + ] } }, "vmId": "b7a098cc-b0b8-46e8-a205-62f301a62a8f", @@ -179,20 +180,21 @@ } ] }, - "products": { - "windowsServerProfile": { - "subscriptionStatus": "Enabled", - "billingStartDate": "2023-10-05T20:36:49.745Z", - "disenrollmentDate": "2023-11-05T20:36:49.745Z", - "productFeatures": [ - { - "name": "HotPatching", - "subscriptionStatus": "Enabled", - "billingStartDate": "2023-10-05T20:36:49.745Z", - "disenrollmentDate": "2023-11-05T20:36:49.745Z" - } - ] - } + "osProfile": { + "subscriptionStatus": "Enabled", + "osType": "WindowsServer", + "billingStartDate": "2023-10-05T20:36:49.745Z", + "enrollmentDate": "2023-10-05T20:36:49.745Z", + "disenrollmentDate": "2023-11-05T20:36:49.745Z", + "productFeatures": [ + { + "name": "HotPatching", + "subscriptionStatus": "Enabled", + "billingStartDate": "2023-10-05T20:36:49.745Z", + "enrollmentDate": "2023-10-05T20:36:49.745Z", + "disenrollmentDate": "2023-11-05T20:36:49.745Z" + } + ] } }, "vmId": "a4a098cc-b0b8-46e8-a205-62f301a62a8f", diff --git a/specification/hybridcompute/resource-manager/Microsoft.HybridCompute/preview/2023-10-03-preview/examples/machine/Machines_Update.json b/specification/hybridcompute/resource-manager/Microsoft.HybridCompute/preview/2023-10-03-preview/examples/machine/Machines_Update.json index a0607e8d3ac3..862879341167 100644 --- a/specification/hybridcompute/resource-manager/Microsoft.HybridCompute/preview/2023-10-03-preview/examples/machine/Machines_Update.json +++ b/specification/hybridcompute/resource-manager/Microsoft.HybridCompute/preview/2023-10-03-preview/examples/machine/Machines_Update.json @@ -100,20 +100,21 @@ } ] }, - "products": { - "windowsServerProfile": { - "subscriptionStatus": "Enabled", - "billingStartDate": "2023-10-05T20:36:49.745Z", - "disenrollmentDate": "2023-11-05T20:36:49.745Z", - "productFeatures": [ - { - "name": "HotPatching", - "subscriptionStatus": "Enabled", - "billingStartDate": "2023-10-05T20:36:49.745Z", - "disenrollmentDate": "2023-11-05T20:36:49.745Z" - } - ] - } + "osProfile": { + "subscriptionStatus": "Enabled", + "osType": "WindowsServer", + "billingStartDate": "2023-10-05T20:36:49.745Z", + "enrollmentDate": "2023-10-05T20:36:49.745Z", + "disenrollmentDate": "2023-11-05T20:36:49.745Z", + "productFeatures": [ + { + "name": "HotPatching", + "subscriptionStatus": "Enabled", + "billingStartDate": "2023-10-05T20:36:49.745Z", + "enrollmentDate": "2023-10-05T20:36:49.745Z", + "disenrollmentDate": "2023-11-05T20:36:49.745Z" + } + ] } }, "vmId": "b7a098cc-b0b8-46e8-a205-62f301a62a8f", From 7fc5e796e4f56cd22ac9194f7ccb5ff7e1531fd7 Mon Sep 17 00:00:00 2001 From: Zhe Jiao Date: Mon, 16 Oct 2023 16:30:22 -0700 Subject: [PATCH 20/57] Rename osProfile and osType --- .../2023-10-03-preview/HybridCompute.json | 48 +++++++++---------- .../LicenseProfile_CreateOrUpdate.json | 12 ++--- .../licenseProfile/LicenseProfile_Get.json | 4 +- .../licenseProfile/LicenseProfile_List.json | 4 +- .../licenseProfile/LicenseProfile_Update.json | 8 ++-- .../machine/Machines_CreateOrUpdate.json | 4 +- .../examples/machine/Machines_Get.json | 4 +- ...chines_Get_LicenseProfileInstanceView.json | 4 +- .../machine/Machines_ListByResourceGroup.json | 8 ++-- .../machine/Machines_ListBySubscription.json | 8 ++-- .../examples/machine/Machines_Update.json | 4 +- 11 files changed, 54 insertions(+), 54 deletions(-) diff --git a/specification/hybridcompute/resource-manager/Microsoft.HybridCompute/preview/2023-10-03-preview/HybridCompute.json b/specification/hybridcompute/resource-manager/Microsoft.HybridCompute/preview/2023-10-03-preview/HybridCompute.json index 96299c793497..10e30cd78d1d 100644 --- a/specification/hybridcompute/resource-manager/Microsoft.HybridCompute/preview/2023-10-03-preview/HybridCompute.json +++ b/specification/hybridcompute/resource-manager/Microsoft.HybridCompute/preview/2023-10-03-preview/HybridCompute.json @@ -3116,10 +3116,10 @@ "$ref": "#/definitions/LicenseProfileArmEsuProperties", "description": "Hybrid Compute ESU Profile properties" }, - "osProfile": { + "productProfile": { "x-ms-client-flatten": true, - "$ref": "#/definitions/LicenseProfileArmOsProfileProperties", - "description": "Hybrid Compute OS Profile properties" + "$ref": "#/definitions/LicenseProfileArmProductProfileProperties", + "description": "Hybrid Compute Product Profile properties" }, "provisioningState": { "$ref": "#/definitions/ProvisioningState", @@ -3158,10 +3158,10 @@ "$ref": "#/definitions/EsuProfileUpdateProperties", "description": "Hybrid Compute ESU Profile Update properties" }, - "osProfile": { + "productProfile": { "x-ms-client-flatten": true, - "$ref": "#/definitions/OsProfileUpdateProperties", - "description": "Hybrid Compute OS Profile Update properties" + "$ref": "#/definitions/ProductProfileUpdateProperties", + "description": "Hybrid Compute Product Profile Update properties" } }, "description": "Describe the Update properties of a license profile." @@ -3342,16 +3342,16 @@ }, "description": "Product Feature" }, - "OsProfileUpdateProperties": { + "ProductProfileUpdateProperties": { "type": "object", "properties": { "subscriptionStatus": { "$ref": "#/definitions/LicenseProfileSubscriptionStatusUpdate", - "description": "Indicates the subscription status of the OS." + "description": "Indicates the subscription status of the product." }, - "osType": { - "$ref": "#/definitions/LicenseProfileOsType", - "description": "Indicates the operating system type of the machine." + "productType": { + "$ref": "#/definitions/LicenseProfileProductType", + "description": "Indicates the product type of the license." }, "productFeatures": { "type": "array", @@ -3362,7 +3362,7 @@ "x-ms-identifiers": [] } }, - "description": "Describes the Update properties of an OS Profile." + "description": "Describes the Update properties of a Product Profile." }, "LicenseProfileMachineInstanceView": { "type": "object", @@ -3390,11 +3390,11 @@ "esuProfile": { "$ref": "#/definitions/LicenseProfileMachineInstanceViewEsuProperties" }, - "osProfile": { + "productProfile": { "x-ms-client-flatten": true, "readOnly": true, - "$ref": "#/definitions/LicenseProfileArmOsProfileProperties", - "description": "Hybrid Compute OS Profile properties" + "$ref": "#/definitions/LicenseProfileArmProductProfileProperties", + "description": "Hybrid Compute Product Profile properties" } }, "description": "License Profile Instance View in Machine Properties." @@ -3458,17 +3458,17 @@ }, "description": "Subscription status of the OS or Product feature." }, - "LicenseProfileOsType": { + "LicenseProfileProductType": { "type": "string", "enum": [ "WindowsServer", "WindowsIoTEnterprise" ], "x-ms-enum": { - "name": "LicenseProfileOsType", + "name": "LicenseProfileProductType", "modelAsString": true }, - "description": "The operating system type of the machine." + "description": "The product type of the license." }, "ProductFeature": { "type": "object", @@ -3502,16 +3502,16 @@ }, "description": "Product Feature" }, - "LicenseProfileArmOsProfileProperties": { + "LicenseProfileArmProductProfileProperties": { "type": "object", "properties": { "subscriptionStatus": { "$ref": "#/definitions/LicenseProfileSubscriptionStatus", - "description": "Indicates the subscription status of the OS." + "description": "Indicates the subscription status of the product." }, - "osType": { - "$ref": "#/definitions/LicenseProfileOsType", - "description": "Indicates the operating system type of the machine." + "productType": { + "$ref": "#/definitions/LicenseProfileProductType", + "description": "Indicates the product type of the license." }, "billingStartDate": { "type": "string", @@ -3540,7 +3540,7 @@ "x-ms-identifiers": [] } }, - "description": "Describes the properties of an OS License Profile ARM model." + "description": "Describes the properties of a Product License Profile ARM model." }, "ResourceUpdate": { "type": "object", diff --git a/specification/hybridcompute/resource-manager/Microsoft.HybridCompute/preview/2023-10-03-preview/examples/licenseProfile/LicenseProfile_CreateOrUpdate.json b/specification/hybridcompute/resource-manager/Microsoft.HybridCompute/preview/2023-10-03-preview/examples/licenseProfile/LicenseProfile_CreateOrUpdate.json index fe97d4edd9d8..24533d38bed5 100644 --- a/specification/hybridcompute/resource-manager/Microsoft.HybridCompute/preview/2023-10-03-preview/examples/licenseProfile/LicenseProfile_CreateOrUpdate.json +++ b/specification/hybridcompute/resource-manager/Microsoft.HybridCompute/preview/2023-10-03-preview/examples/licenseProfile/LicenseProfile_CreateOrUpdate.json @@ -14,9 +14,9 @@ "esuProfile": { "assignedLicense": "{LicenseResourceId}" }, - "osProfile": { + "productProfile": { "subscriptionStatus": "Enabled", - "osType": "WindowsServer", + "productType": "WindowsServer", "productFeatures": [ { "name": "HotPatching", @@ -56,9 +56,9 @@ } ] }, - "osProfile": { + "productProfile": { "subscriptionStatus": "Enabling", - "osType": "WindowsServer", + "productType": "WindowsServer", "billingStartDate": "2023-10-05T20:36:49.745Z", "enrollmentDate": "2023-10-05T20:36:49.745Z", "disenrollmentDate": "2023-11-05T20:36:49.745Z", @@ -106,9 +106,9 @@ } ] }, - "osProfile": { + "productProfile": { "subscriptionStatus": "Enabling", - "osType": "WindowsServer", + "productType": "WindowsServer", "billingStartDate": "2023-10-05T20:36:49.745Z", "enrollmentDate": "2023-10-05T20:36:49.745Z", "disenrollmentDate": "2023-11-05T20:36:49.745Z", diff --git a/specification/hybridcompute/resource-manager/Microsoft.HybridCompute/preview/2023-10-03-preview/examples/licenseProfile/LicenseProfile_Get.json b/specification/hybridcompute/resource-manager/Microsoft.HybridCompute/preview/2023-10-03-preview/examples/licenseProfile/LicenseProfile_Get.json index 104fb0d2cf8d..0c74e01d6805 100644 --- a/specification/hybridcompute/resource-manager/Microsoft.HybridCompute/preview/2023-10-03-preview/examples/licenseProfile/LicenseProfile_Get.json +++ b/specification/hybridcompute/resource-manager/Microsoft.HybridCompute/preview/2023-10-03-preview/examples/licenseProfile/LicenseProfile_Get.json @@ -34,9 +34,9 @@ } ] }, - "osProfile": { + "productProfile": { "subscriptionStatus": "Enabled", - "osType": "WindowsServer", + "productType": "WindowsServer", "billingStartDate": "2023-10-05T20:36:49.745Z", "enrollmentDate": "2023-10-05T20:36:49.745Z", "disenrollmentDate": "2023-11-05T20:36:49.745Z", diff --git a/specification/hybridcompute/resource-manager/Microsoft.HybridCompute/preview/2023-10-03-preview/examples/licenseProfile/LicenseProfile_List.json b/specification/hybridcompute/resource-manager/Microsoft.HybridCompute/preview/2023-10-03-preview/examples/licenseProfile/LicenseProfile_List.json index 09dcf760a8da..4c826e55c636 100644 --- a/specification/hybridcompute/resource-manager/Microsoft.HybridCompute/preview/2023-10-03-preview/examples/licenseProfile/LicenseProfile_List.json +++ b/specification/hybridcompute/resource-manager/Microsoft.HybridCompute/preview/2023-10-03-preview/examples/licenseProfile/LicenseProfile_List.json @@ -36,9 +36,9 @@ } ] }, - "osProfile": { + "productProfile": { "subscriptionStatus": "Enabled", - "osType": "WindowsServer", + "productType": "WindowsServer", "billingStartDate": "2023-10-05T20:36:49.745Z", "enrollmentDate": "2023-10-05T20:36:49.745Z", "disenrollmentDate": "2023-11-05T20:36:49.745Z", diff --git a/specification/hybridcompute/resource-manager/Microsoft.HybridCompute/preview/2023-10-03-preview/examples/licenseProfile/LicenseProfile_Update.json b/specification/hybridcompute/resource-manager/Microsoft.HybridCompute/preview/2023-10-03-preview/examples/licenseProfile/LicenseProfile_Update.json index c9008a598431..6e04cf5b5457 100644 --- a/specification/hybridcompute/resource-manager/Microsoft.HybridCompute/preview/2023-10-03-preview/examples/licenseProfile/LicenseProfile_Update.json +++ b/specification/hybridcompute/resource-manager/Microsoft.HybridCompute/preview/2023-10-03-preview/examples/licenseProfile/LicenseProfile_Update.json @@ -13,9 +13,9 @@ "esuProfile": { "assignedLicense": "{LicenseResourceId}" }, - "osProfile": { + "productProfile": { "subscriptionStatus": "Enable", - "osType": "WindowsServer", + "productType": "WindowsServer", "productFeatures": [ { "name": "HotPatching", @@ -53,9 +53,9 @@ } ] }, - "osProfile": { + "productProfile": { "subscriptionStatus": "Enabling", - "osType": "WindowsServer", + "productType": "WindowsServer", "billingStartDate": "2023-10-05T20:36:49.745Z", "enrollmentDate": "2023-10-05T20:36:49.745Z", "disenrollmentDate": "2023-11-05T20:36:49.745Z", diff --git a/specification/hybridcompute/resource-manager/Microsoft.HybridCompute/preview/2023-10-03-preview/examples/machine/Machines_CreateOrUpdate.json b/specification/hybridcompute/resource-manager/Microsoft.HybridCompute/preview/2023-10-03-preview/examples/machine/Machines_CreateOrUpdate.json index b694267c99d1..ba711c84b104 100644 --- a/specification/hybridcompute/resource-manager/Microsoft.HybridCompute/preview/2023-10-03-preview/examples/machine/Machines_CreateOrUpdate.json +++ b/specification/hybridcompute/resource-manager/Microsoft.HybridCompute/preview/2023-10-03-preview/examples/machine/Machines_CreateOrUpdate.json @@ -87,9 +87,9 @@ } ] }, - "osProfile": { + "productProfile": { "subscriptionStatus": "Enabled", - "osType": "WindowsServer", + "productType": "WindowsServer", "billingStartDate": "2023-10-05T20:36:49.745Z", "enrollmentDate": "2023-10-05T20:36:49.745Z", "disenrollmentDate": "2023-11-05T20:36:49.745Z", diff --git a/specification/hybridcompute/resource-manager/Microsoft.HybridCompute/preview/2023-10-03-preview/examples/machine/Machines_Get.json b/specification/hybridcompute/resource-manager/Microsoft.HybridCompute/preview/2023-10-03-preview/examples/machine/Machines_Get.json index d7b768b6c2dd..6062b3876453 100644 --- a/specification/hybridcompute/resource-manager/Microsoft.HybridCompute/preview/2023-10-03-preview/examples/machine/Machines_Get.json +++ b/specification/hybridcompute/resource-manager/Microsoft.HybridCompute/preview/2023-10-03-preview/examples/machine/Machines_Get.json @@ -72,9 +72,9 @@ } ] }, - "osProfile": { + "productProfile": { "subscriptionStatus": "Enabled", - "osType": "WindowsServer", + "productType": "WindowsServer", "billingStartDate": "2023-10-05T20:36:49.745Z", "enrollmentDate": "2023-10-05T20:36:49.745Z", "disenrollmentDate": "2023-11-05T20:36:49.745Z", diff --git a/specification/hybridcompute/resource-manager/Microsoft.HybridCompute/preview/2023-10-03-preview/examples/machine/Machines_Get_LicenseProfileInstanceView.json b/specification/hybridcompute/resource-manager/Microsoft.HybridCompute/preview/2023-10-03-preview/examples/machine/Machines_Get_LicenseProfileInstanceView.json index fef75c76238b..0bafee5f89b7 100644 --- a/specification/hybridcompute/resource-manager/Microsoft.HybridCompute/preview/2023-10-03-preview/examples/machine/Machines_Get_LicenseProfileInstanceView.json +++ b/specification/hybridcompute/resource-manager/Microsoft.HybridCompute/preview/2023-10-03-preview/examples/machine/Machines_Get_LicenseProfileInstanceView.json @@ -93,9 +93,9 @@ } ] }, - "osProfile": { + "productProfile": { "subscriptionStatus": "Enabled", - "osType": "WindowsServer", + "productType": "WindowsServer", "billingStartDate": "2023-10-05T20:36:49.745Z", "enrollmentDate": "2023-10-05T20:36:49.745Z", "disenrollmentDate": "2023-11-05T20:36:49.745Z", diff --git a/specification/hybridcompute/resource-manager/Microsoft.HybridCompute/preview/2023-10-03-preview/examples/machine/Machines_ListByResourceGroup.json b/specification/hybridcompute/resource-manager/Microsoft.HybridCompute/preview/2023-10-03-preview/examples/machine/Machines_ListByResourceGroup.json index d6a378aa18d5..5c9a8738cb8e 100644 --- a/specification/hybridcompute/resource-manager/Microsoft.HybridCompute/preview/2023-10-03-preview/examples/machine/Machines_ListByResourceGroup.json +++ b/specification/hybridcompute/resource-manager/Microsoft.HybridCompute/preview/2023-10-03-preview/examples/machine/Machines_ListByResourceGroup.json @@ -73,9 +73,9 @@ } ] }, - "osProfile": { + "productProfile": { "subscriptionStatus": "Enabled", - "osType": "WindowsServer", + "productType": "WindowsServer", "billingStartDate": "2023-10-05T20:36:49.745Z", "enrollmentDate": "2023-10-05T20:36:49.745Z", "disenrollmentDate": "2023-11-05T20:36:49.745Z", @@ -181,9 +181,9 @@ } ] }, - "osProfile": { + "productProfile": { "subscriptionStatus": "Enabled", - "osType": "WindowsServer", + "productType": "WindowsServer", "billingStartDate": "2023-10-05T20:36:49.745Z", "enrollmentDate": "2023-10-05T20:36:49.745Z", "disenrollmentDate": "2023-11-05T20:36:49.745Z", diff --git a/specification/hybridcompute/resource-manager/Microsoft.HybridCompute/preview/2023-10-03-preview/examples/machine/Machines_ListBySubscription.json b/specification/hybridcompute/resource-manager/Microsoft.HybridCompute/preview/2023-10-03-preview/examples/machine/Machines_ListBySubscription.json index 7efb2515fe20..0a8c4d38c1dc 100644 --- a/specification/hybridcompute/resource-manager/Microsoft.HybridCompute/preview/2023-10-03-preview/examples/machine/Machines_ListBySubscription.json +++ b/specification/hybridcompute/resource-manager/Microsoft.HybridCompute/preview/2023-10-03-preview/examples/machine/Machines_ListBySubscription.json @@ -72,9 +72,9 @@ } ] }, - "osProfile": { + "productProfile": { "subscriptionStatus": "Enabled", - "osType": "WindowsServer", + "productType": "WindowsServer", "billingStartDate": "2023-10-05T20:36:49.745Z", "enrollmentDate": "2023-10-05T20:36:49.745Z", "disenrollmentDate": "2023-11-05T20:36:49.745Z", @@ -180,9 +180,9 @@ } ] }, - "osProfile": { + "productProfile": { "subscriptionStatus": "Enabled", - "osType": "WindowsServer", + "productType": "WindowsServer", "billingStartDate": "2023-10-05T20:36:49.745Z", "enrollmentDate": "2023-10-05T20:36:49.745Z", "disenrollmentDate": "2023-11-05T20:36:49.745Z", diff --git a/specification/hybridcompute/resource-manager/Microsoft.HybridCompute/preview/2023-10-03-preview/examples/machine/Machines_Update.json b/specification/hybridcompute/resource-manager/Microsoft.HybridCompute/preview/2023-10-03-preview/examples/machine/Machines_Update.json index 862879341167..039d6b81615a 100644 --- a/specification/hybridcompute/resource-manager/Microsoft.HybridCompute/preview/2023-10-03-preview/examples/machine/Machines_Update.json +++ b/specification/hybridcompute/resource-manager/Microsoft.HybridCompute/preview/2023-10-03-preview/examples/machine/Machines_Update.json @@ -100,9 +100,9 @@ } ] }, - "osProfile": { + "productProfile": { "subscriptionStatus": "Enabled", - "osType": "WindowsServer", + "productType": "WindowsServer", "billingStartDate": "2023-10-05T20:36:49.745Z", "enrollmentDate": "2023-10-05T20:36:49.745Z", "disenrollmentDate": "2023-11-05T20:36:49.745Z", From 67ad22b39adb1c6cbb7343e86eaafb36b24e6c42 Mon Sep 17 00:00:00 2001 From: Ved Kale Date: Wed, 18 Oct 2023 15:13:48 -0700 Subject: [PATCH 21/57] fix pattern --- .../2023-10-03-preview/HybridCompute.json | 30 +++++++++---------- 1 file changed, 15 insertions(+), 15 deletions(-) diff --git a/specification/hybridcompute/resource-manager/Microsoft.HybridCompute/preview/2023-10-03-preview/HybridCompute.json b/specification/hybridcompute/resource-manager/Microsoft.HybridCompute/preview/2023-10-03-preview/HybridCompute.json index 10e30cd78d1d..14639ff77eb4 100644 --- a/specification/hybridcompute/resource-manager/Microsoft.HybridCompute/preview/2023-10-03-preview/HybridCompute.json +++ b/specification/hybridcompute/resource-manager/Microsoft.HybridCompute/preview/2023-10-03-preview/HybridCompute.json @@ -366,7 +366,7 @@ "in": "path", "required": true, "type": "string", - "pattern": "[a-zA-Z0-9-_\\.]", + "pattern": "^[a-zA-Z0-9-_\\.]{1,54}$", "minLength": 1, "maxLength": 54, "description": "The name of the hybrid machine." @@ -429,7 +429,7 @@ "in": "path", "required": true, "type": "string", - "pattern": "[a-zA-Z0-9-_\\.]", + "pattern": "^[a-zA-Z0-9-_\\.]{1,54}$", "minLength": 1, "maxLength": 54, "description": "The name of the hybrid machine." @@ -485,7 +485,7 @@ "in": "path", "required": true, "type": "string", - "pattern": "[a-zA-Z0-9-_\\.]", + "pattern": "^[a-zA-Z0-9-_\\.]{1,54}$", "minLength": 1, "maxLength": 54, "description": "The name of the hybrid machine." @@ -532,7 +532,7 @@ "in": "path", "required": true, "type": "string", - "pattern": "[a-zA-Z0-9-_\\.]", + "pattern": "^[a-zA-Z0-9-_\\.]{1,54}$", "minLength": 1, "maxLength": 54, "description": "The name of the hybrid machine." @@ -841,7 +841,7 @@ "in": "path", "required": true, "type": "string", - "pattern": "[a-zA-Z0-9-_\\.]", + "pattern": "^[a-zA-Z0-9-_\\.]{1,54}$", "minLength": 1, "maxLength": 54, "description": "The name of the machine." @@ -1116,7 +1116,7 @@ "in": "path", "required": true, "type": "string", - "pattern": "[a-zA-Z0-9-_\\.]", + "pattern": "^[a-zA-Z0-9-_\\.]{1,54}$", "minLength": 1, "maxLength": 54, "description": "The name of the machine where the extension should be created or updated." @@ -1183,7 +1183,7 @@ "in": "path", "required": true, "type": "string", - "pattern": "[a-zA-Z0-9-_\\.]", + "pattern": "^[a-zA-Z0-9-_\\.]{1,54}$", "minLength": 1, "maxLength": 54, "description": "The name of the machine where the extension should be created or updated." @@ -1265,7 +1265,7 @@ "in": "path", "required": true, "type": "string", - "pattern": "[a-zA-Z0-9-_\\.]", + "pattern": "^[a-zA-Z0-9-_\\.]{1,54}$", "minLength": 1, "maxLength": 54, "description": "The name of the machine where the extension should be deleted." @@ -1338,7 +1338,7 @@ "in": "path", "required": true, "type": "string", - "pattern": "[a-zA-Z0-9-_\\.]", + "pattern": "^[a-zA-Z0-9-_\\.]{1,54}$", "minLength": 1, "maxLength": 54, "description": "The name of the machine containing the extension." @@ -1394,7 +1394,7 @@ "in": "path", "required": true, "type": "string", - "pattern": "[a-zA-Z0-9-_\\.]", + "pattern": "^[a-zA-Z0-9-_\\.]{1,54}$", "minLength": 1, "maxLength": 54, "description": "The name of the machine containing the extension." @@ -1459,7 +1459,7 @@ "in": "path", "required": true, "type": "string", - "pattern": "[a-zA-Z0-9-_\\.]", + "pattern": "^[a-zA-Z0-9-_\\.]{1,54}$", "minLength": 1, "maxLength": 54, "description": "The name of the hybrid machine." @@ -1693,7 +1693,7 @@ "in": "path", "required": true, "type": "string", - "pattern": "[a-zA-Z0-9-_\\.]", + "pattern": "^[a-zA-Z0-9-_\\.]{1,54}$", "minLength": 1, "maxLength": 54, "description": "The name of the hybrid machine." @@ -1748,7 +1748,7 @@ "in": "path", "required": true, "type": "string", - "pattern": "[a-zA-Z0-9-_\\.]", + "pattern": "^[a-zA-Z0-9-_\\.]{1,54}$", "minLength": 1, "maxLength": 54, "description": "The name of the hybrid machine." @@ -1758,7 +1758,7 @@ "name": "metadataName", "required": true, "type": "string", - "pattern": "[a-zA-Z0-9-_\\.]", + "pattern": "^[a-zA-Z0-9-_\\.]{1,54}$", "description": "Name of the HybridIdentityMetadata." }, { @@ -1809,7 +1809,7 @@ "in": "path", "required": true, "type": "string", - "pattern": "[a-zA-Z0-9-_\\.]", + "pattern": "^[a-zA-Z0-9-_\\.]{1,54}$", "minLength": 1, "maxLength": 54, "description": "The name of the hybrid machine." From 24baea2b5497ea92a49ca8018a6a0c715ca76129 Mon Sep 17 00:00:00 2001 From: adrielmsft Date: Thu, 19 Oct 2023 14:56:45 -0400 Subject: [PATCH 22/57] update reference versions --- .../2023-10-03-preview/privateLinkScopes.json | 36 +++++++++---------- 1 file changed, 18 insertions(+), 18 deletions(-) diff --git a/specification/hybridcompute/resource-manager/Microsoft.HybridCompute/preview/2023-10-03-preview/privateLinkScopes.json b/specification/hybridcompute/resource-manager/Microsoft.HybridCompute/preview/2023-10-03-preview/privateLinkScopes.json index 114353aa5446..4f888c88ba52 100644 --- a/specification/hybridcompute/resource-manager/Microsoft.HybridCompute/preview/2023-10-03-preview/privateLinkScopes.json +++ b/specification/hybridcompute/resource-manager/Microsoft.HybridCompute/preview/2023-10-03-preview/privateLinkScopes.json @@ -712,7 +712,7 @@ }, "parameters": [ { - "$ref": "../../../../../common-types/resource-management/v5/types.json#/parameters/ApiVersionParameter" + "$ref": "../../../../../common-types/resource-management/v3/types.json#/parameters/ApiVersionParameter" }, { "$ref": "#/parameters/ResourceUriParameter" @@ -728,7 +728,7 @@ "default": { "description": "Error response describing why the operation failed.", "schema": { - "$ref": "../../../../../common-types/resource-management/v5/types.json#/definitions/ErrorResponse" + "$ref": "../../../../../common-types/resource-management/v3/types.json#/definitions/ErrorResponse" } } }, @@ -753,7 +753,7 @@ }, "parameters": [ { - "$ref": "../../../../../common-types/resource-management/v5/types.json#/parameters/ApiVersionParameter" + "$ref": "../../../../../common-types/resource-management/v3/types.json#/parameters/ApiVersionParameter" }, { "$ref": "#/parameters/ResourceUriParameter" @@ -778,7 +778,7 @@ "default": { "description": "Error response describing why the operation failed.", "schema": { - "$ref": "../../../../../common-types/resource-management/v5/types.json#/definitions/ErrorResponse" + "$ref": "../../../../../common-types/resource-management/v3/types.json#/definitions/ErrorResponse" } } } @@ -799,7 +799,7 @@ }, "parameters": [ { - "$ref": "../../../../../common-types/resource-management/v5/types.json#/parameters/ApiVersionParameter" + "$ref": "../../../../../common-types/resource-management/v3/types.json#/parameters/ApiVersionParameter" }, { "$ref": "#/parameters/ResourceUriParameter" @@ -824,7 +824,7 @@ "default": { "description": "Error response describing why the operation failed.", "schema": { - "$ref": "../../../../../common-types/resource-management/v5/types.json#/definitions/ErrorResponse" + "$ref": "../../../../../common-types/resource-management/v3/types.json#/definitions/ErrorResponse" } } } @@ -839,13 +839,13 @@ "operationId": "NetworkSecurityPerimeterConfigurations_GetByPrivateLinkScope", "parameters": [ { - "$ref": "../../../../../common-types/resource-management/v5/types.json#/parameters/SubscriptionIdParameter" + "$ref": "../../../../../common-types/resource-management/v3/types.json#/parameters/SubscriptionIdParameter" }, { - "$ref": "../../../../../common-types/resource-management/v5/types.json#/parameters/ResourceGroupNameParameter" + "$ref": "../../../../../common-types/resource-management/v3/types.json#/parameters/ResourceGroupNameParameter" }, { - "$ref": "../../../../../common-types/resource-management/v5/types.json#/parameters/ApiVersionParameter" + "$ref": "../../../../../common-types/resource-management/v3/types.json#/parameters/ApiVersionParameter" }, { "$ref": "#/parameters/PrivateLinkScopeName" @@ -867,7 +867,7 @@ "default": { "description": "Error response describing why the operation failed.", "schema": { - "$ref": "../../../../../common-types/resource-management/v5/types.json#/definitions/ErrorResponse" + "$ref": "../../../../../common-types/resource-management/v3/types.json#/definitions/ErrorResponse" } } }, @@ -887,13 +887,13 @@ "operationId": "NetworkSecurityPerimeterConfigurations_ListByPrivateLinkScope", "parameters": [ { - "$ref": "../../../../../common-types/resource-management/v5/types.json#/parameters/SubscriptionIdParameter" + "$ref": "../../../../../common-types/resource-management/v3/types.json#/parameters/SubscriptionIdParameter" }, { - "$ref": "../../../../../common-types/resource-management/v5/types.json#/parameters/ResourceGroupNameParameter" + "$ref": "../../../../../common-types/resource-management/v3/types.json#/parameters/ResourceGroupNameParameter" }, { - "$ref": "../../../../../common-types/resource-management/v5/types.json#/parameters/ApiVersionParameter" + "$ref": "../../../../../common-types/resource-management/v3/types.json#/parameters/ApiVersionParameter" }, { "$ref": "#/parameters/PrivateLinkScopeName" @@ -909,7 +909,7 @@ "default": { "description": "Error response describing why the operation failed.", "schema": { - "$ref": "../../../../../common-types/resource-management/v5/types.json#/definitions/ErrorResponse" + "$ref": "../../../../../common-types/resource-management/v3/types.json#/definitions/ErrorResponse" } } }, @@ -932,13 +932,13 @@ "operationId": "NetworkSecurityPerimeterConfigurations_ReconcileForPrivateLinkScope", "parameters": [ { - "$ref": "../../../../../common-types/resource-management/v5/types.json#/parameters/SubscriptionIdParameter" + "$ref": "../../../../../common-types/resource-management/v3/types.json#/parameters/SubscriptionIdParameter" }, { - "$ref": "../../../../../common-types/resource-management/v5/types.json#/parameters/ResourceGroupNameParameter" + "$ref": "../../../../../common-types/resource-management/v3/types.json#/parameters/ResourceGroupNameParameter" }, { - "$ref": "../../../../../common-types/resource-management/v5/types.json#/parameters/ApiVersionParameter" + "$ref": "../../../../../common-types/resource-management/v3/types.json#/parameters/ApiVersionParameter" }, { "$ref": "#/parameters/PrivateLinkScopeName" @@ -972,7 +972,7 @@ "default": { "description": "Error response describing why the operation failed.", "schema": { - "$ref": "../../../../../common-types/resource-management/v5/types.json#/definitions/ErrorResponse" + "$ref": "../../../../../common-types/resource-management/v3/types.json#/definitions/ErrorResponse" } } }, From 8880b0848518cd9688fd84c101d47fe9f92ca796 Mon Sep 17 00:00:00 2001 From: adrielmsft Date: Thu, 19 Oct 2023 15:52:50 -0400 Subject: [PATCH 23/57] network and nsp config changes --- .../2023-10-03-preview/privateLinkScopes.json | 764 ++++++++++++++++++ 1 file changed, 764 insertions(+) diff --git a/specification/hybridcompute/resource-manager/Microsoft.HybridCompute/preview/2023-10-03-preview/privateLinkScopes.json b/specification/hybridcompute/resource-manager/Microsoft.HybridCompute/preview/2023-10-03-preview/privateLinkScopes.json index 80b0fe0516df..4f888c88ba52 100644 --- a/specification/hybridcompute/resource-manager/Microsoft.HybridCompute/preview/2023-10-03-preview/privateLinkScopes.json +++ b/specification/hybridcompute/resource-manager/Microsoft.HybridCompute/preview/2023-10-03-preview/privateLinkScopes.json @@ -694,9 +694,742 @@ } } } + }, + "/{resourceUri}/providers/Microsoft.HybridCompute/networkConfigurations": { + "get": { + "tags": [ + "NetworkConfigurations" + ], + "description": "Returns a NetworkConfiguration for the target resource.", + "operationId": "NetworkConfigurations_Get", + "produces": [ + "application/json" + ], + "x-ms-examples": { + "NetworkConfigurationsGet": { + "$ref": "./examples/networkConfiguration/NetworkConfigurationsGet.json" + } + }, + "parameters": [ + { + "$ref": "../../../../../common-types/resource-management/v3/types.json#/parameters/ApiVersionParameter" + }, + { + "$ref": "#/parameters/ResourceUriParameter" + } + ], + "responses": { + "200": { + "description": "Network Configuration information for the target resource.", + "schema": { + "$ref": "#/definitions/NetworkConfiguration" + } + }, + "default": { + "description": "Error response describing why the operation failed.", + "schema": { + "$ref": "../../../../../common-types/resource-management/v3/types.json#/definitions/ErrorResponse" + } + } + }, + "deprecated": false + }, + "put": { + "tags": [ + "NetworkConfigurations" + ], + "description": "Create or update the NetworkConfiguration of the target resource.", + "operationId": "NetworkConfigurations_CreateOrUpdate", + "produces": [ + "application/json" + ], + "x-ms-examples": { + "NetworkConfigurationsCreate": { + "$ref": "./examples/networkConfiguration/NetworkConfigurationsCreate.json" + }, + "NetworkConfigurationsUpdate": { + "$ref": "./examples/networkConfiguration/NetworkConfigurationsUpdate.json" + } + }, + "parameters": [ + { + "$ref": "../../../../../common-types/resource-management/v3/types.json#/parameters/ApiVersionParameter" + }, + { + "$ref": "#/parameters/ResourceUriParameter" + }, + { + "name": "parameters", + "description": "Network Configuration details", + "in": "body", + "required": true, + "schema": { + "$ref": "#/definitions/NetworkConfiguration" + } + } + ], + "responses": { + "200": { + "description": "Network Configuration information for the target resource.", + "schema": { + "$ref": "#/definitions/NetworkConfiguration" + } + }, + "default": { + "description": "Error response describing why the operation failed.", + "schema": { + "$ref": "../../../../../common-types/resource-management/v3/types.json#/definitions/ErrorResponse" + } + } + } + }, + "patch": { + "tags": [ + "NetworkConfigurations" + ], + "description": "Update the endpoint to the target resource.", + "operationId": "NetworkConfigurations_Update", + "produces": [ + "application/json" + ], + "x-ms-examples": { + "NetworkConfigurationsUpdate": { + "$ref": "./examples/networkConfiguration/NetworkConfigurationsUpdate.json" + } + }, + "parameters": [ + { + "$ref": "../../../../../common-types/resource-management/v3/types.json#/parameters/ApiVersionParameter" + }, + { + "$ref": "#/parameters/ResourceUriParameter" + }, + { + "name": "parameters", + "description": "Network Configuration details", + "in": "body", + "required": true, + "schema": { + "$ref": "#/definitions/NetworkConfiguration" + } + } + ], + "responses": { + "200": { + "description": "Network Configuration information for the target resource.", + "schema": { + "$ref": "#/definitions/NetworkConfiguration" + } + }, + "default": { + "description": "Error response describing why the operation failed.", + "schema": { + "$ref": "../../../../../common-types/resource-management/v3/types.json#/definitions/ErrorResponse" + } + } + } + } + }, + "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.HybridCompute/privateLinkScopes/{scopeName}/networkSecurityPerimeterConfigurations/{perimeterGuid}.{associationName}": { + "get": { + "tags": [ + "NetworkSecurityPerimeterConfiguration" + ], + "description": "Gets the network security perimeter configuration for a private link scope.", + "operationId": "NetworkSecurityPerimeterConfigurations_GetByPrivateLinkScope", + "parameters": [ + { + "$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/ApiVersionParameter" + }, + { + "$ref": "#/parameters/PrivateLinkScopeName" + }, + { + "$ref": "#/parameters/PerimeterGuid" + }, + { + "$ref": "#/parameters/AssociationName" + } + ], + "responses": { + "200": { + "description": "Successfully retrieved network security perimeter configuration details.", + "schema": { + "$ref": "#/definitions/NetworkSecurityPerimeterConfiguration" + } + }, + "default": { + "description": "Error response describing why the operation failed.", + "schema": { + "$ref": "../../../../../common-types/resource-management/v3/types.json#/definitions/ErrorResponse" + } + } + }, + "x-ms-examples": { + "Gets the network security perimeter configuration of the private link scope.": { + "$ref": "./examples/networkSecurityPerimeterConfiguration/NetworkSecurityPerimeterConfigurationGet.json" + } + } + } + }, + "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.HybridCompute/privateLinkScopes/{scopeName}/networkSecurityPerimeterConfigurations": { + "get": { + "tags": [ + "NetworkSecurityPerimeterConfiguration" + ], + "description": "Lists the network security perimeter configurations for a private link scope.", + "operationId": "NetworkSecurityPerimeterConfigurations_ListByPrivateLinkScope", + "parameters": [ + { + "$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/ApiVersionParameter" + }, + { + "$ref": "#/parameters/PrivateLinkScopeName" + } + ], + "responses": { + "200": { + "description": "Successfully retrieved network security perimeter configuration details.", + "schema": { + "$ref": "#/definitions/NetworkSecurityPerimeterConfigurationListResult" + } + }, + "default": { + "description": "Error response describing why the operation failed.", + "schema": { + "$ref": "../../../../../common-types/resource-management/v3/types.json#/definitions/ErrorResponse" + } + } + }, + "x-ms-pageable": { + "nextLinkName": "nextLink" + }, + "x-ms-examples": { + "Gets the list of network security perimeter configurations of the private link scope.": { + "$ref": "./examples/networkSecurityPerimeterConfiguration/NetworkSecurityPerimeterConfigurationList.json" + } + } + } + }, + "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.HybridCompute/privateLinkScopes/{scopeName}/networkSecurityPerimeterConfigurations/{perimeterGuid}.{associationName}/reconcile": { + "post": { + "tags": [ + "NetworkSecurityPerimeterConfiguration" + ], + "description": "Forces the network security perimeter configuration to refresh for a private link scope.", + "operationId": "NetworkSecurityPerimeterConfigurations_ReconcileForPrivateLinkScope", + "parameters": [ + { + "$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/ApiVersionParameter" + }, + { + "$ref": "#/parameters/PrivateLinkScopeName" + }, + { + "$ref": "#/parameters/PerimeterGuid" + }, + { + "$ref": "#/parameters/AssociationName" + } + ], + "responses": { + "202": { + "description": "Accepted.", + "headers": { + "Location": { + "description": "The URL of the resource used to check the status of the asynchronous operation.", + "type": "string" + }, + "Retry-After": { + "description": "The recommended number of seconds to wait before calling the URI specified in Azure-AsyncOperation.", + "type": "integer", + "format": "int32" + }, + "Azure-AsyncOperation": { + "description": "The URI to poll for completion status.", + "type": "string" + } + } + }, + "default": { + "description": "Error response describing why the operation failed.", + "schema": { + "$ref": "../../../../../common-types/resource-management/v3/types.json#/definitions/ErrorResponse" + } + } + }, + "x-ms-long-running-operation": true, + "x-ms-examples": { + "Reconciles the network security perimeter configuration of the private link scope.": { + "$ref": "./examples/networkSecurityPerimeterConfiguration/NetworkSecurityPerimeterConfigurationReconcile.json" + } + } + } } }, "definitions": { + "NetworkConfiguration": { + "type": "object", + "properties": { + "id": { + "type": "string", + "readOnly": true, + "description": "Azure resource Id" + }, + "name": { + "type": "string", + "description": "Azure resource name", + "readOnly": true + }, + "type": { + "type": "string", + "readOnly": true, + "description": "Azure resource type" + }, + "location": { + "type": "string", + "description": "Resource location", + "x-ms-mutability": [ + "create", + "read" + ] + }, + "properties": { + "x-ms-client-flatten": true, + "$ref": "#/definitions/NetworkConfigurationProperties" + } + }, + "x-ms-azure-resource": true, + "description": "An azure resource object" + }, + "NetworkConfigurationProperties": { + "type": "object", + "description": "Network configuration properties", + "properties": { + "tenantId": { + "type": "string", + "readOnly": true, + "description": "Azure resource tenant Id" + }, + "networkConfigurationScopeId": { + "type": "string", + "description": "Associated Network Configuration Scope Id" + }, + "networkConfigurationScopeResourceId": { + "type": "string", + "description": "Associated Network Configuration Scope Resource Id" + }, + "keyProperties": { + "description": "Public key information for client authentication", + "readOnly": true, + "$ref": "#/definitions/KeyProperties" + } + }, + "required": [ + "networkConfigurationScopeResourceId" + ] + }, + "KeyProperties": { + "type": "object", + "description": "Public key information for client authentication", + "properties": { + "clientPublicKey": { + "description": "Current public key details", + "readOnly": true, + "$ref": "#/definitions/KeyDetails" + }, + "candidatePublicKey": { + "description": "Candidate public key details", + "readOnly": true, + "$ref": "#/definitions/KeyDetails" + } + } + }, + "KeyDetails": { + "type": "object", + "description": "Public key details", + "properties": { + "publicKey": { + "type": "string", + "description": "Public key", + "readOnly": true + }, + "notAfter": { + "type": "string", + "format": "date-time", + "description": "Key expiration date", + "readOnly": true + }, + "renewAfter": { + "type": "string", + "format": "date-time", + "description": "Recommended key renewal date", + "readOnly": true + } + } + }, + "NetworkSecurityPerimeterConfiguration": { + "type": "object", + "description": "Properties that define a Network Security Perimeter resource.", + "properties": { + "id": { + "type": "string", + "readOnly": true, + "description": "Azure resource Id" + }, + "name": { + "type": "string", + "description": "Azure resource name", + "readOnly": true + }, + "type": { + "type": "string", + "readOnly": true, + "description": "Azure resource type" + }, + "properties": { + "x-ms-client-flatten": true, + "description": "Properties that define a Network Security Perimeter resource.", + "$ref": "#/definitions/NetworkSecurityPerimeterConfigurationProperties" + } + }, + "x-ms-azure-resource": true + }, + "NetworkSecurityPerimeterConfigurationProperties": { + "type": "object", + "description": "Properties that define a Network Security Perimeter resource.", + "properties": { + "provisioningState": { + "type": "string", + "description": "Current state of this NetworkSecurityPerimeter: whether or not is has been provisioned within the resource group it is defined. Users cannot change this value but are able to read from it. Values will include Provisioning ,Succeeded, Canceled and Failed.", + "readOnly": true + }, + "provisioningIssues": { + "type": "array", + "description": "Provisioning issues.", + "readOnly": true, + "items": { + "$ref": "#/definitions/ProvisioningIssue" + } + }, + "networkSecurityPerimeter": { + "description": "The Network Security Perimeter associated with this configuration.", + "$ref": "#/definitions/NetworkSecurityPerimeter" + }, + "resourceAssociation": { + "description": "The Resource Association.", + "$ref": "#/definitions/ResourceAssociation" + }, + "profile": { + "description": "Network Security Perimeter profile", + "$ref": "#/definitions/NetworkSecurityPerimeterProfile" + } + } + }, + "NetworkSecurityPerimeterProfile": { + "type": "object", + "description": "Network Security Perimeter profile", + "properties": { + "name": { + "type": "string", + "description": "Name of the resource", + "readOnly": true + }, + "accessRulesVersion": { + "type": "string", + "description": "Access rules version number", + "readOnly": true + }, + "accessRules": { + "type": "array", + "description": "Collection of access rules for the profile", + "readOnly": true, + "items": { + "$ref": "#/definitions/AccessRule" + } + }, + "diagnosticSettingsVersion": { + "type": "string", + "description": "Diagnostic settings version number", + "readOnly": true + }, + "enabledLogCategories": { + "type": "array", + "description": "Collection of enabled log categories for the profile", + "readOnly": true, + "items": { + "type": "string" + } + } + } + }, + "ProvisioningIssue": { + "type": "object", + "description": "Details on issues that occurred during provisioning.", + "properties": { + "name": { + "type": "string", + "description": "Name of the provisioning issue.", + "readOnly": true + }, + "properties": { + "x-ms-client-flatten": true, + "description": "Provisioning issue properties", + "readOnly": true, + "$ref": "#/definitions/ProvisioningIssueProperties" + } + } + }, + "ProvisioningIssueProperties": { + "type": "object", + "description": "Properties of a provisioning issue.", + "properties": { + "issueType": { + "description": "Issue type", + "readOnly": true, + "$ref": "#/definitions/ProvisioningIssueType" + }, + "severity": { + "description": "Severity of the provisioning issue.", + "readOnly": true, + "$ref": "#/definitions/ProvisioningIssueSeverity" + }, + "description": { + "type": "string", + "description": "Description of the provisioning issue.", + "readOnly": true + }, + "suggestedResourceIds": { + "type": "array", + "description": "ARM Ids of the resources that can be associated to the same perimeter to remediate the issue", + "readOnly": true, + "items": { + "type": "string" + } + }, + "suggestedAccessRules": { + "type": "array", + "description": "Access rules that can be added to the perimeter to remediate the issue", + "readOnly": true, + "items": { + "$ref": "#/definitions/AccessRule" + } + } + } + }, + "ProvisioningIssueType": { + "type": "string", + "description": "Type of provisioning issue.", + "enum": [ + "MissingPerimeterConfiguration", + "MissingIdentityConfiguration", + "ConfigurationPropagationFailure", + "Other" + ], + "x-ms-enum": { + "name": "ProvisioningIssueType", + "modelAsString": true, + "values": [ + { + "value": "MissingPerimeterConfiguration", + "description": "Perimeter configuration is missing." + }, + { + "value": "MissingIdentityConfiguration", + "description": "Identity configuration is missing." + }, + { + "value": "ConfigurationPropagationFailure", + "description": "Configuration failed to propagate." + }, + { + "value": "Other", + "description": "Other failure." + } + ] + } + }, + "ProvisioningIssueSeverity": { + "type": "string", + "description": "Severity of the provisioning issue.", + "enum": [ + "Warning", + "Error" + ], + "x-ms-enum": { + "name": "ProvisioningIssueSeverity", + "modelAsString": true, + "values": [ + { + "value": "Warning", + "description": "Warnings can cause connectivity issues after provisioning succeeds." + }, + { + "value": "Error", + "description": "Errors will cause association provisioning to fail." + } + ] + } + }, + "AccessMode": { + "type": "string", + "description": "Property that impacts a resource's logging behavior and its connectivity with other resources and public networks.", + "enum": [ + "enforced", + "audit", + "learning" + ], + "x-ms-enum": { + "name": "AccessMode", + "modelAsString": true, + "values": [ + { + "value": "enforced", + "description": "Indicates that resource access is controlled by the NSP definition." + }, + { + "value": "audit", + "description": "Dry run mode, where traffic is evaluated against NSP Rules, logged but not enforced." + }, + { + "value": "learning", + "description": "Enables traffic evaluation to fall back to resource-specific firewall configurations." + } + ] + } + }, + "AccessRuleDirection": { + "type": "string", + "description": "Indicates direction of an access rule.", + "enum": [ + "Inbound", + "Outbound" + ], + "x-ms-enum": { + "name": "AccessMode", + "modelAsString": true, + "values": [ + { + "value": "Inbound", + "description": "Traffic originates outside of network." + }, + { + "value": "Outbound", + "description": "Traffic originates inside the network" + } + ] + } + }, + "AccessRule": { + "type": "object", + "description": "Access rule.", + "properties": { + "name": { + "type": "string", + "description": "Name of the access rule.", + "readOnly": true + }, + "properties": { + "x-ms-client-flatten": true, + "description": "Access rule properties", + "readOnly": true, + "$ref": "#/definitions/AccessRuleProperties" + } + } + }, + "AccessRuleProperties": { + "type": "object", + "description": "Properties of an access rule.", + "properties": { + "direction": { + "description": "Direction of the access rule.", + "readOnly": true, + "$ref": "#/definitions/AccessRuleDirection" + }, + "addressPrefixes": { + "type": "array", + "description": "Address prefixes that are allowed access.", + "readOnly": true, + "items": { + "type": "string" + } + } + } + }, + "NetworkSecurityPerimeter": { + "type": "object", + "description": "Properties that define a Network Security Perimeter resource.", + "properties": { + "id": { + "type": "string", + "readOnly": true, + "description": "Azure resource Id" + }, + "perimeterGuid": { + "type": "string", + "description": "Guid of the Network Security Perimeter", + "readOnly": true + }, + "location": { + "type": "string", + "readOnly": true, + "description": "Regional location of the perimeter" + } + } + }, + "NetworkSecurityPerimeterConfigurationListResult": { + "type": "object", + "description": "A list of network security perimeter configurations.", + "properties": { + "value": { + "description": "Array of results.", + "type": "array", + "items": { + "$ref": "#/definitions/NetworkSecurityPerimeterConfiguration" + }, + "readOnly": true + }, + "nextLink": { + "description": "Link to retrieve next page of results.", + "type": "string", + "readOnly": true + } + } + }, + "ResourceAssociation": { + "type": "object", + "description": "Properties that define a Resource Association.", + "properties": { + "name": { + "type": "string", + "readOnly": true, + "description": "Name of the Resource Association" + }, + "accessMode": { + "description": "The access mode", + "readOnly": true, + "$ref": "#/definitions/AccessMode" + } + } + }, "PrivateLinkScopesResource": { "type": "object", "properties": { @@ -1125,6 +1858,37 @@ "description": "The name of the target machine to get the private link scope validation details for.", "minLength": 1, "x-ms-parameter-location": "method" + }, + "ResourceUriParameter": { + "name": "resourceUri", + "in": "path", + "required": true, + "type": "string", + "description": "The fully qualified Azure Resource manager identifier of the resource to be connected.", + "x-ms-skip-url-encoding": true, + "x-ms-parameter-location": "method" + }, + "NetworkConfigurationScopeId": { + "name": "scopeId", + "in": "path", + "required": true, + "type": "string", + "description": "The id (Guid) of the Azure Arc Network Configuration Scope resource.", + "x-ms-parameter-location": "method" + }, + "PerimeterGuid": { + "name": "perimeterGuid", + "in":"path", + "required":true, + "type":"string", + "description": "The id (Guid) of the Network Security Perimeter resource." + }, + "AssociationName":{ + "name": "associationName", + "in":"path", + "required":true, + "type":"string", + "description":"The name of the resource association resource which represents an association between a private link scope and Network Security Perimeter Profile" } } } From a8bb3d30e3b512b38862d50e0963c5aac6bc6f9b Mon Sep 17 00:00:00 2001 From: adrielmsft Date: Thu, 19 Oct 2023 16:02:17 -0400 Subject: [PATCH 24/57] network and nsp config examples --- .../NetworkConfigurationsCreate.json | 35 ++++++++ .../NetworkConfigurationsGet.json | 29 ++++++ .../NetworkConfigurationsUpdate.json | 34 +++++++ ...workSecurityPerimeterConfigurationGet.json | 50 +++++++++++ ...orkSecurityPerimeterConfigurationList.json | 90 +++++++++++++++++++ ...curityPerimeterConfigurationReconcile.json | 18 ++++ 6 files changed, 256 insertions(+) create mode 100644 specification/hybridcompute/resource-manager/Microsoft.HybridCompute/preview/2023-10-03-preview/examples/networkConfiguration/NetworkConfigurationsCreate.json create mode 100644 specification/hybridcompute/resource-manager/Microsoft.HybridCompute/preview/2023-10-03-preview/examples/networkConfiguration/NetworkConfigurationsGet.json create mode 100644 specification/hybridcompute/resource-manager/Microsoft.HybridCompute/preview/2023-10-03-preview/examples/networkConfiguration/NetworkConfigurationsUpdate.json create mode 100644 specification/hybridcompute/resource-manager/Microsoft.HybridCompute/preview/2023-10-03-preview/examples/networkSecurityPerimeterConfiguration/NetworkSecurityPerimeterConfigurationGet.json create mode 100644 specification/hybridcompute/resource-manager/Microsoft.HybridCompute/preview/2023-10-03-preview/examples/networkSecurityPerimeterConfiguration/NetworkSecurityPerimeterConfigurationList.json create mode 100644 specification/hybridcompute/resource-manager/Microsoft.HybridCompute/preview/2023-10-03-preview/examples/networkSecurityPerimeterConfiguration/NetworkSecurityPerimeterConfigurationReconcile.json diff --git a/specification/hybridcompute/resource-manager/Microsoft.HybridCompute/preview/2023-10-03-preview/examples/networkConfiguration/NetworkConfigurationsCreate.json b/specification/hybridcompute/resource-manager/Microsoft.HybridCompute/preview/2023-10-03-preview/examples/networkConfiguration/NetworkConfigurationsCreate.json new file mode 100644 index 000000000000..3f6419647845 --- /dev/null +++ b/specification/hybridcompute/resource-manager/Microsoft.HybridCompute/preview/2023-10-03-preview/examples/networkConfiguration/NetworkConfigurationsCreate.json @@ -0,0 +1,35 @@ +{ + "parameters": { + "resourceUri": "subscriptions/f5bcc1d9-23af-4ae9-aca1-041d0f593a63/resourceGroups/hybridRG/providers/Microsoft.HybridCompute/machines/testMachine", + "api-version": "2023-10-03-preview", + "name": "default", + "parameters": { + "location": "westus", + "properties": { + "networkConfigurationScopeResourceId": "/subscriptions/f5bcc1d9-23af-4ae9-aca1-041d0f593a63/resourceGroups/hybridRG/providers/Microsoft.HybridCompute/privateLinkScopes/testScope" + } + } + }, + "responses": { + "200": { + "body": { + "id": "/subscriptions/f5bcc1d9-23af-4ae9-aca1-041d0f593a63/resourceGroups/hybridRG/providers/Microsoft.HybridCompute/machines/testMachine/providers/Microsoft.HybridCompute/networkConfigurations/default", + "name": "default", + "type": "Microsoft.HybridCompute/networkConfigurations", + "location": "westus", + "properties": { + "tenantId": "00000000-1111-2222-3333-444444444444", + "networkConfigurationScopeId": "c5dff806-9902-414d-a0cb-f83fa5407166", + "networkConfigurationScopeResourceId": "/subscriptions/f5bcc1d9-23af-4ae9-aca1-041d0f593a63/resourceGroups/hybridRG/providers/Microsoft.HybridCompute/privateLinkScopes/testScope", + "keyProperties": { + "clientPublicKey": { + "publicKey": "62617365363420656e636f646564207075626c6963206b6579", + "notAfter": "2021-01-01T00:00:00Z", + "renewAfter": "2021-02-01T00:00:00Z" + } + } + } + } + } + } +} diff --git a/specification/hybridcompute/resource-manager/Microsoft.HybridCompute/preview/2023-10-03-preview/examples/networkConfiguration/NetworkConfigurationsGet.json b/specification/hybridcompute/resource-manager/Microsoft.HybridCompute/preview/2023-10-03-preview/examples/networkConfiguration/NetworkConfigurationsGet.json new file mode 100644 index 000000000000..684805cfaef8 --- /dev/null +++ b/specification/hybridcompute/resource-manager/Microsoft.HybridCompute/preview/2023-10-03-preview/examples/networkConfiguration/NetworkConfigurationsGet.json @@ -0,0 +1,29 @@ +{ + "parameters": { + "resourceUri": "subscriptions/f5bcc1d9-23af-4ae9-aca1-041d0f593a63/resourceGroups/hybridRG/providers/Microsoft.HybridCompute/machines/testMachine", + "api-version": "2023-10-03-preview", + "name": "default" + }, + "responses": { + "200": { + "body": { + "id": "/subscriptions/f5bcc1d9-23af-4ae9-aca1-041d0f593a63/resourceGroups/hybridRG/providers/Microsoft.HybridCompute/machines/testMachine/providers/Microsoft.HybridCompute/networkConfigurations/default", + "name": "default", + "type": "Microsoft.HybridCompute/networkConfigurations", + "location": "westus", + "properties": { + "tenantId": "default", + "networkConfigurationScopeId": "c5dff806-9902-414d-a0cb-f83fa5407166", + "networkConfigurationScopeResourceId": "/subscriptions/f5bcc1d9-23af-4ae9-aca1-041d0f593a63/resourceGroups/hybridRG/providers/Microsoft.HybridCompute/privateLinkScopes/testScope", + "keyProperties": { + "clientPublicKey": { + "publicKey": "62617365363420656e636f646564207075626c6963206b6579", + "notAfter": "2021-01-01T00:00:00Z", + "renewAfter": "2021-02-01T00:00:00Z" + } + } + } + } + } + } +} diff --git a/specification/hybridcompute/resource-manager/Microsoft.HybridCompute/preview/2023-10-03-preview/examples/networkConfiguration/NetworkConfigurationsUpdate.json b/specification/hybridcompute/resource-manager/Microsoft.HybridCompute/preview/2023-10-03-preview/examples/networkConfiguration/NetworkConfigurationsUpdate.json new file mode 100644 index 000000000000..c8adeb3dbfc0 --- /dev/null +++ b/specification/hybridcompute/resource-manager/Microsoft.HybridCompute/preview/2023-10-03-preview/examples/networkConfiguration/NetworkConfigurationsUpdate.json @@ -0,0 +1,34 @@ +{ + "parameters": { + "resourceUri": "subscriptions/f5bcc1d9-23af-4ae9-aca1-041d0f593a63/resourceGroups/hybridRG/providers/Microsoft.HybridCompute/machines/testMachine", + "api-version": "2023-10-03-preview", + "name": "default", + "parameters": { + "properties": { + "networkConfigurationScopeResourceId": "/subscriptions/f5bcc1d9-23af-4ae9-aca1-041d0f593a63/resourceGroups/hybridRG/providers/Microsoft.HybridCompute/privateLinkScopes/testScope" + } + } + }, + "responses": { + "200": { + "body": { + "id": "/subscriptions/f5bcc1d9-23af-4ae9-aca1-041d0f593a63/resourceGroups/hybridRG/providers/Microsoft.HybridCompute/machines/testMachine/providers/Microsoft.HybridCompute/networkConfigurations/default", + "name": "default", + "type": "Microsoft.HybridCompute/networkConfigurations", + "location": "westus", + "properties": { + "tenantId": "00000000-1111-2222-3333-444444444444", + "networkConfigurationScopeId": "c5dff806-9902-414d-a0cb-f83fa5407166", + "networkConfigurationScopeResourceId": "/subscriptions/f5bcc1d9-23af-4ae9-aca1-041d0f593a63/resourceGroups/hybridRG/providers/Microsoft.HybridCompute/privateLinkScopes/testScope", + "keyProperties": { + "clientPublicKey": { + "publicKey": "publickey", + "notAfter": "2021-01-01T00:00:00Z", + "renewAfter": "2021-02-01T00:00:00Z" + } + } + } + } + } + } +} diff --git a/specification/hybridcompute/resource-manager/Microsoft.HybridCompute/preview/2023-10-03-preview/examples/networkSecurityPerimeterConfiguration/NetworkSecurityPerimeterConfigurationGet.json b/specification/hybridcompute/resource-manager/Microsoft.HybridCompute/preview/2023-10-03-preview/examples/networkSecurityPerimeterConfiguration/NetworkSecurityPerimeterConfigurationGet.json new file mode 100644 index 000000000000..ec6712f9184e --- /dev/null +++ b/specification/hybridcompute/resource-manager/Microsoft.HybridCompute/preview/2023-10-03-preview/examples/networkSecurityPerimeterConfiguration/NetworkSecurityPerimeterConfigurationGet.json @@ -0,0 +1,50 @@ +{ + "parameters": { + "api-version": "2023-10-03-preview", + "subscriptionId": "86dc51d3-92ed-4d7e-947a-775ea79b4919", + "resourceGroupName": "my-resource-group", + "scopeName": "my-privatelinkscope", + "perimeterName": "ece2d09e-184e-4f71-beb9-346e8ab12b83.myAssociation" + }, + "responses": { + "200": { + "body": { + "id": "/subscriptions/00000000-1111-2222-3333-444444444444/resourceGroups/my-resource-group/providers/Microsoft.HybridCompute/privateLinkScopes/my-privatelinkscope/networkSecurityPerimeterConfigurations/ece2d09e-184e-4f71-beb9-346e8ab12b83.myAssociation", + "name": "ece2d09e-184e-4f71-beb9-346e8ab12b83.myAssociation", + "type": "Microsoft.HybridCompute/privateLinkScopes/networkSecurityPerimeterConfigurations", + "properties": { + "provisioningState": "Accepted", + "provisioningIssues": [], + "networkSecurityPerimeter": { + "id": "/subscriptions/55555555-6666-7777-8888-999999999999/resourceGroups/Default-Network/providers/Microsoft.Network/networkSecurityPerimeters/myPerimeter", + "perimeterGuid": "ece2d09e-184e-4f71-beb9-346e8ab12b83", + "location": "westus" + }, + "resourceAssociation": { + "name": "myAssociation", + "accessMode": "enforced" + }, + "profile": { + "name": "myProfile", + "accessRulesVersion": "1", + "accessRules": [ + { + "name": "myAccessRule", + "properties": { + "direction": "Inbound", + "addressPrefixes": [ + "148.0.0.0/8", + "152.4.6.0/24", + "..." + ] + } + } + ], + "diagnosticSettingsVersion": "1", + "enabledLogCategories": [] + } + } + } + } + } +} diff --git a/specification/hybridcompute/resource-manager/Microsoft.HybridCompute/preview/2023-10-03-preview/examples/networkSecurityPerimeterConfiguration/NetworkSecurityPerimeterConfigurationList.json b/specification/hybridcompute/resource-manager/Microsoft.HybridCompute/preview/2023-10-03-preview/examples/networkSecurityPerimeterConfiguration/NetworkSecurityPerimeterConfigurationList.json new file mode 100644 index 000000000000..057f2330051e --- /dev/null +++ b/specification/hybridcompute/resource-manager/Microsoft.HybridCompute/preview/2023-10-03-preview/examples/networkSecurityPerimeterConfiguration/NetworkSecurityPerimeterConfigurationList.json @@ -0,0 +1,90 @@ +{ + "parameters": { + "api-version": "2023-10-03-preview", + "subscriptionId": "86dc51d3-92ed-4d7e-947a-775ea79b4919", + "resourceGroupName": "my-resource-group", + "scopeName": "my-privatelinkscope" + }, + "responses": { + "200": { + "body": { + "value": [ + { + "id": "/subscriptions/00000000-1111-2222-3333-444444444444/resourceGroups/my-resource-group/providers/Microsoft.HybridCompute/privateLinkScopes/my-privatelinkscope/networkSecurityPerimeterConfigurations/ece2d09e-184e-4f71-beb9-346e8ab12b83.myAssociation", + "name": "ece2d09e-184e-4f71-beb9-346e8ab12b83.myAssociation", + "type": "Microsoft.HybridCompute/privateLinkScopes/networkSecurityPerimeterConfigurations", + "properties": { + "provisioningState": "Accepted", + "provisioningIssues": [], + "networkSecurityPerimeter": { + "id": "/subscriptions/55555555-6666-7777-8888-999999999999/resourceGroups/Default-Network/providers/Microsoft.Network/networkSecurityPerimeters/myPerimeter", + "perimeterGuid": "ece2d09e-184e-4f71-beb9-346e8ab12b83", + "location": "westus" + }, + "resourceAssociation": { + "name": "myAssociation", + "accessMode": "enforced" + }, + "profile": { + "name": "myProfile", + "accessRulesVersion": "1", + "accessRules": [ + { + "name": "myAccessRule", + "properties": { + "direction": "Inbound", + "addressPrefixes": [ + "148.0.0.0/8", + "152.4.6.0/24", + "..." + ] + } + } + ], + "diagnosticSettingsVersion": "1", + "enabledLogCategories": [] + } + } + }, + { + "id": "/subscriptions/00000000-1111-2222-3333-444444444444/resourceGroups/my-resource-group/providers/Microsoft.HybridCompute/privateLinkScopes/my-privatelinkscope/networkSecurityPerimeterConfigurations/37364608-77ea-4c2a-bdc3-4b0b1cdfab15.myAssociation2", + "name": "37364608-77ea-4c2a-bdc3-4b0b1cdfab15.myAssociation2", + "type": "Microsoft.HybridCompute/privateLinkScopes/networkSecurityPerimeterConfigurations", + "properties": { + "provisioningState": "Accepted", + "provisioningIssues": [], + "networkSecurityPerimeter": { + "id": "/subscriptions/55555555-6666-7777-8888-999999999999/resourceGroups/Default-Network/providers/Microsoft.Network/networkSecurityPerimeters/myOtherPerimeter", + "perimeterGuid": "37364608-77ea-4c2a-bdc3-4b0b1cdfab15", + "location": "westus" + }, + "resourceAssociation": { + "name": "myAssociation", + "accessMode": "learning" + }, + "profile": { + "name": "myProfile", + "accessRulesVersion": "1", + "accessRules": [ + { + "name": "myAccessRule", + "properties": { + "direction": "Inbound", + "addressPrefixes": [ + "122.0.0.0/8", + "144.4.6.0/24", + "..." + ] + } + } + ], + "diagnosticSettingsVersion": "1", + "enabledLogCategories": [] + } + } + } + ] + } + } + } +} diff --git a/specification/hybridcompute/resource-manager/Microsoft.HybridCompute/preview/2023-10-03-preview/examples/networkSecurityPerimeterConfiguration/NetworkSecurityPerimeterConfigurationReconcile.json b/specification/hybridcompute/resource-manager/Microsoft.HybridCompute/preview/2023-10-03-preview/examples/networkSecurityPerimeterConfiguration/NetworkSecurityPerimeterConfigurationReconcile.json new file mode 100644 index 000000000000..e3a9502649c4 --- /dev/null +++ b/specification/hybridcompute/resource-manager/Microsoft.HybridCompute/preview/2023-10-03-preview/examples/networkSecurityPerimeterConfiguration/NetworkSecurityPerimeterConfigurationReconcile.json @@ -0,0 +1,18 @@ +{ + "parameters": { + "api-version": "2023-10-03-preview", + "subscriptionId": "86dc51d3-92ed-4d7e-947a-775ea79b4919", + "resourceGroupName": "my-resource-group", + "scopeName": "my-privatelinkscope", + "perimeterName": "ece2d09e-184e-4f71-beb9-346e8ab12b83.myAssociation" + }, + "responses": { + "202": { + "headers": { + "Location": "{callbackUrl}", + "Retry-After": 200, + "Azure-AsyncOperation": "{callbackUri}" + } + } + } +} From 23c7e5e371f4dd9180180a3b1c080dc3b1321589 Mon Sep 17 00:00:00 2001 From: adrielmsft Date: Thu, 19 Oct 2023 17:11:01 -0400 Subject: [PATCH 25/57] network config 201 response --- .../preview/2023-10-03-preview/privateLinkScopes.json | 8 +++++++- 1 file changed, 7 insertions(+), 1 deletion(-) diff --git a/specification/hybridcompute/resource-manager/Microsoft.HybridCompute/preview/2023-10-03-preview/privateLinkScopes.json b/specification/hybridcompute/resource-manager/Microsoft.HybridCompute/preview/2023-10-03-preview/privateLinkScopes.json index 4f888c88ba52..392d3f019dc0 100644 --- a/specification/hybridcompute/resource-manager/Microsoft.HybridCompute/preview/2023-10-03-preview/privateLinkScopes.json +++ b/specification/hybridcompute/resource-manager/Microsoft.HybridCompute/preview/2023-10-03-preview/privateLinkScopes.json @@ -770,7 +770,13 @@ ], "responses": { "200": { - "description": "Network Configuration information for the target resource.", + "description": "Successful request when creating or updating a NetworkConfiguration. The updated NetworkConfiguration is returned.", + "schema": { + "$ref": "#/definitions/NetworkConfiguration" + } + }, + "201": { + "description": "Successful request when creating or updating a NetworkConfiguration. The updated NetworkConfiguration was created and is returned.", "schema": { "$ref": "#/definitions/NetworkConfiguration" } From e05921f12f4bb66f1f57431c6591e48fc09bcffd Mon Sep 17 00:00:00 2001 From: adrielmsft Date: Thu, 19 Oct 2023 17:37:25 -0400 Subject: [PATCH 26/57] network config include default name in route --- .../networkConfiguration/NetworkConfigurationsGet.json | 7 +++---- .../preview/2023-10-03-preview/privateLinkScopes.json | 2 +- 2 files changed, 4 insertions(+), 5 deletions(-) diff --git a/specification/hybridcompute/resource-manager/Microsoft.HybridCompute/preview/2023-10-03-preview/examples/networkConfiguration/NetworkConfigurationsGet.json b/specification/hybridcompute/resource-manager/Microsoft.HybridCompute/preview/2023-10-03-preview/examples/networkConfiguration/NetworkConfigurationsGet.json index 684805cfaef8..c2803b3efe47 100644 --- a/specification/hybridcompute/resource-manager/Microsoft.HybridCompute/preview/2023-10-03-preview/examples/networkConfiguration/NetworkConfigurationsGet.json +++ b/specification/hybridcompute/resource-manager/Microsoft.HybridCompute/preview/2023-10-03-preview/examples/networkConfiguration/NetworkConfigurationsGet.json @@ -1,14 +1,13 @@ { "parameters": { "resourceUri": "subscriptions/f5bcc1d9-23af-4ae9-aca1-041d0f593a63/resourceGroups/hybridRG/providers/Microsoft.HybridCompute/machines/testMachine", - "api-version": "2023-10-03-preview", - "name": "default" + "api-version": "2023-10-03-preview" }, "responses": { "200": { "body": { - "id": "/subscriptions/f5bcc1d9-23af-4ae9-aca1-041d0f593a63/resourceGroups/hybridRG/providers/Microsoft.HybridCompute/machines/testMachine/providers/Microsoft.HybridCompute/networkConfigurations/default", - "name": "default", + "id": "/subscriptions/f5bcc1d9-23af-4ae9-aca1-041d0f593a63/resourceGroups/hybridRG/providers/Microsoft.HybridCompute/machines/testMachine/providers/Microsoft.HybridCompute/networkConfigurations/current", + "name": "current", "type": "Microsoft.HybridCompute/networkConfigurations", "location": "westus", "properties": { diff --git a/specification/hybridcompute/resource-manager/Microsoft.HybridCompute/preview/2023-10-03-preview/privateLinkScopes.json b/specification/hybridcompute/resource-manager/Microsoft.HybridCompute/preview/2023-10-03-preview/privateLinkScopes.json index 392d3f019dc0..12b9d00cedea 100644 --- a/specification/hybridcompute/resource-manager/Microsoft.HybridCompute/preview/2023-10-03-preview/privateLinkScopes.json +++ b/specification/hybridcompute/resource-manager/Microsoft.HybridCompute/preview/2023-10-03-preview/privateLinkScopes.json @@ -695,7 +695,7 @@ } } }, - "/{resourceUri}/providers/Microsoft.HybridCompute/networkConfigurations": { + "/{resourceUri}/providers/Microsoft.HybridCompute/networkConfigurations/current": { "get": { "tags": [ "NetworkConfigurations" From 1d45c530b72759ad5ffadaa54507ef302b24ea44 Mon Sep 17 00:00:00 2001 From: adrielmsft Date: Thu, 19 Oct 2023 17:42:24 -0400 Subject: [PATCH 27/57] condense perimeterGuid and associationName parameter into perimeterName --- .../2023-10-03-preview/privateLinkScopes.json | 27 +++++-------------- 1 file changed, 7 insertions(+), 20 deletions(-) diff --git a/specification/hybridcompute/resource-manager/Microsoft.HybridCompute/preview/2023-10-03-preview/privateLinkScopes.json b/specification/hybridcompute/resource-manager/Microsoft.HybridCompute/preview/2023-10-03-preview/privateLinkScopes.json index 12b9d00cedea..0f04393080d8 100644 --- a/specification/hybridcompute/resource-manager/Microsoft.HybridCompute/preview/2023-10-03-preview/privateLinkScopes.json +++ b/specification/hybridcompute/resource-manager/Microsoft.HybridCompute/preview/2023-10-03-preview/privateLinkScopes.json @@ -836,7 +836,7 @@ } } }, - "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.HybridCompute/privateLinkScopes/{scopeName}/networkSecurityPerimeterConfigurations/{perimeterGuid}.{associationName}": { + "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.HybridCompute/privateLinkScopes/{scopeName}/networkSecurityPerimeterConfigurations/{perimeterName}": { "get": { "tags": [ "NetworkSecurityPerimeterConfiguration" @@ -857,10 +857,7 @@ "$ref": "#/parameters/PrivateLinkScopeName" }, { - "$ref": "#/parameters/PerimeterGuid" - }, - { - "$ref": "#/parameters/AssociationName" + "$ref": "#/parameters/PerimeterName" } ], "responses": { @@ -929,7 +926,7 @@ } } }, - "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.HybridCompute/privateLinkScopes/{scopeName}/networkSecurityPerimeterConfigurations/{perimeterGuid}.{associationName}/reconcile": { + "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.HybridCompute/privateLinkScopes/{scopeName}/networkSecurityPerimeterConfigurations/{perimeterName}/reconcile": { "post": { "tags": [ "NetworkSecurityPerimeterConfiguration" @@ -950,10 +947,7 @@ "$ref": "#/parameters/PrivateLinkScopeName" }, { - "$ref": "#/parameters/PerimeterGuid" - }, - { - "$ref": "#/parameters/AssociationName" + "$ref": "#/parameters/PerimeterName" } ], "responses": { @@ -1882,19 +1876,12 @@ "description": "The id (Guid) of the Azure Arc Network Configuration Scope resource.", "x-ms-parameter-location": "method" }, - "PerimeterGuid": { - "name": "perimeterGuid", - "in":"path", - "required":true, - "type":"string", - "description": "The id (Guid) of the Network Security Perimeter resource." - }, - "AssociationName":{ - "name": "associationName", + "PerimeterName":{ + "name": "perimeterName", "in":"path", "required":true, "type":"string", - "description":"The name of the resource association resource which represents an association between a private link scope and Network Security Perimeter Profile" + "description": "The name, in the format {perimeterGuid}.{associationName}, of the Network Security Perimeter resource." } } } From 22d9b240e5e0dcf0af7dea3cac1b5a818f5f690b Mon Sep 17 00:00:00 2001 From: adrielmsft Date: Fri, 20 Oct 2023 11:14:51 -0400 Subject: [PATCH 28/57] regex restriction --- .../preview/2023-10-03-preview/privateLinkScopes.json | 7 +++++-- 1 file changed, 5 insertions(+), 2 deletions(-) diff --git a/specification/hybridcompute/resource-manager/Microsoft.HybridCompute/preview/2023-10-03-preview/privateLinkScopes.json b/specification/hybridcompute/resource-manager/Microsoft.HybridCompute/preview/2023-10-03-preview/privateLinkScopes.json index 0f04393080d8..a0873ddbdeb0 100644 --- a/specification/hybridcompute/resource-manager/Microsoft.HybridCompute/preview/2023-10-03-preview/privateLinkScopes.json +++ b/specification/hybridcompute/resource-manager/Microsoft.HybridCompute/preview/2023-10-03-preview/privateLinkScopes.json @@ -1823,7 +1823,8 @@ "required": true, "type": "string", "description": "The name of the Azure Arc PrivateLinkScope resource.", - "x-ms-parameter-location": "method" + "x-ms-parameter-location": "method", + "pattern": "^[a-z][a-z0-9]*$" }, "PrivateLinkScopeId": { "name": "privateLinkScopeId", @@ -1881,7 +1882,9 @@ "in":"path", "required":true, "type":"string", - "description": "The name, in the format {perimeterGuid}.{associationName}, of the Network Security Perimeter resource." + "description": "The name, in the format {perimeterGuid}.{associationName}, of the Network Security Perimeter resource.", + "x-ms-parameter-location": "method", + "pattern": "^[0-9a-fA-F]{8}-([0-9a-fA-F]{4}-){3}[0-9a-fA-F]{12}[.]{1}[a-z][a-z0-9]*$" } } } From 755c18bb031b403f1239a05b420081a2e6685439 Mon Sep 17 00:00:00 2001 From: adrielmsft Date: Fri, 20 Oct 2023 11:24:58 -0400 Subject: [PATCH 29/57] unique x-ms-enum name --- .../preview/2023-10-03-preview/privateLinkScopes.json | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/specification/hybridcompute/resource-manager/Microsoft.HybridCompute/preview/2023-10-03-preview/privateLinkScopes.json b/specification/hybridcompute/resource-manager/Microsoft.HybridCompute/preview/2023-10-03-preview/privateLinkScopes.json index a0873ddbdeb0..eabc1b939dcf 100644 --- a/specification/hybridcompute/resource-manager/Microsoft.HybridCompute/preview/2023-10-03-preview/privateLinkScopes.json +++ b/specification/hybridcompute/resource-manager/Microsoft.HybridCompute/preview/2023-10-03-preview/privateLinkScopes.json @@ -1324,7 +1324,7 @@ "Outbound" ], "x-ms-enum": { - "name": "AccessMode", + "name": "AccessRuleDirection", "modelAsString": true, "values": [ { From 4bfdd27c39a06269b109d8984cea722597fc90bf Mon Sep 17 00:00:00 2001 From: adrielmsft Date: Fri, 20 Oct 2023 11:39:23 -0400 Subject: [PATCH 30/57] fix regex patterns --- .../preview/2023-10-03-preview/privateLinkScopes.json | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/specification/hybridcompute/resource-manager/Microsoft.HybridCompute/preview/2023-10-03-preview/privateLinkScopes.json b/specification/hybridcompute/resource-manager/Microsoft.HybridCompute/preview/2023-10-03-preview/privateLinkScopes.json index eabc1b939dcf..488ade431197 100644 --- a/specification/hybridcompute/resource-manager/Microsoft.HybridCompute/preview/2023-10-03-preview/privateLinkScopes.json +++ b/specification/hybridcompute/resource-manager/Microsoft.HybridCompute/preview/2023-10-03-preview/privateLinkScopes.json @@ -1824,7 +1824,7 @@ "type": "string", "description": "The name of the Azure Arc PrivateLinkScope resource.", "x-ms-parameter-location": "method", - "pattern": "^[a-z][a-z0-9]*$" + "pattern": ".+" }, "PrivateLinkScopeId": { "name": "privateLinkScopeId", @@ -1884,7 +1884,7 @@ "type":"string", "description": "The name, in the format {perimeterGuid}.{associationName}, of the Network Security Perimeter resource.", "x-ms-parameter-location": "method", - "pattern": "^[0-9a-fA-F]{8}-([0-9a-fA-F]{4}-){3}[0-9a-fA-F]{12}[.]{1}[a-z][a-z0-9]*$" + "pattern": "^[0-9a-fA-F]{8}-([0-9a-fA-F]{4}-){3}[0-9a-fA-F]{12}[.]{1}.+$" } } } From be3da6e96673b6cd07c96eb62c203b9dd0a13435 Mon Sep 17 00:00:00 2001 From: adrielmsft Date: Fri, 20 Oct 2023 11:49:11 -0400 Subject: [PATCH 31/57] include 201 responses --- .../NetworkConfigurationsCreate.json | 20 +++++++++++++++++++ .../NetworkConfigurationsUpdate.json | 20 +++++++++++++++++++ 2 files changed, 40 insertions(+) diff --git a/specification/hybridcompute/resource-manager/Microsoft.HybridCompute/preview/2023-10-03-preview/examples/networkConfiguration/NetworkConfigurationsCreate.json b/specification/hybridcompute/resource-manager/Microsoft.HybridCompute/preview/2023-10-03-preview/examples/networkConfiguration/NetworkConfigurationsCreate.json index 3f6419647845..a342b3da633f 100644 --- a/specification/hybridcompute/resource-manager/Microsoft.HybridCompute/preview/2023-10-03-preview/examples/networkConfiguration/NetworkConfigurationsCreate.json +++ b/specification/hybridcompute/resource-manager/Microsoft.HybridCompute/preview/2023-10-03-preview/examples/networkConfiguration/NetworkConfigurationsCreate.json @@ -30,6 +30,26 @@ } } } + }, + "201": { + "body": { + "id": "/subscriptions/f5bcc1d9-23af-4ae9-aca1-041d0f593a63/resourceGroups/hybridRG/providers/Microsoft.HybridCompute/machines/testMachine/providers/Microsoft.HybridCompute/networkConfigurations/default", + "name": "default", + "type": "Microsoft.HybridCompute/networkConfigurations", + "location": "westus", + "properties": { + "tenantId": "00000000-1111-2222-3333-444444444444", + "networkConfigurationScopeId": "c5dff806-9902-414d-a0cb-f83fa5407166", + "networkConfigurationScopeResourceId": "/subscriptions/f5bcc1d9-23af-4ae9-aca1-041d0f593a63/resourceGroups/hybridRG/providers/Microsoft.HybridCompute/privateLinkScopes/testScope", + "keyProperties": { + "clientPublicKey": { + "publicKey": "62617365363420656e636f646564207075626c6963206b6579", + "notAfter": "2021-01-01T00:00:00Z", + "renewAfter": "2021-02-01T00:00:00Z" + } + } + } + } } } } diff --git a/specification/hybridcompute/resource-manager/Microsoft.HybridCompute/preview/2023-10-03-preview/examples/networkConfiguration/NetworkConfigurationsUpdate.json b/specification/hybridcompute/resource-manager/Microsoft.HybridCompute/preview/2023-10-03-preview/examples/networkConfiguration/NetworkConfigurationsUpdate.json index c8adeb3dbfc0..5373a30fe434 100644 --- a/specification/hybridcompute/resource-manager/Microsoft.HybridCompute/preview/2023-10-03-preview/examples/networkConfiguration/NetworkConfigurationsUpdate.json +++ b/specification/hybridcompute/resource-manager/Microsoft.HybridCompute/preview/2023-10-03-preview/examples/networkConfiguration/NetworkConfigurationsUpdate.json @@ -29,6 +29,26 @@ } } } + }, + "201": { + "body": { + "id": "/subscriptions/f5bcc1d9-23af-4ae9-aca1-041d0f593a63/resourceGroups/hybridRG/providers/Microsoft.HybridCompute/machines/testMachine/providers/Microsoft.HybridCompute/networkConfigurations/default", + "name": "default", + "type": "Microsoft.HybridCompute/networkConfigurations", + "location": "westus", + "properties": { + "tenantId": "00000000-1111-2222-3333-444444444444", + "networkConfigurationScopeId": "c5dff806-9902-414d-a0cb-f83fa5407166", + "networkConfigurationScopeResourceId": "/subscriptions/f5bcc1d9-23af-4ae9-aca1-041d0f593a63/resourceGroups/hybridRG/providers/Microsoft.HybridCompute/privateLinkScopes/testScope", + "keyProperties": { + "clientPublicKey": { + "publicKey": "publickey", + "notAfter": "2021-01-01T00:00:00Z", + "renewAfter": "2021-02-01T00:00:00Z" + } + } + } + } } } } From e28d6b8133b3093e65b4d5e443d6ee3c96fcdb71 Mon Sep 17 00:00:00 2001 From: adrielmsft Date: Fri, 20 Oct 2023 11:58:47 -0400 Subject: [PATCH 32/57] remove unnecessary 201 from network config update --- .../NetworkConfigurationsUpdate.json | 20 ------------------- 1 file changed, 20 deletions(-) diff --git a/specification/hybridcompute/resource-manager/Microsoft.HybridCompute/preview/2023-10-03-preview/examples/networkConfiguration/NetworkConfigurationsUpdate.json b/specification/hybridcompute/resource-manager/Microsoft.HybridCompute/preview/2023-10-03-preview/examples/networkConfiguration/NetworkConfigurationsUpdate.json index 5373a30fe434..c8adeb3dbfc0 100644 --- a/specification/hybridcompute/resource-manager/Microsoft.HybridCompute/preview/2023-10-03-preview/examples/networkConfiguration/NetworkConfigurationsUpdate.json +++ b/specification/hybridcompute/resource-manager/Microsoft.HybridCompute/preview/2023-10-03-preview/examples/networkConfiguration/NetworkConfigurationsUpdate.json @@ -29,26 +29,6 @@ } } } - }, - "201": { - "body": { - "id": "/subscriptions/f5bcc1d9-23af-4ae9-aca1-041d0f593a63/resourceGroups/hybridRG/providers/Microsoft.HybridCompute/machines/testMachine/providers/Microsoft.HybridCompute/networkConfigurations/default", - "name": "default", - "type": "Microsoft.HybridCompute/networkConfigurations", - "location": "westus", - "properties": { - "tenantId": "00000000-1111-2222-3333-444444444444", - "networkConfigurationScopeId": "c5dff806-9902-414d-a0cb-f83fa5407166", - "networkConfigurationScopeResourceId": "/subscriptions/f5bcc1d9-23af-4ae9-aca1-041d0f593a63/resourceGroups/hybridRG/providers/Microsoft.HybridCompute/privateLinkScopes/testScope", - "keyProperties": { - "clientPublicKey": { - "publicKey": "publickey", - "notAfter": "2021-01-01T00:00:00Z", - "renewAfter": "2021-02-01T00:00:00Z" - } - } - } - } } } } From 90d553b34995b31e5839b0e15402cccb2ae30684 Mon Sep 17 00:00:00 2001 From: adrielmsft Date: Fri, 20 Oct 2023 13:48:36 -0400 Subject: [PATCH 33/57] empty x-ms-identifiers to fix missing identifier id violation --- .../preview/2023-10-03-preview/privateLinkScopes.json | 9 ++++++--- 1 file changed, 6 insertions(+), 3 deletions(-) diff --git a/specification/hybridcompute/resource-manager/Microsoft.HybridCompute/preview/2023-10-03-preview/privateLinkScopes.json b/specification/hybridcompute/resource-manager/Microsoft.HybridCompute/preview/2023-10-03-preview/privateLinkScopes.json index 488ade431197..1f11cca8d69f 100644 --- a/specification/hybridcompute/resource-manager/Microsoft.HybridCompute/preview/2023-10-03-preview/privateLinkScopes.json +++ b/specification/hybridcompute/resource-manager/Microsoft.HybridCompute/preview/2023-10-03-preview/privateLinkScopes.json @@ -1128,7 +1128,8 @@ "readOnly": true, "items": { "$ref": "#/definitions/ProvisioningIssue" - } + }, + "x-ms-identifiers":[] }, "networkSecurityPerimeter": { "description": "The Network Security Perimeter associated with this configuration.", @@ -1164,7 +1165,8 @@ "readOnly": true, "items": { "$ref": "#/definitions/AccessRule" - } + }, + "x-ms-identifiers":[] }, "diagnosticSettingsVersion": { "type": "string", @@ -1223,7 +1225,8 @@ "readOnly": true, "items": { "type": "string" - } + }, + "x-ms-identifiers":[] }, "suggestedAccessRules": { "type": "array", From a42c09ee3e315b6af8af598ede97a3f3a72d6d77 Mon Sep 17 00:00:00 2001 From: adrielmsft Date: Fri, 20 Oct 2023 14:16:48 -0400 Subject: [PATCH 34/57] network config reference to proxy resource --- .../preview/2023-10-03-preview/privateLinkScopes.json | 5 +++++ 1 file changed, 5 insertions(+) diff --git a/specification/hybridcompute/resource-manager/Microsoft.HybridCompute/preview/2023-10-03-preview/privateLinkScopes.json b/specification/hybridcompute/resource-manager/Microsoft.HybridCompute/preview/2023-10-03-preview/privateLinkScopes.json index 1f11cca8d69f..6247f19d136d 100644 --- a/specification/hybridcompute/resource-manager/Microsoft.HybridCompute/preview/2023-10-03-preview/privateLinkScopes.json +++ b/specification/hybridcompute/resource-manager/Microsoft.HybridCompute/preview/2023-10-03-preview/privateLinkScopes.json @@ -1017,6 +1017,11 @@ "$ref": "#/definitions/NetworkConfigurationProperties" } }, + "allOf": [ + { + "$ref": "../../../../../common-types/resource-management/v3/types.json#/definitions/ProxyResource" + } + ], "x-ms-azure-resource": true, "description": "An azure resource object" }, From 294b1c2f18fdf97b887bff5359dca949074b8814 Mon Sep 17 00:00:00 2001 From: adrielmsft Date: Fri, 20 Oct 2023 14:35:57 -0400 Subject: [PATCH 35/57] network config patch example --- .../NetworkConfigurationsPatch.json | 34 +++++++++++++++++++ .../NetworkConfigurationsUpdate.json | 20 +++++++++++ .../2023-10-03-preview/privateLinkScopes.json | 11 +++--- 3 files changed, 59 insertions(+), 6 deletions(-) create mode 100644 specification/hybridcompute/resource-manager/Microsoft.HybridCompute/preview/2023-10-03-preview/examples/networkConfiguration/NetworkConfigurationsPatch.json diff --git a/specification/hybridcompute/resource-manager/Microsoft.HybridCompute/preview/2023-10-03-preview/examples/networkConfiguration/NetworkConfigurationsPatch.json b/specification/hybridcompute/resource-manager/Microsoft.HybridCompute/preview/2023-10-03-preview/examples/networkConfiguration/NetworkConfigurationsPatch.json new file mode 100644 index 000000000000..c8adeb3dbfc0 --- /dev/null +++ b/specification/hybridcompute/resource-manager/Microsoft.HybridCompute/preview/2023-10-03-preview/examples/networkConfiguration/NetworkConfigurationsPatch.json @@ -0,0 +1,34 @@ +{ + "parameters": { + "resourceUri": "subscriptions/f5bcc1d9-23af-4ae9-aca1-041d0f593a63/resourceGroups/hybridRG/providers/Microsoft.HybridCompute/machines/testMachine", + "api-version": "2023-10-03-preview", + "name": "default", + "parameters": { + "properties": { + "networkConfigurationScopeResourceId": "/subscriptions/f5bcc1d9-23af-4ae9-aca1-041d0f593a63/resourceGroups/hybridRG/providers/Microsoft.HybridCompute/privateLinkScopes/testScope" + } + } + }, + "responses": { + "200": { + "body": { + "id": "/subscriptions/f5bcc1d9-23af-4ae9-aca1-041d0f593a63/resourceGroups/hybridRG/providers/Microsoft.HybridCompute/machines/testMachine/providers/Microsoft.HybridCompute/networkConfigurations/default", + "name": "default", + "type": "Microsoft.HybridCompute/networkConfigurations", + "location": "westus", + "properties": { + "tenantId": "00000000-1111-2222-3333-444444444444", + "networkConfigurationScopeId": "c5dff806-9902-414d-a0cb-f83fa5407166", + "networkConfigurationScopeResourceId": "/subscriptions/f5bcc1d9-23af-4ae9-aca1-041d0f593a63/resourceGroups/hybridRG/providers/Microsoft.HybridCompute/privateLinkScopes/testScope", + "keyProperties": { + "clientPublicKey": { + "publicKey": "publickey", + "notAfter": "2021-01-01T00:00:00Z", + "renewAfter": "2021-02-01T00:00:00Z" + } + } + } + } + } + } +} diff --git a/specification/hybridcompute/resource-manager/Microsoft.HybridCompute/preview/2023-10-03-preview/examples/networkConfiguration/NetworkConfigurationsUpdate.json b/specification/hybridcompute/resource-manager/Microsoft.HybridCompute/preview/2023-10-03-preview/examples/networkConfiguration/NetworkConfigurationsUpdate.json index c8adeb3dbfc0..5373a30fe434 100644 --- a/specification/hybridcompute/resource-manager/Microsoft.HybridCompute/preview/2023-10-03-preview/examples/networkConfiguration/NetworkConfigurationsUpdate.json +++ b/specification/hybridcompute/resource-manager/Microsoft.HybridCompute/preview/2023-10-03-preview/examples/networkConfiguration/NetworkConfigurationsUpdate.json @@ -29,6 +29,26 @@ } } } + }, + "201": { + "body": { + "id": "/subscriptions/f5bcc1d9-23af-4ae9-aca1-041d0f593a63/resourceGroups/hybridRG/providers/Microsoft.HybridCompute/machines/testMachine/providers/Microsoft.HybridCompute/networkConfigurations/default", + "name": "default", + "type": "Microsoft.HybridCompute/networkConfigurations", + "location": "westus", + "properties": { + "tenantId": "00000000-1111-2222-3333-444444444444", + "networkConfigurationScopeId": "c5dff806-9902-414d-a0cb-f83fa5407166", + "networkConfigurationScopeResourceId": "/subscriptions/f5bcc1d9-23af-4ae9-aca1-041d0f593a63/resourceGroups/hybridRG/providers/Microsoft.HybridCompute/privateLinkScopes/testScope", + "keyProperties": { + "clientPublicKey": { + "publicKey": "publickey", + "notAfter": "2021-01-01T00:00:00Z", + "renewAfter": "2021-02-01T00:00:00Z" + } + } + } + } } } } diff --git a/specification/hybridcompute/resource-manager/Microsoft.HybridCompute/preview/2023-10-03-preview/privateLinkScopes.json b/specification/hybridcompute/resource-manager/Microsoft.HybridCompute/preview/2023-10-03-preview/privateLinkScopes.json index 6247f19d136d..7925c13f51c0 100644 --- a/specification/hybridcompute/resource-manager/Microsoft.HybridCompute/preview/2023-10-03-preview/privateLinkScopes.json +++ b/specification/hybridcompute/resource-manager/Microsoft.HybridCompute/preview/2023-10-03-preview/privateLinkScopes.json @@ -799,8 +799,8 @@ "application/json" ], "x-ms-examples": { - "NetworkConfigurationsUpdate": { - "$ref": "./examples/networkConfiguration/NetworkConfigurationsUpdate.json" + "NetworkConfigurationsPatch": { + "$ref": "./examples/networkConfiguration/NetworkConfigurationsPatch.json" } }, "parameters": [ @@ -1021,9 +1021,7 @@ { "$ref": "../../../../../common-types/resource-management/v3/types.json#/definitions/ProxyResource" } - ], - "x-ms-azure-resource": true, - "description": "An azure resource object" + ] }, "NetworkConfigurationProperties": { "type": "object", @@ -1239,7 +1237,8 @@ "readOnly": true, "items": { "$ref": "#/definitions/AccessRule" - } + }, + "x-ms-identifiers":[] } } }, From 091c55aba89263833054e57196fec41caba7430b Mon Sep 17 00:00:00 2001 From: adrielmsft Date: Fri, 20 Oct 2023 14:41:10 -0400 Subject: [PATCH 36/57] network config example corrections --- .../NetworkConfigurationsCreate.json | 20 +++++++++---------- .../NetworkConfigurationsGet.json | 4 ++-- .../NetworkConfigurationsPatch.json | 12 +++++------ .../NetworkConfigurationsUpdate.json | 20 +++++++++---------- 4 files changed, 28 insertions(+), 28 deletions(-) diff --git a/specification/hybridcompute/resource-manager/Microsoft.HybridCompute/preview/2023-10-03-preview/examples/networkConfiguration/NetworkConfigurationsCreate.json b/specification/hybridcompute/resource-manager/Microsoft.HybridCompute/preview/2023-10-03-preview/examples/networkConfiguration/NetworkConfigurationsCreate.json index a342b3da633f..0b428bf8df3f 100644 --- a/specification/hybridcompute/resource-manager/Microsoft.HybridCompute/preview/2023-10-03-preview/examples/networkConfiguration/NetworkConfigurationsCreate.json +++ b/specification/hybridcompute/resource-manager/Microsoft.HybridCompute/preview/2023-10-03-preview/examples/networkConfiguration/NetworkConfigurationsCreate.json @@ -2,25 +2,25 @@ "parameters": { "resourceUri": "subscriptions/f5bcc1d9-23af-4ae9-aca1-041d0f593a63/resourceGroups/hybridRG/providers/Microsoft.HybridCompute/machines/testMachine", "api-version": "2023-10-03-preview", - "name": "default", + "name": "current", "parameters": { "location": "westus", "properties": { - "networkConfigurationScopeResourceId": "/subscriptions/f5bcc1d9-23af-4ae9-aca1-041d0f593a63/resourceGroups/hybridRG/providers/Microsoft.HybridCompute/privateLinkScopes/testScope" + "privateLinkScopeResourceId": "/subscriptions/f5bcc1d9-23af-4ae9-aca1-041d0f593a63/resourceGroups/hybridRG/providers/Microsoft.HybridCompute/privateLinkScopes/testScope" } } }, "responses": { "200": { "body": { - "id": "/subscriptions/f5bcc1d9-23af-4ae9-aca1-041d0f593a63/resourceGroups/hybridRG/providers/Microsoft.HybridCompute/machines/testMachine/providers/Microsoft.HybridCompute/networkConfigurations/default", - "name": "default", + "id": "/subscriptions/f5bcc1d9-23af-4ae9-aca1-041d0f593a63/resourceGroups/hybridRG/providers/Microsoft.HybridCompute/machines/testMachine/providers/Microsoft.HybridCompute/networkConfigurations/current", + "name": "current", "type": "Microsoft.HybridCompute/networkConfigurations", "location": "westus", "properties": { "tenantId": "00000000-1111-2222-3333-444444444444", - "networkConfigurationScopeId": "c5dff806-9902-414d-a0cb-f83fa5407166", - "networkConfigurationScopeResourceId": "/subscriptions/f5bcc1d9-23af-4ae9-aca1-041d0f593a63/resourceGroups/hybridRG/providers/Microsoft.HybridCompute/privateLinkScopes/testScope", + "privateLinkScopeId": "c5dff806-9902-414d-a0cb-f83fa5407166", + "privateLinkScopeResourceId": "/subscriptions/f5bcc1d9-23af-4ae9-aca1-041d0f593a63/resourceGroups/hybridRG/providers/Microsoft.HybridCompute/privateLinkScopes/testScope", "keyProperties": { "clientPublicKey": { "publicKey": "62617365363420656e636f646564207075626c6963206b6579", @@ -33,14 +33,14 @@ }, "201": { "body": { - "id": "/subscriptions/f5bcc1d9-23af-4ae9-aca1-041d0f593a63/resourceGroups/hybridRG/providers/Microsoft.HybridCompute/machines/testMachine/providers/Microsoft.HybridCompute/networkConfigurations/default", - "name": "default", + "id": "/subscriptions/f5bcc1d9-23af-4ae9-aca1-041d0f593a63/resourceGroups/hybridRG/providers/Microsoft.HybridCompute/machines/testMachine/providers/Microsoft.HybridCompute/networkConfigurations/current", + "name": "current", "type": "Microsoft.HybridCompute/networkConfigurations", "location": "westus", "properties": { "tenantId": "00000000-1111-2222-3333-444444444444", - "networkConfigurationScopeId": "c5dff806-9902-414d-a0cb-f83fa5407166", - "networkConfigurationScopeResourceId": "/subscriptions/f5bcc1d9-23af-4ae9-aca1-041d0f593a63/resourceGroups/hybridRG/providers/Microsoft.HybridCompute/privateLinkScopes/testScope", + "privateLinkScopeId": "c5dff806-9902-414d-a0cb-f83fa5407166", + "privateLinkScopeResourceId": "/subscriptions/f5bcc1d9-23af-4ae9-aca1-041d0f593a63/resourceGroups/hybridRG/providers/Microsoft.HybridCompute/privateLinkScopes/testScope", "keyProperties": { "clientPublicKey": { "publicKey": "62617365363420656e636f646564207075626c6963206b6579", diff --git a/specification/hybridcompute/resource-manager/Microsoft.HybridCompute/preview/2023-10-03-preview/examples/networkConfiguration/NetworkConfigurationsGet.json b/specification/hybridcompute/resource-manager/Microsoft.HybridCompute/preview/2023-10-03-preview/examples/networkConfiguration/NetworkConfigurationsGet.json index c2803b3efe47..0551453300ce 100644 --- a/specification/hybridcompute/resource-manager/Microsoft.HybridCompute/preview/2023-10-03-preview/examples/networkConfiguration/NetworkConfigurationsGet.json +++ b/specification/hybridcompute/resource-manager/Microsoft.HybridCompute/preview/2023-10-03-preview/examples/networkConfiguration/NetworkConfigurationsGet.json @@ -12,8 +12,8 @@ "location": "westus", "properties": { "tenantId": "default", - "networkConfigurationScopeId": "c5dff806-9902-414d-a0cb-f83fa5407166", - "networkConfigurationScopeResourceId": "/subscriptions/f5bcc1d9-23af-4ae9-aca1-041d0f593a63/resourceGroups/hybridRG/providers/Microsoft.HybridCompute/privateLinkScopes/testScope", + "privateLinkScopeId": "c5dff806-9902-414d-a0cb-f83fa5407166", + "privateLinkScopeResourceId": "/subscriptions/f5bcc1d9-23af-4ae9-aca1-041d0f593a63/resourceGroups/hybridRG/providers/Microsoft.HybridCompute/privateLinkScopes/testScope", "keyProperties": { "clientPublicKey": { "publicKey": "62617365363420656e636f646564207075626c6963206b6579", diff --git a/specification/hybridcompute/resource-manager/Microsoft.HybridCompute/preview/2023-10-03-preview/examples/networkConfiguration/NetworkConfigurationsPatch.json b/specification/hybridcompute/resource-manager/Microsoft.HybridCompute/preview/2023-10-03-preview/examples/networkConfiguration/NetworkConfigurationsPatch.json index c8adeb3dbfc0..81e7a1106b40 100644 --- a/specification/hybridcompute/resource-manager/Microsoft.HybridCompute/preview/2023-10-03-preview/examples/networkConfiguration/NetworkConfigurationsPatch.json +++ b/specification/hybridcompute/resource-manager/Microsoft.HybridCompute/preview/2023-10-03-preview/examples/networkConfiguration/NetworkConfigurationsPatch.json @@ -2,24 +2,24 @@ "parameters": { "resourceUri": "subscriptions/f5bcc1d9-23af-4ae9-aca1-041d0f593a63/resourceGroups/hybridRG/providers/Microsoft.HybridCompute/machines/testMachine", "api-version": "2023-10-03-preview", - "name": "default", + "name": "current", "parameters": { "properties": { - "networkConfigurationScopeResourceId": "/subscriptions/f5bcc1d9-23af-4ae9-aca1-041d0f593a63/resourceGroups/hybridRG/providers/Microsoft.HybridCompute/privateLinkScopes/testScope" + "privateLinkScopeResourceId": "/subscriptions/f5bcc1d9-23af-4ae9-aca1-041d0f593a63/resourceGroups/hybridRG/providers/Microsoft.HybridCompute/privateLinkScopes/testScope" } } }, "responses": { "200": { "body": { - "id": "/subscriptions/f5bcc1d9-23af-4ae9-aca1-041d0f593a63/resourceGroups/hybridRG/providers/Microsoft.HybridCompute/machines/testMachine/providers/Microsoft.HybridCompute/networkConfigurations/default", - "name": "default", + "id": "/subscriptions/f5bcc1d9-23af-4ae9-aca1-041d0f593a63/resourceGroups/hybridRG/providers/Microsoft.HybridCompute/machines/testMachine/providers/Microsoft.HybridCompute/networkConfigurations/current", + "name": "current", "type": "Microsoft.HybridCompute/networkConfigurations", "location": "westus", "properties": { "tenantId": "00000000-1111-2222-3333-444444444444", - "networkConfigurationScopeId": "c5dff806-9902-414d-a0cb-f83fa5407166", - "networkConfigurationScopeResourceId": "/subscriptions/f5bcc1d9-23af-4ae9-aca1-041d0f593a63/resourceGroups/hybridRG/providers/Microsoft.HybridCompute/privateLinkScopes/testScope", + "privateLinkScopeId": "c5dff806-9902-414d-a0cb-f83fa5407166", + "privateLinkScopeResourceId": "/subscriptions/f5bcc1d9-23af-4ae9-aca1-041d0f593a63/resourceGroups/hybridRG/providers/Microsoft.HybridCompute/privateLinkScopes/testScope", "keyProperties": { "clientPublicKey": { "publicKey": "publickey", diff --git a/specification/hybridcompute/resource-manager/Microsoft.HybridCompute/preview/2023-10-03-preview/examples/networkConfiguration/NetworkConfigurationsUpdate.json b/specification/hybridcompute/resource-manager/Microsoft.HybridCompute/preview/2023-10-03-preview/examples/networkConfiguration/NetworkConfigurationsUpdate.json index 5373a30fe434..3a52ec5835c6 100644 --- a/specification/hybridcompute/resource-manager/Microsoft.HybridCompute/preview/2023-10-03-preview/examples/networkConfiguration/NetworkConfigurationsUpdate.json +++ b/specification/hybridcompute/resource-manager/Microsoft.HybridCompute/preview/2023-10-03-preview/examples/networkConfiguration/NetworkConfigurationsUpdate.json @@ -2,24 +2,24 @@ "parameters": { "resourceUri": "subscriptions/f5bcc1d9-23af-4ae9-aca1-041d0f593a63/resourceGroups/hybridRG/providers/Microsoft.HybridCompute/machines/testMachine", "api-version": "2023-10-03-preview", - "name": "default", + "name": "current", "parameters": { "properties": { - "networkConfigurationScopeResourceId": "/subscriptions/f5bcc1d9-23af-4ae9-aca1-041d0f593a63/resourceGroups/hybridRG/providers/Microsoft.HybridCompute/privateLinkScopes/testScope" + "privateLinkScopeResourceId": "/subscriptions/f5bcc1d9-23af-4ae9-aca1-041d0f593a63/resourceGroups/hybridRG/providers/Microsoft.HybridCompute/privateLinkScopes/testScope" } } }, "responses": { "200": { "body": { - "id": "/subscriptions/f5bcc1d9-23af-4ae9-aca1-041d0f593a63/resourceGroups/hybridRG/providers/Microsoft.HybridCompute/machines/testMachine/providers/Microsoft.HybridCompute/networkConfigurations/default", - "name": "default", + "id": "/subscriptions/f5bcc1d9-23af-4ae9-aca1-041d0f593a63/resourceGroups/hybridRG/providers/Microsoft.HybridCompute/machines/testMachine/providers/Microsoft.HybridCompute/networkConfigurations/current", + "name": "current", "type": "Microsoft.HybridCompute/networkConfigurations", "location": "westus", "properties": { "tenantId": "00000000-1111-2222-3333-444444444444", - "networkConfigurationScopeId": "c5dff806-9902-414d-a0cb-f83fa5407166", - "networkConfigurationScopeResourceId": "/subscriptions/f5bcc1d9-23af-4ae9-aca1-041d0f593a63/resourceGroups/hybridRG/providers/Microsoft.HybridCompute/privateLinkScopes/testScope", + "privateLinkScopeId": "c5dff806-9902-414d-a0cb-f83fa5407166", + "privateLinkScopeResourceId": "/subscriptions/f5bcc1d9-23af-4ae9-aca1-041d0f593a63/resourceGroups/hybridRG/providers/Microsoft.HybridCompute/privateLinkScopes/testScope", "keyProperties": { "clientPublicKey": { "publicKey": "publickey", @@ -32,14 +32,14 @@ }, "201": { "body": { - "id": "/subscriptions/f5bcc1d9-23af-4ae9-aca1-041d0f593a63/resourceGroups/hybridRG/providers/Microsoft.HybridCompute/machines/testMachine/providers/Microsoft.HybridCompute/networkConfigurations/default", - "name": "default", + "id": "/subscriptions/f5bcc1d9-23af-4ae9-aca1-041d0f593a63/resourceGroups/hybridRG/providers/Microsoft.HybridCompute/machines/testMachine/providers/Microsoft.HybridCompute/networkConfigurations/current", + "name": "current", "type": "Microsoft.HybridCompute/networkConfigurations", "location": "westus", "properties": { "tenantId": "00000000-1111-2222-3333-444444444444", - "networkConfigurationScopeId": "c5dff806-9902-414d-a0cb-f83fa5407166", - "networkConfigurationScopeResourceId": "/subscriptions/f5bcc1d9-23af-4ae9-aca1-041d0f593a63/resourceGroups/hybridRG/providers/Microsoft.HybridCompute/privateLinkScopes/testScope", + "privateLinkScopeId": "c5dff806-9902-414d-a0cb-f83fa5407166", + "privateLinkScopeResourceId": "/subscriptions/f5bcc1d9-23af-4ae9-aca1-041d0f593a63/resourceGroups/hybridRG/providers/Microsoft.HybridCompute/privateLinkScopes/testScope", "keyProperties": { "clientPublicKey": { "publicKey": "publickey", From d856480b84b76123765943de62e7e34f0c8cfc26 Mon Sep 17 00:00:00 2001 From: adrielmsft Date: Fri, 20 Oct 2023 14:42:31 -0400 Subject: [PATCH 37/57] prettify --- .../2023-10-03-preview/privateLinkScopes.json | 524 +++++++++--------- 1 file changed, 262 insertions(+), 262 deletions(-) diff --git a/specification/hybridcompute/resource-manager/Microsoft.HybridCompute/preview/2023-10-03-preview/privateLinkScopes.json b/specification/hybridcompute/resource-manager/Microsoft.HybridCompute/preview/2023-10-03-preview/privateLinkScopes.json index 7925c13f51c0..0103377fed46 100644 --- a/specification/hybridcompute/resource-manager/Microsoft.HybridCompute/preview/2023-10-03-preview/privateLinkScopes.json +++ b/specification/hybridcompute/resource-manager/Microsoft.HybridCompute/preview/2023-10-03-preview/privateLinkScopes.json @@ -694,292 +694,292 @@ } } } - }, - "/{resourceUri}/providers/Microsoft.HybridCompute/networkConfigurations/current": { - "get": { - "tags": [ - "NetworkConfigurations" - ], - "description": "Returns a NetworkConfiguration for the target resource.", - "operationId": "NetworkConfigurations_Get", - "produces": [ - "application/json" - ], - "x-ms-examples": { - "NetworkConfigurationsGet": { - "$ref": "./examples/networkConfiguration/NetworkConfigurationsGet.json" - } - }, - "parameters": [ - { - "$ref": "../../../../../common-types/resource-management/v3/types.json#/parameters/ApiVersionParameter" - }, - { - "$ref": "#/parameters/ResourceUriParameter" - } - ], - "responses": { - "200": { - "description": "Network Configuration information for the target resource.", - "schema": { - "$ref": "#/definitions/NetworkConfiguration" + }, + "/{resourceUri}/providers/Microsoft.HybridCompute/networkConfigurations/current": { + "get": { + "tags": [ + "NetworkConfigurations" + ], + "description": "Returns a NetworkConfiguration for the target resource.", + "operationId": "NetworkConfigurations_Get", + "produces": [ + "application/json" + ], + "x-ms-examples": { + "NetworkConfigurationsGet": { + "$ref": "./examples/networkConfiguration/NetworkConfigurationsGet.json" } }, - "default": { - "description": "Error response describing why the operation failed.", - "schema": { - "$ref": "../../../../../common-types/resource-management/v3/types.json#/definitions/ErrorResponse" + "parameters": [ + { + "$ref": "../../../../../common-types/resource-management/v3/types.json#/parameters/ApiVersionParameter" + }, + { + "$ref": "#/parameters/ResourceUriParameter" + } + ], + "responses": { + "200": { + "description": "Network Configuration information for the target resource.", + "schema": { + "$ref": "#/definitions/NetworkConfiguration" + } + }, + "default": { + "description": "Error response describing why the operation failed.", + "schema": { + "$ref": "../../../../../common-types/resource-management/v3/types.json#/definitions/ErrorResponse" + } } - } - }, - "deprecated": false - }, - "put": { - "tags": [ - "NetworkConfigurations" - ], - "description": "Create or update the NetworkConfiguration of the target resource.", - "operationId": "NetworkConfigurations_CreateOrUpdate", - "produces": [ - "application/json" - ], - "x-ms-examples": { - "NetworkConfigurationsCreate": { - "$ref": "./examples/networkConfiguration/NetworkConfigurationsCreate.json" }, - "NetworkConfigurationsUpdate": { - "$ref": "./examples/networkConfiguration/NetworkConfigurationsUpdate.json" - } + "deprecated": false }, - "parameters": [ - { - "$ref": "../../../../../common-types/resource-management/v3/types.json#/parameters/ApiVersionParameter" - }, - { - "$ref": "#/parameters/ResourceUriParameter" + "put": { + "tags": [ + "NetworkConfigurations" + ], + "description": "Create or update the NetworkConfiguration of the target resource.", + "operationId": "NetworkConfigurations_CreateOrUpdate", + "produces": [ + "application/json" + ], + "x-ms-examples": { + "NetworkConfigurationsCreate": { + "$ref": "./examples/networkConfiguration/NetworkConfigurationsCreate.json" + }, + "NetworkConfigurationsUpdate": { + "$ref": "./examples/networkConfiguration/NetworkConfigurationsUpdate.json" + } }, - { - "name": "parameters", - "description": "Network Configuration details", - "in": "body", - "required": true, - "schema": { - "$ref": "#/definitions/NetworkConfiguration" + "parameters": [ + { + "$ref": "../../../../../common-types/resource-management/v3/types.json#/parameters/ApiVersionParameter" + }, + { + "$ref": "#/parameters/ResourceUriParameter" + }, + { + "name": "parameters", + "description": "Network Configuration details", + "in": "body", + "required": true, + "schema": { + "$ref": "#/definitions/NetworkConfiguration" + } + } + ], + "responses": { + "200": { + "description": "Successful request when creating or updating a NetworkConfiguration. The updated NetworkConfiguration is returned.", + "schema": { + "$ref": "#/definitions/NetworkConfiguration" + } + }, + "201": { + "description": "Successful request when creating or updating a NetworkConfiguration. The updated NetworkConfiguration was created and is returned.", + "schema": { + "$ref": "#/definitions/NetworkConfiguration" + } + }, + "default": { + "description": "Error response describing why the operation failed.", + "schema": { + "$ref": "../../../../../common-types/resource-management/v3/types.json#/definitions/ErrorResponse" + } } } - ], - "responses": { - "200": { - "description": "Successful request when creating or updating a NetworkConfiguration. The updated NetworkConfiguration is returned.", - "schema": { - "$ref": "#/definitions/NetworkConfiguration" + }, + "patch": { + "tags": [ + "NetworkConfigurations" + ], + "description": "Update the endpoint to the target resource.", + "operationId": "NetworkConfigurations_Update", + "produces": [ + "application/json" + ], + "x-ms-examples": { + "NetworkConfigurationsPatch": { + "$ref": "./examples/networkConfiguration/NetworkConfigurationsPatch.json" } }, - "201": { - "description": "Successful request when creating or updating a NetworkConfiguration. The updated NetworkConfiguration was created and is returned.", - "schema": { - "$ref": "#/definitions/NetworkConfiguration" + "parameters": [ + { + "$ref": "../../../../../common-types/resource-management/v3/types.json#/parameters/ApiVersionParameter" + }, + { + "$ref": "#/parameters/ResourceUriParameter" + }, + { + "name": "parameters", + "description": "Network Configuration details", + "in": "body", + "required": true, + "schema": { + "$ref": "#/definitions/NetworkConfiguration" + } } - }, - "default": { - "description": "Error response describing why the operation failed.", - "schema": { - "$ref": "../../../../../common-types/resource-management/v3/types.json#/definitions/ErrorResponse" + ], + "responses": { + "200": { + "description": "Network Configuration information for the target resource.", + "schema": { + "$ref": "#/definitions/NetworkConfiguration" + } + }, + "default": { + "description": "Error response describing why the operation failed.", + "schema": { + "$ref": "../../../../../common-types/resource-management/v3/types.json#/definitions/ErrorResponse" + } } } } }, - "patch": { - "tags": [ - "NetworkConfigurations" - ], - "description": "Update the endpoint to the target resource.", - "operationId": "NetworkConfigurations_Update", - "produces": [ - "application/json" - ], - "x-ms-examples": { - "NetworkConfigurationsPatch": { - "$ref": "./examples/networkConfiguration/NetworkConfigurationsPatch.json" - } - }, - "parameters": [ - { - "$ref": "../../../../../common-types/resource-management/v3/types.json#/parameters/ApiVersionParameter" - }, - { - "$ref": "#/parameters/ResourceUriParameter" - }, - { - "name": "parameters", - "description": "Network Configuration details", - "in": "body", - "required": true, - "schema": { - "$ref": "#/definitions/NetworkConfiguration" + "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.HybridCompute/privateLinkScopes/{scopeName}/networkSecurityPerimeterConfigurations/{perimeterName}": { + "get": { + "tags": [ + "NetworkSecurityPerimeterConfiguration" + ], + "description": "Gets the network security perimeter configuration for a private link scope.", + "operationId": "NetworkSecurityPerimeterConfigurations_GetByPrivateLinkScope", + "parameters": [ + { + "$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/ApiVersionParameter" + }, + { + "$ref": "#/parameters/PrivateLinkScopeName" + }, + { + "$ref": "#/parameters/PerimeterName" } - } - ], - "responses": { - "200": { - "description": "Network Configuration information for the target resource.", - "schema": { - "$ref": "#/definitions/NetworkConfiguration" + ], + "responses": { + "200": { + "description": "Successfully retrieved network security perimeter configuration details.", + "schema": { + "$ref": "#/definitions/NetworkSecurityPerimeterConfiguration" + } + }, + "default": { + "description": "Error response describing why the operation failed.", + "schema": { + "$ref": "../../../../../common-types/resource-management/v3/types.json#/definitions/ErrorResponse" + } } }, - "default": { - "description": "Error response describing why the operation failed.", - "schema": { - "$ref": "../../../../../common-types/resource-management/v3/types.json#/definitions/ErrorResponse" + "x-ms-examples": { + "Gets the network security perimeter configuration of the private link scope.": { + "$ref": "./examples/networkSecurityPerimeterConfiguration/NetworkSecurityPerimeterConfigurationGet.json" } } } - } - }, - "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.HybridCompute/privateLinkScopes/{scopeName}/networkSecurityPerimeterConfigurations/{perimeterName}": { - "get": { - "tags": [ - "NetworkSecurityPerimeterConfiguration" - ], - "description": "Gets the network security perimeter configuration for a private link scope.", - "operationId": "NetworkSecurityPerimeterConfigurations_GetByPrivateLinkScope", - "parameters": [ - { - "$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/ApiVersionParameter" - }, - { - "$ref": "#/parameters/PrivateLinkScopeName" - }, - { - "$ref": "#/parameters/PerimeterName" - } - ], - "responses": { - "200": { - "description": "Successfully retrieved network security perimeter configuration details.", - "schema": { - "$ref": "#/definitions/NetworkSecurityPerimeterConfiguration" + }, + "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.HybridCompute/privateLinkScopes/{scopeName}/networkSecurityPerimeterConfigurations": { + "get": { + "tags": [ + "NetworkSecurityPerimeterConfiguration" + ], + "description": "Lists the network security perimeter configurations for a private link scope.", + "operationId": "NetworkSecurityPerimeterConfigurations_ListByPrivateLinkScope", + "parameters": [ + { + "$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/ApiVersionParameter" + }, + { + "$ref": "#/parameters/PrivateLinkScopeName" } - }, - "default": { - "description": "Error response describing why the operation failed.", - "schema": { - "$ref": "../../../../../common-types/resource-management/v3/types.json#/definitions/ErrorResponse" + ], + "responses": { + "200": { + "description": "Successfully retrieved network security perimeter configuration details.", + "schema": { + "$ref": "#/definitions/NetworkSecurityPerimeterConfigurationListResult" + } + }, + "default": { + "description": "Error response describing why the operation failed.", + "schema": { + "$ref": "../../../../../common-types/resource-management/v3/types.json#/definitions/ErrorResponse" + } } - } - }, - "x-ms-examples": { - "Gets the network security perimeter configuration of the private link scope.": { - "$ref": "./examples/networkSecurityPerimeterConfiguration/NetworkSecurityPerimeterConfigurationGet.json" - } - } - } - }, - "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.HybridCompute/privateLinkScopes/{scopeName}/networkSecurityPerimeterConfigurations": { - "get": { - "tags": [ - "NetworkSecurityPerimeterConfiguration" - ], - "description": "Lists the network security perimeter configurations for a private link scope.", - "operationId": "NetworkSecurityPerimeterConfigurations_ListByPrivateLinkScope", - "parameters": [ - { - "$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/ApiVersionParameter" }, - { - "$ref": "#/parameters/PrivateLinkScopeName" - } - ], - "responses": { - "200": { - "description": "Successfully retrieved network security perimeter configuration details.", - "schema": { - "$ref": "#/definitions/NetworkSecurityPerimeterConfigurationListResult" - } + "x-ms-pageable": { + "nextLinkName": "nextLink" }, - "default": { - "description": "Error response describing why the operation failed.", - "schema": { - "$ref": "../../../../../common-types/resource-management/v3/types.json#/definitions/ErrorResponse" + "x-ms-examples": { + "Gets the list of network security perimeter configurations of the private link scope.": { + "$ref": "./examples/networkSecurityPerimeterConfiguration/NetworkSecurityPerimeterConfigurationList.json" } } - }, - "x-ms-pageable": { - "nextLinkName": "nextLink" - }, - "x-ms-examples": { - "Gets the list of network security perimeter configurations of the private link scope.": { - "$ref": "./examples/networkSecurityPerimeterConfiguration/NetworkSecurityPerimeterConfigurationList.json" - } } - } - }, - "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.HybridCompute/privateLinkScopes/{scopeName}/networkSecurityPerimeterConfigurations/{perimeterName}/reconcile": { - "post": { - "tags": [ - "NetworkSecurityPerimeterConfiguration" - ], - "description": "Forces the network security perimeter configuration to refresh for a private link scope.", - "operationId": "NetworkSecurityPerimeterConfigurations_ReconcileForPrivateLinkScope", - "parameters": [ - { - "$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/ApiVersionParameter" - }, - { - "$ref": "#/parameters/PrivateLinkScopeName" - }, - { - "$ref": "#/parameters/PerimeterName" - } - ], - "responses": { - "202": { - "description": "Accepted.", - "headers": { - "Location": { - "description": "The URL of the resource used to check the status of the asynchronous operation.", - "type": "string" - }, - "Retry-After": { - "description": "The recommended number of seconds to wait before calling the URI specified in Azure-AsyncOperation.", - "type": "integer", - "format": "int32" - }, - "Azure-AsyncOperation": { - "description": "The URI to poll for completion status.", - "type": "string" + }, + "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.HybridCompute/privateLinkScopes/{scopeName}/networkSecurityPerimeterConfigurations/{perimeterName}/reconcile": { + "post": { + "tags": [ + "NetworkSecurityPerimeterConfiguration" + ], + "description": "Forces the network security perimeter configuration to refresh for a private link scope.", + "operationId": "NetworkSecurityPerimeterConfigurations_ReconcileForPrivateLinkScope", + "parameters": [ + { + "$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/ApiVersionParameter" + }, + { + "$ref": "#/parameters/PrivateLinkScopeName" + }, + { + "$ref": "#/parameters/PerimeterName" + } + ], + "responses": { + "202": { + "description": "Accepted.", + "headers": { + "Location": { + "description": "The URL of the resource used to check the status of the asynchronous operation.", + "type": "string" + }, + "Retry-After": { + "description": "The recommended number of seconds to wait before calling the URI specified in Azure-AsyncOperation.", + "type": "integer", + "format": "int32" + }, + "Azure-AsyncOperation": { + "description": "The URI to poll for completion status.", + "type": "string" + } + } + }, + "default": { + "description": "Error response describing why the operation failed.", + "schema": { + "$ref": "../../../../../common-types/resource-management/v3/types.json#/definitions/ErrorResponse" } } }, - "default": { - "description": "Error response describing why the operation failed.", - "schema": { - "$ref": "../../../../../common-types/resource-management/v3/types.json#/definitions/ErrorResponse" - } - } - }, "x-ms-long-running-operation": true, "x-ms-examples": { - "Reconciles the network security perimeter configuration of the private link scope.": { - "$ref": "./examples/networkSecurityPerimeterConfiguration/NetworkSecurityPerimeterConfigurationReconcile.json" + "Reconciles the network security perimeter configuration of the private link scope.": { + "$ref": "./examples/networkSecurityPerimeterConfiguration/NetworkSecurityPerimeterConfigurationReconcile.json" } } } @@ -1132,7 +1132,7 @@ "items": { "$ref": "#/definitions/ProvisioningIssue" }, - "x-ms-identifiers":[] + "x-ms-identifiers": [] }, "networkSecurityPerimeter": { "description": "The Network Security Perimeter associated with this configuration.", @@ -1169,7 +1169,7 @@ "items": { "$ref": "#/definitions/AccessRule" }, - "x-ms-identifiers":[] + "x-ms-identifiers": [] }, "diagnosticSettingsVersion": { "type": "string", @@ -1229,7 +1229,7 @@ "items": { "type": "string" }, - "x-ms-identifiers":[] + "x-ms-identifiers": [] }, "suggestedAccessRules": { "type": "array", @@ -1238,7 +1238,7 @@ "items": { "$ref": "#/definitions/AccessRule" }, - "x-ms-identifiers":[] + "x-ms-identifiers": [] } } }, @@ -1884,14 +1884,14 @@ "description": "The id (Guid) of the Azure Arc Network Configuration Scope resource.", "x-ms-parameter-location": "method" }, - "PerimeterName":{ + "PerimeterName": { "name": "perimeterName", - "in":"path", - "required":true, - "type":"string", + "in": "path", + "required": true, + "type": "string", "description": "The name, in the format {perimeterGuid}.{associationName}, of the Network Security Perimeter resource.", "x-ms-parameter-location": "method", "pattern": "^[0-9a-fA-F]{8}-([0-9a-fA-F]{4}-){3}[0-9a-fA-F]{12}[.]{1}.+$" } } -} +} \ No newline at end of file From d7bb8615fb8c9c30c5006fd55f5340766e84cff1 Mon Sep 17 00:00:00 2001 From: adrielmsft Date: Fri, 20 Oct 2023 14:55:19 -0400 Subject: [PATCH 38/57] update network config fields --- .../2023-10-03-preview/privateLinkScopes.json | 14 +++++++------- 1 file changed, 7 insertions(+), 7 deletions(-) diff --git a/specification/hybridcompute/resource-manager/Microsoft.HybridCompute/preview/2023-10-03-preview/privateLinkScopes.json b/specification/hybridcompute/resource-manager/Microsoft.HybridCompute/preview/2023-10-03-preview/privateLinkScopes.json index 0103377fed46..212a3bddcba7 100644 --- a/specification/hybridcompute/resource-manager/Microsoft.HybridCompute/preview/2023-10-03-preview/privateLinkScopes.json +++ b/specification/hybridcompute/resource-manager/Microsoft.HybridCompute/preview/2023-10-03-preview/privateLinkScopes.json @@ -1032,13 +1032,13 @@ "readOnly": true, "description": "Azure resource tenant Id" }, - "networkConfigurationScopeId": { + "privateLinkScopeId": { "type": "string", - "description": "Associated Network Configuration Scope Id" + "description": "Associated Private Link Scope Id" }, - "networkConfigurationScopeResourceId": { + "privateLinkScopeResourceId": { "type": "string", - "description": "Associated Network Configuration Scope Resource Id" + "description": "Associated Private Link Scope Resource Id" }, "keyProperties": { "description": "Public key information for client authentication", @@ -1047,7 +1047,7 @@ } }, "required": [ - "networkConfigurationScopeResourceId" + "privateLinkScopeResourceId" ] }, "KeyProperties": { @@ -1876,12 +1876,12 @@ "x-ms-skip-url-encoding": true, "x-ms-parameter-location": "method" }, - "NetworkConfigurationScopeId": { + "privateLinkScopeId": { "name": "scopeId", "in": "path", "required": true, "type": "string", - "description": "The id (Guid) of the Azure Arc Network Configuration Scope resource.", + "description": "The id (Guid) of the Azure Arc Private Link Scope resource.", "x-ms-parameter-location": "method" }, "PerimeterName": { From bccd3a7da91e57521d5d161957211df87b14e363 Mon Sep 17 00:00:00 2001 From: adrielmsft Date: Fri, 20 Oct 2023 15:03:05 -0400 Subject: [PATCH 39/57] prettier fix --- .../preview/2023-10-03-preview/privateLinkScopes.json | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/specification/hybridcompute/resource-manager/Microsoft.HybridCompute/preview/2023-10-03-preview/privateLinkScopes.json b/specification/hybridcompute/resource-manager/Microsoft.HybridCompute/preview/2023-10-03-preview/privateLinkScopes.json index 212a3bddcba7..636c66fa5cff 100644 --- a/specification/hybridcompute/resource-manager/Microsoft.HybridCompute/preview/2023-10-03-preview/privateLinkScopes.json +++ b/specification/hybridcompute/resource-manager/Microsoft.HybridCompute/preview/2023-10-03-preview/privateLinkScopes.json @@ -1894,4 +1894,4 @@ "pattern": "^[0-9a-fA-F]{8}-([0-9a-fA-F]{4}-){3}[0-9a-fA-F]{12}[.]{1}.+$" } } -} \ No newline at end of file +} From fa8bd857408c6d66b37849efdce8fb74934cd3f7 Mon Sep 17 00:00:00 2001 From: adrielmsft Date: Fri, 20 Oct 2023 15:26:23 -0400 Subject: [PATCH 40/57] remove invalid parameter from network config --- .../preview/2023-10-03-preview/privateLinkScopes.json | 9 --------- 1 file changed, 9 deletions(-) diff --git a/specification/hybridcompute/resource-manager/Microsoft.HybridCompute/preview/2023-10-03-preview/privateLinkScopes.json b/specification/hybridcompute/resource-manager/Microsoft.HybridCompute/preview/2023-10-03-preview/privateLinkScopes.json index 636c66fa5cff..5c43493898d3 100644 --- a/specification/hybridcompute/resource-manager/Microsoft.HybridCompute/preview/2023-10-03-preview/privateLinkScopes.json +++ b/specification/hybridcompute/resource-manager/Microsoft.HybridCompute/preview/2023-10-03-preview/privateLinkScopes.json @@ -757,15 +757,6 @@ }, { "$ref": "#/parameters/ResourceUriParameter" - }, - { - "name": "parameters", - "description": "Network Configuration details", - "in": "body", - "required": true, - "schema": { - "$ref": "#/definitions/NetworkConfiguration" - } } ], "responses": { From e6c6b2965730d66090650aa10deb1ca4a2ba4835 Mon Sep 17 00:00:00 2001 From: adrielmsft Date: Fri, 20 Oct 2023 16:14:02 -0400 Subject: [PATCH 41/57] remove network config id --- .../preview/2023-10-03-preview/privateLinkScopes.json | 5 ----- 1 file changed, 5 deletions(-) diff --git a/specification/hybridcompute/resource-manager/Microsoft.HybridCompute/preview/2023-10-03-preview/privateLinkScopes.json b/specification/hybridcompute/resource-manager/Microsoft.HybridCompute/preview/2023-10-03-preview/privateLinkScopes.json index 5c43493898d3..6830e68606fb 100644 --- a/specification/hybridcompute/resource-manager/Microsoft.HybridCompute/preview/2023-10-03-preview/privateLinkScopes.json +++ b/specification/hybridcompute/resource-manager/Microsoft.HybridCompute/preview/2023-10-03-preview/privateLinkScopes.json @@ -980,11 +980,6 @@ "NetworkConfiguration": { "type": "object", "properties": { - "id": { - "type": "string", - "readOnly": true, - "description": "Azure resource Id" - }, "name": { "type": "string", "description": "Azure resource name", From 831d216a9a4772456172e8174be2f0d4f2575944 Mon Sep 17 00:00:00 2001 From: adrielmsft Date: Fri, 20 Oct 2023 16:45:09 -0400 Subject: [PATCH 42/57] Revert remove id from network config --- .../preview/2023-10-03-preview/privateLinkScopes.json | 5 +++++ 1 file changed, 5 insertions(+) diff --git a/specification/hybridcompute/resource-manager/Microsoft.HybridCompute/preview/2023-10-03-preview/privateLinkScopes.json b/specification/hybridcompute/resource-manager/Microsoft.HybridCompute/preview/2023-10-03-preview/privateLinkScopes.json index 6830e68606fb..5c43493898d3 100644 --- a/specification/hybridcompute/resource-manager/Microsoft.HybridCompute/preview/2023-10-03-preview/privateLinkScopes.json +++ b/specification/hybridcompute/resource-manager/Microsoft.HybridCompute/preview/2023-10-03-preview/privateLinkScopes.json @@ -980,6 +980,11 @@ "NetworkConfiguration": { "type": "object", "properties": { + "id": { + "type": "string", + "readOnly": true, + "description": "Azure resource Id" + }, "name": { "type": "string", "description": "Azure resource name", From 9565d7fe5e6288a8cf929fd1ef4e4bda9ffc13c4 Mon Sep 17 00:00:00 2001 From: adrielmsft Date: Fri, 20 Oct 2023 17:05:31 -0400 Subject: [PATCH 43/57] removed location property from network config --- .../preview/2023-10-03-preview/privateLinkScopes.json | 8 -------- 1 file changed, 8 deletions(-) diff --git a/specification/hybridcompute/resource-manager/Microsoft.HybridCompute/preview/2023-10-03-preview/privateLinkScopes.json b/specification/hybridcompute/resource-manager/Microsoft.HybridCompute/preview/2023-10-03-preview/privateLinkScopes.json index 5c43493898d3..eda78cf63a35 100644 --- a/specification/hybridcompute/resource-manager/Microsoft.HybridCompute/preview/2023-10-03-preview/privateLinkScopes.json +++ b/specification/hybridcompute/resource-manager/Microsoft.HybridCompute/preview/2023-10-03-preview/privateLinkScopes.json @@ -995,14 +995,6 @@ "readOnly": true, "description": "Azure resource type" }, - "location": { - "type": "string", - "description": "Resource location", - "x-ms-mutability": [ - "create", - "read" - ] - }, "properties": { "x-ms-client-flatten": true, "$ref": "#/definitions/NetworkConfigurationProperties" From be2acab5f93a90643d1c63114d2e9320276bb049 Mon Sep 17 00:00:00 2001 From: adrielmsft Date: Fri, 20 Oct 2023 17:19:58 -0400 Subject: [PATCH 44/57] move location to network config properties --- .../NetworkConfigurationsCreate.json | 6 ++--- .../NetworkConfigurationsGet.json | 2 +- .../NetworkConfigurationsPatch.json | 2 +- .../NetworkConfigurationsUpdate.json | 4 ++-- .../2023-10-03-preview/privateLinkScopes.json | 23 +++++++------------ 5 files changed, 15 insertions(+), 22 deletions(-) diff --git a/specification/hybridcompute/resource-manager/Microsoft.HybridCompute/preview/2023-10-03-preview/examples/networkConfiguration/NetworkConfigurationsCreate.json b/specification/hybridcompute/resource-manager/Microsoft.HybridCompute/preview/2023-10-03-preview/examples/networkConfiguration/NetworkConfigurationsCreate.json index 0b428bf8df3f..4b684a262d0d 100644 --- a/specification/hybridcompute/resource-manager/Microsoft.HybridCompute/preview/2023-10-03-preview/examples/networkConfiguration/NetworkConfigurationsCreate.json +++ b/specification/hybridcompute/resource-manager/Microsoft.HybridCompute/preview/2023-10-03-preview/examples/networkConfiguration/NetworkConfigurationsCreate.json @@ -4,8 +4,8 @@ "api-version": "2023-10-03-preview", "name": "current", "parameters": { - "location": "westus", "properties": { + "location": "westus", "privateLinkScopeResourceId": "/subscriptions/f5bcc1d9-23af-4ae9-aca1-041d0f593a63/resourceGroups/hybridRG/providers/Microsoft.HybridCompute/privateLinkScopes/testScope" } } @@ -16,8 +16,8 @@ "id": "/subscriptions/f5bcc1d9-23af-4ae9-aca1-041d0f593a63/resourceGroups/hybridRG/providers/Microsoft.HybridCompute/machines/testMachine/providers/Microsoft.HybridCompute/networkConfigurations/current", "name": "current", "type": "Microsoft.HybridCompute/networkConfigurations", - "location": "westus", "properties": { + "location": "westus", "tenantId": "00000000-1111-2222-3333-444444444444", "privateLinkScopeId": "c5dff806-9902-414d-a0cb-f83fa5407166", "privateLinkScopeResourceId": "/subscriptions/f5bcc1d9-23af-4ae9-aca1-041d0f593a63/resourceGroups/hybridRG/providers/Microsoft.HybridCompute/privateLinkScopes/testScope", @@ -36,8 +36,8 @@ "id": "/subscriptions/f5bcc1d9-23af-4ae9-aca1-041d0f593a63/resourceGroups/hybridRG/providers/Microsoft.HybridCompute/machines/testMachine/providers/Microsoft.HybridCompute/networkConfigurations/current", "name": "current", "type": "Microsoft.HybridCompute/networkConfigurations", - "location": "westus", "properties": { + "location": "westus", "tenantId": "00000000-1111-2222-3333-444444444444", "privateLinkScopeId": "c5dff806-9902-414d-a0cb-f83fa5407166", "privateLinkScopeResourceId": "/subscriptions/f5bcc1d9-23af-4ae9-aca1-041d0f593a63/resourceGroups/hybridRG/providers/Microsoft.HybridCompute/privateLinkScopes/testScope", diff --git a/specification/hybridcompute/resource-manager/Microsoft.HybridCompute/preview/2023-10-03-preview/examples/networkConfiguration/NetworkConfigurationsGet.json b/specification/hybridcompute/resource-manager/Microsoft.HybridCompute/preview/2023-10-03-preview/examples/networkConfiguration/NetworkConfigurationsGet.json index 0551453300ce..9f697fdfd453 100644 --- a/specification/hybridcompute/resource-manager/Microsoft.HybridCompute/preview/2023-10-03-preview/examples/networkConfiguration/NetworkConfigurationsGet.json +++ b/specification/hybridcompute/resource-manager/Microsoft.HybridCompute/preview/2023-10-03-preview/examples/networkConfiguration/NetworkConfigurationsGet.json @@ -9,9 +9,9 @@ "id": "/subscriptions/f5bcc1d9-23af-4ae9-aca1-041d0f593a63/resourceGroups/hybridRG/providers/Microsoft.HybridCompute/machines/testMachine/providers/Microsoft.HybridCompute/networkConfigurations/current", "name": "current", "type": "Microsoft.HybridCompute/networkConfigurations", - "location": "westus", "properties": { "tenantId": "default", + "location": "westus", "privateLinkScopeId": "c5dff806-9902-414d-a0cb-f83fa5407166", "privateLinkScopeResourceId": "/subscriptions/f5bcc1d9-23af-4ae9-aca1-041d0f593a63/resourceGroups/hybridRG/providers/Microsoft.HybridCompute/privateLinkScopes/testScope", "keyProperties": { diff --git a/specification/hybridcompute/resource-manager/Microsoft.HybridCompute/preview/2023-10-03-preview/examples/networkConfiguration/NetworkConfigurationsPatch.json b/specification/hybridcompute/resource-manager/Microsoft.HybridCompute/preview/2023-10-03-preview/examples/networkConfiguration/NetworkConfigurationsPatch.json index 81e7a1106b40..efb305c528eb 100644 --- a/specification/hybridcompute/resource-manager/Microsoft.HybridCompute/preview/2023-10-03-preview/examples/networkConfiguration/NetworkConfigurationsPatch.json +++ b/specification/hybridcompute/resource-manager/Microsoft.HybridCompute/preview/2023-10-03-preview/examples/networkConfiguration/NetworkConfigurationsPatch.json @@ -15,8 +15,8 @@ "id": "/subscriptions/f5bcc1d9-23af-4ae9-aca1-041d0f593a63/resourceGroups/hybridRG/providers/Microsoft.HybridCompute/machines/testMachine/providers/Microsoft.HybridCompute/networkConfigurations/current", "name": "current", "type": "Microsoft.HybridCompute/networkConfigurations", - "location": "westus", "properties": { + "location": "westus", "tenantId": "00000000-1111-2222-3333-444444444444", "privateLinkScopeId": "c5dff806-9902-414d-a0cb-f83fa5407166", "privateLinkScopeResourceId": "/subscriptions/f5bcc1d9-23af-4ae9-aca1-041d0f593a63/resourceGroups/hybridRG/providers/Microsoft.HybridCompute/privateLinkScopes/testScope", diff --git a/specification/hybridcompute/resource-manager/Microsoft.HybridCompute/preview/2023-10-03-preview/examples/networkConfiguration/NetworkConfigurationsUpdate.json b/specification/hybridcompute/resource-manager/Microsoft.HybridCompute/preview/2023-10-03-preview/examples/networkConfiguration/NetworkConfigurationsUpdate.json index 3a52ec5835c6..e28f69a53563 100644 --- a/specification/hybridcompute/resource-manager/Microsoft.HybridCompute/preview/2023-10-03-preview/examples/networkConfiguration/NetworkConfigurationsUpdate.json +++ b/specification/hybridcompute/resource-manager/Microsoft.HybridCompute/preview/2023-10-03-preview/examples/networkConfiguration/NetworkConfigurationsUpdate.json @@ -15,8 +15,8 @@ "id": "/subscriptions/f5bcc1d9-23af-4ae9-aca1-041d0f593a63/resourceGroups/hybridRG/providers/Microsoft.HybridCompute/machines/testMachine/providers/Microsoft.HybridCompute/networkConfigurations/current", "name": "current", "type": "Microsoft.HybridCompute/networkConfigurations", - "location": "westus", "properties": { + "location": "westus", "tenantId": "00000000-1111-2222-3333-444444444444", "privateLinkScopeId": "c5dff806-9902-414d-a0cb-f83fa5407166", "privateLinkScopeResourceId": "/subscriptions/f5bcc1d9-23af-4ae9-aca1-041d0f593a63/resourceGroups/hybridRG/providers/Microsoft.HybridCompute/privateLinkScopes/testScope", @@ -35,8 +35,8 @@ "id": "/subscriptions/f5bcc1d9-23af-4ae9-aca1-041d0f593a63/resourceGroups/hybridRG/providers/Microsoft.HybridCompute/machines/testMachine/providers/Microsoft.HybridCompute/networkConfigurations/current", "name": "current", "type": "Microsoft.HybridCompute/networkConfigurations", - "location": "westus", "properties": { + "location": "westus", "tenantId": "00000000-1111-2222-3333-444444444444", "privateLinkScopeId": "c5dff806-9902-414d-a0cb-f83fa5407166", "privateLinkScopeResourceId": "/subscriptions/f5bcc1d9-23af-4ae9-aca1-041d0f593a63/resourceGroups/hybridRG/providers/Microsoft.HybridCompute/privateLinkScopes/testScope", diff --git a/specification/hybridcompute/resource-manager/Microsoft.HybridCompute/preview/2023-10-03-preview/privateLinkScopes.json b/specification/hybridcompute/resource-manager/Microsoft.HybridCompute/preview/2023-10-03-preview/privateLinkScopes.json index eda78cf63a35..8ecc30caee6c 100644 --- a/specification/hybridcompute/resource-manager/Microsoft.HybridCompute/preview/2023-10-03-preview/privateLinkScopes.json +++ b/specification/hybridcompute/resource-manager/Microsoft.HybridCompute/preview/2023-10-03-preview/privateLinkScopes.json @@ -980,21 +980,6 @@ "NetworkConfiguration": { "type": "object", "properties": { - "id": { - "type": "string", - "readOnly": true, - "description": "Azure resource Id" - }, - "name": { - "type": "string", - "description": "Azure resource name", - "readOnly": true - }, - "type": { - "type": "string", - "readOnly": true, - "description": "Azure resource type" - }, "properties": { "x-ms-client-flatten": true, "$ref": "#/definitions/NetworkConfigurationProperties" @@ -1010,6 +995,14 @@ "type": "object", "description": "Network configuration properties", "properties": { + "location": { + "type": "string", + "description": "Resource location", + "x-ms-mutability": [ + "create", + "read" + ] + }, "tenantId": { "type": "string", "readOnly": true, From d847716705c77193b35c17c797d3beb630f9d619 Mon Sep 17 00:00:00 2001 From: adrielmsft Date: Fri, 20 Oct 2023 17:50:00 -0400 Subject: [PATCH 45/57] add request body to network config put --- .../preview/2023-10-03-preview/privateLinkScopes.json | 9 +++++++++ 1 file changed, 9 insertions(+) diff --git a/specification/hybridcompute/resource-manager/Microsoft.HybridCompute/preview/2023-10-03-preview/privateLinkScopes.json b/specification/hybridcompute/resource-manager/Microsoft.HybridCompute/preview/2023-10-03-preview/privateLinkScopes.json index 8ecc30caee6c..2b0be2dbbb14 100644 --- a/specification/hybridcompute/resource-manager/Microsoft.HybridCompute/preview/2023-10-03-preview/privateLinkScopes.json +++ b/specification/hybridcompute/resource-manager/Microsoft.HybridCompute/preview/2023-10-03-preview/privateLinkScopes.json @@ -757,6 +757,15 @@ }, { "$ref": "#/parameters/ResourceUriParameter" + }, + { + "name": "parameters", + "description": "Network Configuration details", + "in": "body", + "required": true, + "schema": { + "$ref": "#/definitions/NetworkConfiguration" + } } ], "responses": { From 365bfea7dfcb75b6fb46e9b572173bb1a7ebfcc9 Mon Sep 17 00:00:00 2001 From: adrielmsft Date: Mon, 23 Oct 2023 11:04:18 -0400 Subject: [PATCH 46/57] generalize scope field name --- .../NetworkConfigurationsCreate.json | 10 +++++----- .../NetworkConfigurationsGet.json | 4 ++-- .../NetworkConfigurationsPatch.json | 6 +++--- .../NetworkConfigurationsUpdate.json | 10 +++++----- .../2023-10-03-preview/privateLinkScopes.json | 12 ++++++------ 5 files changed, 21 insertions(+), 21 deletions(-) diff --git a/specification/hybridcompute/resource-manager/Microsoft.HybridCompute/preview/2023-10-03-preview/examples/networkConfiguration/NetworkConfigurationsCreate.json b/specification/hybridcompute/resource-manager/Microsoft.HybridCompute/preview/2023-10-03-preview/examples/networkConfiguration/NetworkConfigurationsCreate.json index 4b684a262d0d..f78b7a262831 100644 --- a/specification/hybridcompute/resource-manager/Microsoft.HybridCompute/preview/2023-10-03-preview/examples/networkConfiguration/NetworkConfigurationsCreate.json +++ b/specification/hybridcompute/resource-manager/Microsoft.HybridCompute/preview/2023-10-03-preview/examples/networkConfiguration/NetworkConfigurationsCreate.json @@ -6,7 +6,7 @@ "parameters": { "properties": { "location": "westus", - "privateLinkScopeResourceId": "/subscriptions/f5bcc1d9-23af-4ae9-aca1-041d0f593a63/resourceGroups/hybridRG/providers/Microsoft.HybridCompute/privateLinkScopes/testScope" + "networkConfigurationScopeResourceId": "/subscriptions/f5bcc1d9-23af-4ae9-aca1-041d0f593a63/resourceGroups/hybridRG/providers/Microsoft.HybridCompute/privateLinkScopes/testScope" } } }, @@ -19,8 +19,8 @@ "properties": { "location": "westus", "tenantId": "00000000-1111-2222-3333-444444444444", - "privateLinkScopeId": "c5dff806-9902-414d-a0cb-f83fa5407166", - "privateLinkScopeResourceId": "/subscriptions/f5bcc1d9-23af-4ae9-aca1-041d0f593a63/resourceGroups/hybridRG/providers/Microsoft.HybridCompute/privateLinkScopes/testScope", + "networkConfigurationScopeId": "c5dff806-9902-414d-a0cb-f83fa5407166", + "networkConfigurationScopeResourceId": "/subscriptions/f5bcc1d9-23af-4ae9-aca1-041d0f593a63/resourceGroups/hybridRG/providers/Microsoft.HybridCompute/privateLinkScopes/testScope", "keyProperties": { "clientPublicKey": { "publicKey": "62617365363420656e636f646564207075626c6963206b6579", @@ -39,8 +39,8 @@ "properties": { "location": "westus", "tenantId": "00000000-1111-2222-3333-444444444444", - "privateLinkScopeId": "c5dff806-9902-414d-a0cb-f83fa5407166", - "privateLinkScopeResourceId": "/subscriptions/f5bcc1d9-23af-4ae9-aca1-041d0f593a63/resourceGroups/hybridRG/providers/Microsoft.HybridCompute/privateLinkScopes/testScope", + "networkConfigurationScopeId": "c5dff806-9902-414d-a0cb-f83fa5407166", + "networkConfigurationScopeResourceId": "/subscriptions/f5bcc1d9-23af-4ae9-aca1-041d0f593a63/resourceGroups/hybridRG/providers/Microsoft.HybridCompute/privateLinkScopes/testScope", "keyProperties": { "clientPublicKey": { "publicKey": "62617365363420656e636f646564207075626c6963206b6579", diff --git a/specification/hybridcompute/resource-manager/Microsoft.HybridCompute/preview/2023-10-03-preview/examples/networkConfiguration/NetworkConfigurationsGet.json b/specification/hybridcompute/resource-manager/Microsoft.HybridCompute/preview/2023-10-03-preview/examples/networkConfiguration/NetworkConfigurationsGet.json index 9f697fdfd453..8f8ddb2aca7a 100644 --- a/specification/hybridcompute/resource-manager/Microsoft.HybridCompute/preview/2023-10-03-preview/examples/networkConfiguration/NetworkConfigurationsGet.json +++ b/specification/hybridcompute/resource-manager/Microsoft.HybridCompute/preview/2023-10-03-preview/examples/networkConfiguration/NetworkConfigurationsGet.json @@ -12,8 +12,8 @@ "properties": { "tenantId": "default", "location": "westus", - "privateLinkScopeId": "c5dff806-9902-414d-a0cb-f83fa5407166", - "privateLinkScopeResourceId": "/subscriptions/f5bcc1d9-23af-4ae9-aca1-041d0f593a63/resourceGroups/hybridRG/providers/Microsoft.HybridCompute/privateLinkScopes/testScope", + "networkConfigurationScopeId": "c5dff806-9902-414d-a0cb-f83fa5407166", + "networkConfigurationScopeResourceId": "/subscriptions/f5bcc1d9-23af-4ae9-aca1-041d0f593a63/resourceGroups/hybridRG/providers/Microsoft.HybridCompute/privateLinkScopes/testScope", "keyProperties": { "clientPublicKey": { "publicKey": "62617365363420656e636f646564207075626c6963206b6579", diff --git a/specification/hybridcompute/resource-manager/Microsoft.HybridCompute/preview/2023-10-03-preview/examples/networkConfiguration/NetworkConfigurationsPatch.json b/specification/hybridcompute/resource-manager/Microsoft.HybridCompute/preview/2023-10-03-preview/examples/networkConfiguration/NetworkConfigurationsPatch.json index efb305c528eb..94c4d3f03b43 100644 --- a/specification/hybridcompute/resource-manager/Microsoft.HybridCompute/preview/2023-10-03-preview/examples/networkConfiguration/NetworkConfigurationsPatch.json +++ b/specification/hybridcompute/resource-manager/Microsoft.HybridCompute/preview/2023-10-03-preview/examples/networkConfiguration/NetworkConfigurationsPatch.json @@ -5,7 +5,7 @@ "name": "current", "parameters": { "properties": { - "privateLinkScopeResourceId": "/subscriptions/f5bcc1d9-23af-4ae9-aca1-041d0f593a63/resourceGroups/hybridRG/providers/Microsoft.HybridCompute/privateLinkScopes/testScope" + "networkConfigurationScopeResourceId": "/subscriptions/f5bcc1d9-23af-4ae9-aca1-041d0f593a63/resourceGroups/hybridRG/providers/Microsoft.HybridCompute/privateLinkScopes/testScope" } } }, @@ -18,8 +18,8 @@ "properties": { "location": "westus", "tenantId": "00000000-1111-2222-3333-444444444444", - "privateLinkScopeId": "c5dff806-9902-414d-a0cb-f83fa5407166", - "privateLinkScopeResourceId": "/subscriptions/f5bcc1d9-23af-4ae9-aca1-041d0f593a63/resourceGroups/hybridRG/providers/Microsoft.HybridCompute/privateLinkScopes/testScope", + "networkConfigurationScopeId": "c5dff806-9902-414d-a0cb-f83fa5407166", + "networkConfigurationScopeResourceId": "/subscriptions/f5bcc1d9-23af-4ae9-aca1-041d0f593a63/resourceGroups/hybridRG/providers/Microsoft.HybridCompute/privateLinkScopes/testScope", "keyProperties": { "clientPublicKey": { "publicKey": "publickey", diff --git a/specification/hybridcompute/resource-manager/Microsoft.HybridCompute/preview/2023-10-03-preview/examples/networkConfiguration/NetworkConfigurationsUpdate.json b/specification/hybridcompute/resource-manager/Microsoft.HybridCompute/preview/2023-10-03-preview/examples/networkConfiguration/NetworkConfigurationsUpdate.json index e28f69a53563..e9c5a5d66a98 100644 --- a/specification/hybridcompute/resource-manager/Microsoft.HybridCompute/preview/2023-10-03-preview/examples/networkConfiguration/NetworkConfigurationsUpdate.json +++ b/specification/hybridcompute/resource-manager/Microsoft.HybridCompute/preview/2023-10-03-preview/examples/networkConfiguration/NetworkConfigurationsUpdate.json @@ -5,7 +5,7 @@ "name": "current", "parameters": { "properties": { - "privateLinkScopeResourceId": "/subscriptions/f5bcc1d9-23af-4ae9-aca1-041d0f593a63/resourceGroups/hybridRG/providers/Microsoft.HybridCompute/privateLinkScopes/testScope" + "networkConfigurationScopeResourceId": "/subscriptions/f5bcc1d9-23af-4ae9-aca1-041d0f593a63/resourceGroups/hybridRG/providers/Microsoft.HybridCompute/privateLinkScopes/testScope" } } }, @@ -18,8 +18,8 @@ "properties": { "location": "westus", "tenantId": "00000000-1111-2222-3333-444444444444", - "privateLinkScopeId": "c5dff806-9902-414d-a0cb-f83fa5407166", - "privateLinkScopeResourceId": "/subscriptions/f5bcc1d9-23af-4ae9-aca1-041d0f593a63/resourceGroups/hybridRG/providers/Microsoft.HybridCompute/privateLinkScopes/testScope", + "networkConfigurationScopeId": "c5dff806-9902-414d-a0cb-f83fa5407166", + "networkConfigurationScopeResourceId": "/subscriptions/f5bcc1d9-23af-4ae9-aca1-041d0f593a63/resourceGroups/hybridRG/providers/Microsoft.HybridCompute/privateLinkScopes/testScope", "keyProperties": { "clientPublicKey": { "publicKey": "publickey", @@ -38,8 +38,8 @@ "properties": { "location": "westus", "tenantId": "00000000-1111-2222-3333-444444444444", - "privateLinkScopeId": "c5dff806-9902-414d-a0cb-f83fa5407166", - "privateLinkScopeResourceId": "/subscriptions/f5bcc1d9-23af-4ae9-aca1-041d0f593a63/resourceGroups/hybridRG/providers/Microsoft.HybridCompute/privateLinkScopes/testScope", + "networkConfigurationScopeId": "c5dff806-9902-414d-a0cb-f83fa5407166", + "networkConfigurationScopeResourceId": "/subscriptions/f5bcc1d9-23af-4ae9-aca1-041d0f593a63/resourceGroups/hybridRG/providers/Microsoft.HybridCompute/privateLinkScopes/testScope", "keyProperties": { "clientPublicKey": { "publicKey": "publickey", diff --git a/specification/hybridcompute/resource-manager/Microsoft.HybridCompute/preview/2023-10-03-preview/privateLinkScopes.json b/specification/hybridcompute/resource-manager/Microsoft.HybridCompute/preview/2023-10-03-preview/privateLinkScopes.json index 2b0be2dbbb14..b6e9dc34e523 100644 --- a/specification/hybridcompute/resource-manager/Microsoft.HybridCompute/preview/2023-10-03-preview/privateLinkScopes.json +++ b/specification/hybridcompute/resource-manager/Microsoft.HybridCompute/preview/2023-10-03-preview/privateLinkScopes.json @@ -1017,13 +1017,13 @@ "readOnly": true, "description": "Azure resource tenant Id" }, - "privateLinkScopeId": { + "networkConfigurationScopeId": { "type": "string", - "description": "Associated Private Link Scope Id" + "description": "Associated Network Configuration Scope Id" }, - "privateLinkScopeResourceId": { + "networkConfigurationScopeResourceId": { "type": "string", - "description": "Associated Private Link Scope Resource Id" + "description": "Associated Network Configuration Scope Resource Id" }, "keyProperties": { "description": "Public key information for client authentication", @@ -1861,12 +1861,12 @@ "x-ms-skip-url-encoding": true, "x-ms-parameter-location": "method" }, - "privateLinkScopeId": { + "NetworkConfigurationScopeId": { "name": "scopeId", "in": "path", "required": true, "type": "string", - "description": "The id (Guid) of the Azure Arc Private Link Scope resource.", + "description": "The id (Guid) of the Azure Arc Network Configuration Scope resource.", "x-ms-parameter-location": "method" }, "PerimeterName": { From 9316d6b5342d44d4ceebc481d7aeec47a9fbf30d Mon Sep 17 00:00:00 2001 From: adrielmsft Date: Mon, 23 Oct 2023 11:11:11 -0400 Subject: [PATCH 47/57] remove pls name pattern --- .../preview/2023-10-03-preview/privateLinkScopes.json | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/specification/hybridcompute/resource-manager/Microsoft.HybridCompute/preview/2023-10-03-preview/privateLinkScopes.json b/specification/hybridcompute/resource-manager/Microsoft.HybridCompute/preview/2023-10-03-preview/privateLinkScopes.json index b6e9dc34e523..0c50c8ab37a0 100644 --- a/specification/hybridcompute/resource-manager/Microsoft.HybridCompute/preview/2023-10-03-preview/privateLinkScopes.json +++ b/specification/hybridcompute/resource-manager/Microsoft.HybridCompute/preview/2023-10-03-preview/privateLinkScopes.json @@ -1815,8 +1815,7 @@ "required": true, "type": "string", "description": "The name of the Azure Arc PrivateLinkScope resource.", - "x-ms-parameter-location": "method", - "pattern": ".+" + "x-ms-parameter-location": "method" }, "PrivateLinkScopeId": { "name": "privateLinkScopeId", From f68aed81eb1d077fc44ce4a07e35551f9ecca0f8 Mon Sep 17 00:00:00 2001 From: adrielmsft Date: Mon, 23 Oct 2023 11:22:35 -0400 Subject: [PATCH 48/57] change required list in network config props --- .../preview/2023-10-03-preview/privateLinkScopes.json | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/specification/hybridcompute/resource-manager/Microsoft.HybridCompute/preview/2023-10-03-preview/privateLinkScopes.json b/specification/hybridcompute/resource-manager/Microsoft.HybridCompute/preview/2023-10-03-preview/privateLinkScopes.json index 0c50c8ab37a0..27a1cd53f9ce 100644 --- a/specification/hybridcompute/resource-manager/Microsoft.HybridCompute/preview/2023-10-03-preview/privateLinkScopes.json +++ b/specification/hybridcompute/resource-manager/Microsoft.HybridCompute/preview/2023-10-03-preview/privateLinkScopes.json @@ -1032,7 +1032,7 @@ } }, "required": [ - "privateLinkScopeResourceId" + "networkConfigurationScopeResourceId" ] }, "KeyProperties": { From 95cb34d723361af4393e10e263b15e0dc5665719 Mon Sep 17 00:00:00 2001 From: adrielmsft Date: Mon, 23 Oct 2023 11:26:24 -0400 Subject: [PATCH 49/57] re-add pattern to pls name --- .../preview/2023-10-03-preview/privateLinkScopes.json | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/specification/hybridcompute/resource-manager/Microsoft.HybridCompute/preview/2023-10-03-preview/privateLinkScopes.json b/specification/hybridcompute/resource-manager/Microsoft.HybridCompute/preview/2023-10-03-preview/privateLinkScopes.json index 27a1cd53f9ce..fc50e52597a0 100644 --- a/specification/hybridcompute/resource-manager/Microsoft.HybridCompute/preview/2023-10-03-preview/privateLinkScopes.json +++ b/specification/hybridcompute/resource-manager/Microsoft.HybridCompute/preview/2023-10-03-preview/privateLinkScopes.json @@ -1815,7 +1815,8 @@ "required": true, "type": "string", "description": "The name of the Azure Arc PrivateLinkScope resource.", - "x-ms-parameter-location": "method" + "x-ms-parameter-location": "method", + "pattern": ".+" }, "PrivateLinkScopeId": { "name": "privateLinkScopeId", From 5828037bc12999041277c19e7ddbc5f2fe336e24 Mon Sep 17 00:00:00 2001 From: adrielmsft Date: Mon, 23 Oct 2023 14:21:08 -0400 Subject: [PATCH 50/57] update regex pattern for pls name --- .../preview/2023-10-03-preview/privateLinkScopes.json | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/specification/hybridcompute/resource-manager/Microsoft.HybridCompute/preview/2023-10-03-preview/privateLinkScopes.json b/specification/hybridcompute/resource-manager/Microsoft.HybridCompute/preview/2023-10-03-preview/privateLinkScopes.json index fc50e52597a0..538207efba8b 100644 --- a/specification/hybridcompute/resource-manager/Microsoft.HybridCompute/preview/2023-10-03-preview/privateLinkScopes.json +++ b/specification/hybridcompute/resource-manager/Microsoft.HybridCompute/preview/2023-10-03-preview/privateLinkScopes.json @@ -1816,7 +1816,7 @@ "type": "string", "description": "The name of the Azure Arc PrivateLinkScope resource.", "x-ms-parameter-location": "method", - "pattern": ".+" + "pattern": "[a-zA-Z0-9-_\\.]+" }, "PrivateLinkScopeId": { "name": "privateLinkScopeId", From 8840e6659a1868871ec8836c77febde4dfc6e716 Mon Sep 17 00:00:00 2001 From: adrielmsft Date: Tue, 24 Oct 2023 15:07:01 -0400 Subject: [PATCH 51/57] arm id details to ncs resource id property --- .../2023-10-03-preview/privateLinkScopes.json | 12 ++++++++++-- 1 file changed, 10 insertions(+), 2 deletions(-) diff --git a/specification/hybridcompute/resource-manager/Microsoft.HybridCompute/preview/2023-10-03-preview/privateLinkScopes.json b/specification/hybridcompute/resource-manager/Microsoft.HybridCompute/preview/2023-10-03-preview/privateLinkScopes.json index 538207efba8b..15dd36228a2d 100644 --- a/specification/hybridcompute/resource-manager/Microsoft.HybridCompute/preview/2023-10-03-preview/privateLinkScopes.json +++ b/specification/hybridcompute/resource-manager/Microsoft.HybridCompute/preview/2023-10-03-preview/privateLinkScopes.json @@ -1019,11 +1019,19 @@ }, "networkConfigurationScopeId": { "type": "string", - "description": "Associated Network Configuration Scope Id" + "description": "Associated Network Configuration Scope Id (GUID)" }, "networkConfigurationScopeResourceId": { "type": "string", - "description": "Associated Network Configuration Scope Resource Id" + "description": "Associated Network Configuration Scope Resource Id", + "format":"arm-id", + "x-ms-arm-id-details": { + "allowedResources": [ + { + "type": "Microsoft.HybridCompute/privateLinkScopes" + } + ] + } }, "keyProperties": { "description": "Public key information for client authentication", From 60a37b45bcdb2ed396ab87f08d5ad4958a869bd8 Mon Sep 17 00:00:00 2001 From: adrielmsft Date: Tue, 24 Oct 2023 15:21:06 -0400 Subject: [PATCH 52/57] extend NSP config from common resource type --- .../2023-10-03-preview/privateLinkScopes.json | 22 +++++-------------- 1 file changed, 6 insertions(+), 16 deletions(-) diff --git a/specification/hybridcompute/resource-manager/Microsoft.HybridCompute/preview/2023-10-03-preview/privateLinkScopes.json b/specification/hybridcompute/resource-manager/Microsoft.HybridCompute/preview/2023-10-03-preview/privateLinkScopes.json index 15dd36228a2d..0fae422e11f6 100644 --- a/specification/hybridcompute/resource-manager/Microsoft.HybridCompute/preview/2023-10-03-preview/privateLinkScopes.json +++ b/specification/hybridcompute/resource-manager/Microsoft.HybridCompute/preview/2023-10-03-preview/privateLinkScopes.json @@ -1086,26 +1086,16 @@ "type": "object", "description": "Properties that define a Network Security Perimeter resource.", "properties": { - "id": { - "type": "string", - "readOnly": true, - "description": "Azure resource Id" - }, - "name": { - "type": "string", - "description": "Azure resource name", - "readOnly": true - }, - "type": { - "type": "string", - "readOnly": true, - "description": "Azure resource type" - }, "properties": { "x-ms-client-flatten": true, "description": "Properties that define a Network Security Perimeter resource.", "$ref": "#/definitions/NetworkSecurityPerimeterConfigurationProperties" - } + }, + "allOf": [ + { + "$ref": "../../../../../common-types/resource-management/v3/types.json#/definitions/Resource" + } + ] }, "x-ms-azure-resource": true }, From 7c7093f8e8241aee52c4a41687ca295d26ee9f80 Mon Sep 17 00:00:00 2001 From: adrielmsft Date: Tue, 24 Oct 2023 15:24:28 -0400 Subject: [PATCH 53/57] prettier fix --- .../preview/2023-10-03-preview/privateLinkScopes.json | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/specification/hybridcompute/resource-manager/Microsoft.HybridCompute/preview/2023-10-03-preview/privateLinkScopes.json b/specification/hybridcompute/resource-manager/Microsoft.HybridCompute/preview/2023-10-03-preview/privateLinkScopes.json index 0fae422e11f6..cbf8f21175f6 100644 --- a/specification/hybridcompute/resource-manager/Microsoft.HybridCompute/preview/2023-10-03-preview/privateLinkScopes.json +++ b/specification/hybridcompute/resource-manager/Microsoft.HybridCompute/preview/2023-10-03-preview/privateLinkScopes.json @@ -1024,7 +1024,7 @@ "networkConfigurationScopeResourceId": { "type": "string", "description": "Associated Network Configuration Scope Resource Id", - "format":"arm-id", + "format": "arm-id", "x-ms-arm-id-details": { "allowedResources": [ { From 0da0bbe0cdc80fa3d2b01326c133ea99cbe00ce1 Mon Sep 17 00:00:00 2001 From: adrielmsft Date: Tue, 24 Oct 2023 15:33:26 -0400 Subject: [PATCH 54/57] revert reference to common resource type --- .../2023-10-03-preview/privateLinkScopes.json | 22 ++++++++++++++----- 1 file changed, 16 insertions(+), 6 deletions(-) diff --git a/specification/hybridcompute/resource-manager/Microsoft.HybridCompute/preview/2023-10-03-preview/privateLinkScopes.json b/specification/hybridcompute/resource-manager/Microsoft.HybridCompute/preview/2023-10-03-preview/privateLinkScopes.json index cbf8f21175f6..ef84b0be0098 100644 --- a/specification/hybridcompute/resource-manager/Microsoft.HybridCompute/preview/2023-10-03-preview/privateLinkScopes.json +++ b/specification/hybridcompute/resource-manager/Microsoft.HybridCompute/preview/2023-10-03-preview/privateLinkScopes.json @@ -1086,16 +1086,26 @@ "type": "object", "description": "Properties that define a Network Security Perimeter resource.", "properties": { + "id": { + "type": "string", + "readOnly": true, + "description": "Azure resource Id" + }, + "name": { + "type": "string", + "description": "Azure resource name", + "readOnly": true + }, + "type": { + "type": "string", + "readOnly": true, + "description": "Azure resource type" + }, "properties": { "x-ms-client-flatten": true, "description": "Properties that define a Network Security Perimeter resource.", "$ref": "#/definitions/NetworkSecurityPerimeterConfigurationProperties" - }, - "allOf": [ - { - "$ref": "../../../../../common-types/resource-management/v3/types.json#/definitions/Resource" - } - ] + } }, "x-ms-azure-resource": true }, From 073ccbfcc01ae9cfaa1987642220be4649346acf Mon Sep 17 00:00:00 2001 From: adrielmsft Date: Fri, 10 Nov 2023 17:32:24 -0500 Subject: [PATCH 55/57] replace guids with fake guids --- .../NetworkConfigurationsCreate.json | 16 ++++++++-------- .../NetworkConfigurationsGet.json | 8 ++++---- .../NetworkConfigurationsPatch.json | 10 +++++----- .../NetworkConfigurationsUpdate.json | 16 ++++++++-------- ...NetworkSecurityPerimeterConfigurationGet.json | 10 +++++----- ...etworkSecurityPerimeterConfigurationList.json | 12 ++++++------ ...kSecurityPerimeterConfigurationReconcile.json | 4 ++-- 7 files changed, 38 insertions(+), 38 deletions(-) diff --git a/specification/hybridcompute/resource-manager/Microsoft.HybridCompute/preview/2023-10-03-preview/examples/networkConfiguration/NetworkConfigurationsCreate.json b/specification/hybridcompute/resource-manager/Microsoft.HybridCompute/preview/2023-10-03-preview/examples/networkConfiguration/NetworkConfigurationsCreate.json index f78b7a262831..b33904162d11 100644 --- a/specification/hybridcompute/resource-manager/Microsoft.HybridCompute/preview/2023-10-03-preview/examples/networkConfiguration/NetworkConfigurationsCreate.json +++ b/specification/hybridcompute/resource-manager/Microsoft.HybridCompute/preview/2023-10-03-preview/examples/networkConfiguration/NetworkConfigurationsCreate.json @@ -1,26 +1,26 @@ { "parameters": { - "resourceUri": "subscriptions/f5bcc1d9-23af-4ae9-aca1-041d0f593a63/resourceGroups/hybridRG/providers/Microsoft.HybridCompute/machines/testMachine", + "resourceUri": "subscriptions/00000000-1111-2222-3333-444444444444/resourceGroups/hybridRG/providers/Microsoft.HybridCompute/machines/testMachine", "api-version": "2023-10-03-preview", "name": "current", "parameters": { "properties": { "location": "westus", - "networkConfigurationScopeResourceId": "/subscriptions/f5bcc1d9-23af-4ae9-aca1-041d0f593a63/resourceGroups/hybridRG/providers/Microsoft.HybridCompute/privateLinkScopes/testScope" + "networkConfigurationScopeResourceId": "/subscriptions/00000000-1111-2222-3333-444444444444/resourceGroups/hybridRG/providers/Microsoft.HybridCompute/privateLinkScopes/testScope" } } }, "responses": { "200": { "body": { - "id": "/subscriptions/f5bcc1d9-23af-4ae9-aca1-041d0f593a63/resourceGroups/hybridRG/providers/Microsoft.HybridCompute/machines/testMachine/providers/Microsoft.HybridCompute/networkConfigurations/current", + "id": "/subscriptions/00000000-1111-2222-3333-444444444444/resourceGroups/hybridRG/providers/Microsoft.HybridCompute/machines/testMachine/providers/Microsoft.HybridCompute/networkConfigurations/current", "name": "current", "type": "Microsoft.HybridCompute/networkConfigurations", "properties": { "location": "westus", "tenantId": "00000000-1111-2222-3333-444444444444", - "networkConfigurationScopeId": "c5dff806-9902-414d-a0cb-f83fa5407166", - "networkConfigurationScopeResourceId": "/subscriptions/f5bcc1d9-23af-4ae9-aca1-041d0f593a63/resourceGroups/hybridRG/providers/Microsoft.HybridCompute/privateLinkScopes/testScope", + "networkConfigurationScopeId": "00000000-1111-2222-3333-444444444444", + "networkConfigurationScopeResourceId": "/subscriptions/00000000-1111-2222-3333-444444444444/resourceGroups/hybridRG/providers/Microsoft.HybridCompute/privateLinkScopes/testScope", "keyProperties": { "clientPublicKey": { "publicKey": "62617365363420656e636f646564207075626c6963206b6579", @@ -33,14 +33,14 @@ }, "201": { "body": { - "id": "/subscriptions/f5bcc1d9-23af-4ae9-aca1-041d0f593a63/resourceGroups/hybridRG/providers/Microsoft.HybridCompute/machines/testMachine/providers/Microsoft.HybridCompute/networkConfigurations/current", + "id": "/subscriptions/00000000-1111-2222-3333-444444444444/resourceGroups/hybridRG/providers/Microsoft.HybridCompute/machines/testMachine/providers/Microsoft.HybridCompute/networkConfigurations/current", "name": "current", "type": "Microsoft.HybridCompute/networkConfigurations", "properties": { "location": "westus", "tenantId": "00000000-1111-2222-3333-444444444444", - "networkConfigurationScopeId": "c5dff806-9902-414d-a0cb-f83fa5407166", - "networkConfigurationScopeResourceId": "/subscriptions/f5bcc1d9-23af-4ae9-aca1-041d0f593a63/resourceGroups/hybridRG/providers/Microsoft.HybridCompute/privateLinkScopes/testScope", + "networkConfigurationScopeId": "00000000-1111-2222-3333-444444444444", + "networkConfigurationScopeResourceId": "/subscriptions/00000000-1111-2222-3333-444444444444/resourceGroups/hybridRG/providers/Microsoft.HybridCompute/privateLinkScopes/testScope", "keyProperties": { "clientPublicKey": { "publicKey": "62617365363420656e636f646564207075626c6963206b6579", diff --git a/specification/hybridcompute/resource-manager/Microsoft.HybridCompute/preview/2023-10-03-preview/examples/networkConfiguration/NetworkConfigurationsGet.json b/specification/hybridcompute/resource-manager/Microsoft.HybridCompute/preview/2023-10-03-preview/examples/networkConfiguration/NetworkConfigurationsGet.json index 8f8ddb2aca7a..a40ef89dc124 100644 --- a/specification/hybridcompute/resource-manager/Microsoft.HybridCompute/preview/2023-10-03-preview/examples/networkConfiguration/NetworkConfigurationsGet.json +++ b/specification/hybridcompute/resource-manager/Microsoft.HybridCompute/preview/2023-10-03-preview/examples/networkConfiguration/NetworkConfigurationsGet.json @@ -1,19 +1,19 @@ { "parameters": { - "resourceUri": "subscriptions/f5bcc1d9-23af-4ae9-aca1-041d0f593a63/resourceGroups/hybridRG/providers/Microsoft.HybridCompute/machines/testMachine", + "resourceUri": "subscriptions/00000000-1111-2222-3333-444444444444/resourceGroups/hybridRG/providers/Microsoft.HybridCompute/machines/testMachine", "api-version": "2023-10-03-preview" }, "responses": { "200": { "body": { - "id": "/subscriptions/f5bcc1d9-23af-4ae9-aca1-041d0f593a63/resourceGroups/hybridRG/providers/Microsoft.HybridCompute/machines/testMachine/providers/Microsoft.HybridCompute/networkConfigurations/current", + "id": "/subscriptions/00000000-1111-2222-3333-444444444444/resourceGroups/hybridRG/providers/Microsoft.HybridCompute/machines/testMachine/providers/Microsoft.HybridCompute/networkConfigurations/current", "name": "current", "type": "Microsoft.HybridCompute/networkConfigurations", "properties": { "tenantId": "default", "location": "westus", - "networkConfigurationScopeId": "c5dff806-9902-414d-a0cb-f83fa5407166", - "networkConfigurationScopeResourceId": "/subscriptions/f5bcc1d9-23af-4ae9-aca1-041d0f593a63/resourceGroups/hybridRG/providers/Microsoft.HybridCompute/privateLinkScopes/testScope", + "networkConfigurationScopeId": "00000000-1111-2222-3333-444444444444", + "networkConfigurationScopeResourceId": "/subscriptions/00000000-1111-2222-3333-444444444444/resourceGroups/hybridRG/providers/Microsoft.HybridCompute/privateLinkScopes/testScope", "keyProperties": { "clientPublicKey": { "publicKey": "62617365363420656e636f646564207075626c6963206b6579", diff --git a/specification/hybridcompute/resource-manager/Microsoft.HybridCompute/preview/2023-10-03-preview/examples/networkConfiguration/NetworkConfigurationsPatch.json b/specification/hybridcompute/resource-manager/Microsoft.HybridCompute/preview/2023-10-03-preview/examples/networkConfiguration/NetworkConfigurationsPatch.json index 94c4d3f03b43..9ef17593b862 100644 --- a/specification/hybridcompute/resource-manager/Microsoft.HybridCompute/preview/2023-10-03-preview/examples/networkConfiguration/NetworkConfigurationsPatch.json +++ b/specification/hybridcompute/resource-manager/Microsoft.HybridCompute/preview/2023-10-03-preview/examples/networkConfiguration/NetworkConfigurationsPatch.json @@ -1,25 +1,25 @@ { "parameters": { - "resourceUri": "subscriptions/f5bcc1d9-23af-4ae9-aca1-041d0f593a63/resourceGroups/hybridRG/providers/Microsoft.HybridCompute/machines/testMachine", + "resourceUri": "subscriptions/00000000-1111-2222-3333-444444444444/resourceGroups/hybridRG/providers/Microsoft.HybridCompute/machines/testMachine", "api-version": "2023-10-03-preview", "name": "current", "parameters": { "properties": { - "networkConfigurationScopeResourceId": "/subscriptions/f5bcc1d9-23af-4ae9-aca1-041d0f593a63/resourceGroups/hybridRG/providers/Microsoft.HybridCompute/privateLinkScopes/testScope" + "networkConfigurationScopeResourceId": "/subscriptions/00000000-1111-2222-3333-444444444444/resourceGroups/hybridRG/providers/Microsoft.HybridCompute/privateLinkScopes/testScope" } } }, "responses": { "200": { "body": { - "id": "/subscriptions/f5bcc1d9-23af-4ae9-aca1-041d0f593a63/resourceGroups/hybridRG/providers/Microsoft.HybridCompute/machines/testMachine/providers/Microsoft.HybridCompute/networkConfigurations/current", + "id": "/subscriptions/00000000-1111-2222-3333-444444444444/resourceGroups/hybridRG/providers/Microsoft.HybridCompute/machines/testMachine/providers/Microsoft.HybridCompute/networkConfigurations/current", "name": "current", "type": "Microsoft.HybridCompute/networkConfigurations", "properties": { "location": "westus", "tenantId": "00000000-1111-2222-3333-444444444444", - "networkConfigurationScopeId": "c5dff806-9902-414d-a0cb-f83fa5407166", - "networkConfigurationScopeResourceId": "/subscriptions/f5bcc1d9-23af-4ae9-aca1-041d0f593a63/resourceGroups/hybridRG/providers/Microsoft.HybridCompute/privateLinkScopes/testScope", + "networkConfigurationScopeId": "00000000-1111-2222-3333-444444444444", + "networkConfigurationScopeResourceId": "/subscriptions/00000000-1111-2222-3333-444444444444/resourceGroups/hybridRG/providers/Microsoft.HybridCompute/privateLinkScopes/testScope", "keyProperties": { "clientPublicKey": { "publicKey": "publickey", diff --git a/specification/hybridcompute/resource-manager/Microsoft.HybridCompute/preview/2023-10-03-preview/examples/networkConfiguration/NetworkConfigurationsUpdate.json b/specification/hybridcompute/resource-manager/Microsoft.HybridCompute/preview/2023-10-03-preview/examples/networkConfiguration/NetworkConfigurationsUpdate.json index e9c5a5d66a98..7fb3bc315bb5 100644 --- a/specification/hybridcompute/resource-manager/Microsoft.HybridCompute/preview/2023-10-03-preview/examples/networkConfiguration/NetworkConfigurationsUpdate.json +++ b/specification/hybridcompute/resource-manager/Microsoft.HybridCompute/preview/2023-10-03-preview/examples/networkConfiguration/NetworkConfigurationsUpdate.json @@ -1,25 +1,25 @@ { "parameters": { - "resourceUri": "subscriptions/f5bcc1d9-23af-4ae9-aca1-041d0f593a63/resourceGroups/hybridRG/providers/Microsoft.HybridCompute/machines/testMachine", + "resourceUri": "subscriptions/00000000-1111-2222-3333-444444444444/resourceGroups/hybridRG/providers/Microsoft.HybridCompute/machines/testMachine", "api-version": "2023-10-03-preview", "name": "current", "parameters": { "properties": { - "networkConfigurationScopeResourceId": "/subscriptions/f5bcc1d9-23af-4ae9-aca1-041d0f593a63/resourceGroups/hybridRG/providers/Microsoft.HybridCompute/privateLinkScopes/testScope" + "networkConfigurationScopeResourceId": "/subscriptions/00000000-1111-2222-3333-444444444444/resourceGroups/hybridRG/providers/Microsoft.HybridCompute/privateLinkScopes/testScope" } } }, "responses": { "200": { "body": { - "id": "/subscriptions/f5bcc1d9-23af-4ae9-aca1-041d0f593a63/resourceGroups/hybridRG/providers/Microsoft.HybridCompute/machines/testMachine/providers/Microsoft.HybridCompute/networkConfigurations/current", + "id": "/subscriptions/00000000-1111-2222-3333-444444444444/resourceGroups/hybridRG/providers/Microsoft.HybridCompute/machines/testMachine/providers/Microsoft.HybridCompute/networkConfigurations/current", "name": "current", "type": "Microsoft.HybridCompute/networkConfigurations", "properties": { "location": "westus", "tenantId": "00000000-1111-2222-3333-444444444444", - "networkConfigurationScopeId": "c5dff806-9902-414d-a0cb-f83fa5407166", - "networkConfigurationScopeResourceId": "/subscriptions/f5bcc1d9-23af-4ae9-aca1-041d0f593a63/resourceGroups/hybridRG/providers/Microsoft.HybridCompute/privateLinkScopes/testScope", + "networkConfigurationScopeId": "00000000-1111-2222-3333-444444444444", + "networkConfigurationScopeResourceId": "/subscriptions/00000000-1111-2222-3333-444444444444/resourceGroups/hybridRG/providers/Microsoft.HybridCompute/privateLinkScopes/testScope", "keyProperties": { "clientPublicKey": { "publicKey": "publickey", @@ -32,14 +32,14 @@ }, "201": { "body": { - "id": "/subscriptions/f5bcc1d9-23af-4ae9-aca1-041d0f593a63/resourceGroups/hybridRG/providers/Microsoft.HybridCompute/machines/testMachine/providers/Microsoft.HybridCompute/networkConfigurations/current", + "id": "/subscriptions/00000000-1111-2222-3333-444444444444/resourceGroups/hybridRG/providers/Microsoft.HybridCompute/machines/testMachine/providers/Microsoft.HybridCompute/networkConfigurations/current", "name": "current", "type": "Microsoft.HybridCompute/networkConfigurations", "properties": { "location": "westus", "tenantId": "00000000-1111-2222-3333-444444444444", - "networkConfigurationScopeId": "c5dff806-9902-414d-a0cb-f83fa5407166", - "networkConfigurationScopeResourceId": "/subscriptions/f5bcc1d9-23af-4ae9-aca1-041d0f593a63/resourceGroups/hybridRG/providers/Microsoft.HybridCompute/privateLinkScopes/testScope", + "networkConfigurationScopeId": "00000000-1111-2222-3333-444444444444", + "networkConfigurationScopeResourceId": "/subscriptions/00000000-1111-2222-3333-444444444444/resourceGroups/hybridRG/providers/Microsoft.HybridCompute/privateLinkScopes/testScope", "keyProperties": { "clientPublicKey": { "publicKey": "publickey", diff --git a/specification/hybridcompute/resource-manager/Microsoft.HybridCompute/preview/2023-10-03-preview/examples/networkSecurityPerimeterConfiguration/NetworkSecurityPerimeterConfigurationGet.json b/specification/hybridcompute/resource-manager/Microsoft.HybridCompute/preview/2023-10-03-preview/examples/networkSecurityPerimeterConfiguration/NetworkSecurityPerimeterConfigurationGet.json index ec6712f9184e..b1d97ddf7b68 100644 --- a/specification/hybridcompute/resource-manager/Microsoft.HybridCompute/preview/2023-10-03-preview/examples/networkSecurityPerimeterConfiguration/NetworkSecurityPerimeterConfigurationGet.json +++ b/specification/hybridcompute/resource-manager/Microsoft.HybridCompute/preview/2023-10-03-preview/examples/networkSecurityPerimeterConfiguration/NetworkSecurityPerimeterConfigurationGet.json @@ -1,23 +1,23 @@ { "parameters": { "api-version": "2023-10-03-preview", - "subscriptionId": "86dc51d3-92ed-4d7e-947a-775ea79b4919", + "subscriptionId": "00000000-1111-2222-3333-444444444444", "resourceGroupName": "my-resource-group", "scopeName": "my-privatelinkscope", - "perimeterName": "ece2d09e-184e-4f71-beb9-346e8ab12b83.myAssociation" + "perimeterName": "aaaaaaaa-bbbb-cccc-dddd-eeeeeeeeeeee.myAssociation" }, "responses": { "200": { "body": { - "id": "/subscriptions/00000000-1111-2222-3333-444444444444/resourceGroups/my-resource-group/providers/Microsoft.HybridCompute/privateLinkScopes/my-privatelinkscope/networkSecurityPerimeterConfigurations/ece2d09e-184e-4f71-beb9-346e8ab12b83.myAssociation", - "name": "ece2d09e-184e-4f71-beb9-346e8ab12b83.myAssociation", + "id": "/subscriptions/00000000-1111-2222-3333-444444444444/resourceGroups/my-resource-group/providers/Microsoft.HybridCompute/privateLinkScopes/my-privatelinkscope/networkSecurityPerimeterConfigurations/aaaaaaaa-bbbb-cccc-dddd-eeeeeeeeeeee.myAssociation", + "name": "aaaaaaaa-bbbb-cccc-dddd-eeeeeeeeeeee.myAssociation", "type": "Microsoft.HybridCompute/privateLinkScopes/networkSecurityPerimeterConfigurations", "properties": { "provisioningState": "Accepted", "provisioningIssues": [], "networkSecurityPerimeter": { "id": "/subscriptions/55555555-6666-7777-8888-999999999999/resourceGroups/Default-Network/providers/Microsoft.Network/networkSecurityPerimeters/myPerimeter", - "perimeterGuid": "ece2d09e-184e-4f71-beb9-346e8ab12b83", + "perimeterGuid": "aaaaaaaa-bbbb-cccc-dddd-eeeeeeeeeeee", "location": "westus" }, "resourceAssociation": { diff --git a/specification/hybridcompute/resource-manager/Microsoft.HybridCompute/preview/2023-10-03-preview/examples/networkSecurityPerimeterConfiguration/NetworkSecurityPerimeterConfigurationList.json b/specification/hybridcompute/resource-manager/Microsoft.HybridCompute/preview/2023-10-03-preview/examples/networkSecurityPerimeterConfiguration/NetworkSecurityPerimeterConfigurationList.json index 057f2330051e..0a3058c15aeb 100644 --- a/specification/hybridcompute/resource-manager/Microsoft.HybridCompute/preview/2023-10-03-preview/examples/networkSecurityPerimeterConfiguration/NetworkSecurityPerimeterConfigurationList.json +++ b/specification/hybridcompute/resource-manager/Microsoft.HybridCompute/preview/2023-10-03-preview/examples/networkSecurityPerimeterConfiguration/NetworkSecurityPerimeterConfigurationList.json @@ -1,7 +1,7 @@ { "parameters": { "api-version": "2023-10-03-preview", - "subscriptionId": "86dc51d3-92ed-4d7e-947a-775ea79b4919", + "subscriptionId": "00000000-1111-2222-3333-444444444444", "resourceGroupName": "my-resource-group", "scopeName": "my-privatelinkscope" }, @@ -10,15 +10,15 @@ "body": { "value": [ { - "id": "/subscriptions/00000000-1111-2222-3333-444444444444/resourceGroups/my-resource-group/providers/Microsoft.HybridCompute/privateLinkScopes/my-privatelinkscope/networkSecurityPerimeterConfigurations/ece2d09e-184e-4f71-beb9-346e8ab12b83.myAssociation", - "name": "ece2d09e-184e-4f71-beb9-346e8ab12b83.myAssociation", + "id": "/subscriptions/00000000-1111-2222-3333-444444444444/resourceGroups/my-resource-group/providers/Microsoft.HybridCompute/privateLinkScopes/my-privatelinkscope/networkSecurityPerimeterConfigurations/aaaaaaaa-bbbb-cccc-dddd-eeeeeeeeeeee.myAssociation", + "name": "aaaaaaaa-bbbb-cccc-dddd-eeeeeeeeeeee.myAssociation", "type": "Microsoft.HybridCompute/privateLinkScopes/networkSecurityPerimeterConfigurations", "properties": { "provisioningState": "Accepted", "provisioningIssues": [], "networkSecurityPerimeter": { "id": "/subscriptions/55555555-6666-7777-8888-999999999999/resourceGroups/Default-Network/providers/Microsoft.Network/networkSecurityPerimeters/myPerimeter", - "perimeterGuid": "ece2d09e-184e-4f71-beb9-346e8ab12b83", + "perimeterGuid": "aaaaaaaa-bbbb-cccc-dddd-eeeeeeeeeeee", "location": "westus" }, "resourceAssociation": { @@ -48,14 +48,14 @@ }, { "id": "/subscriptions/00000000-1111-2222-3333-444444444444/resourceGroups/my-resource-group/providers/Microsoft.HybridCompute/privateLinkScopes/my-privatelinkscope/networkSecurityPerimeterConfigurations/37364608-77ea-4c2a-bdc3-4b0b1cdfab15.myAssociation2", - "name": "37364608-77ea-4c2a-bdc3-4b0b1cdfab15.myAssociation2", + "name": "aaaaaaaa-0000-cccc-1111-eeeeeeeeeeee.myAssociation2", "type": "Microsoft.HybridCompute/privateLinkScopes/networkSecurityPerimeterConfigurations", "properties": { "provisioningState": "Accepted", "provisioningIssues": [], "networkSecurityPerimeter": { "id": "/subscriptions/55555555-6666-7777-8888-999999999999/resourceGroups/Default-Network/providers/Microsoft.Network/networkSecurityPerimeters/myOtherPerimeter", - "perimeterGuid": "37364608-77ea-4c2a-bdc3-4b0b1cdfab15", + "perimeterGuid": "aaaaaaaa-0000-cccc-1111-eeeeeeeeeeee", "location": "westus" }, "resourceAssociation": { diff --git a/specification/hybridcompute/resource-manager/Microsoft.HybridCompute/preview/2023-10-03-preview/examples/networkSecurityPerimeterConfiguration/NetworkSecurityPerimeterConfigurationReconcile.json b/specification/hybridcompute/resource-manager/Microsoft.HybridCompute/preview/2023-10-03-preview/examples/networkSecurityPerimeterConfiguration/NetworkSecurityPerimeterConfigurationReconcile.json index e3a9502649c4..e150f540364b 100644 --- a/specification/hybridcompute/resource-manager/Microsoft.HybridCompute/preview/2023-10-03-preview/examples/networkSecurityPerimeterConfiguration/NetworkSecurityPerimeterConfigurationReconcile.json +++ b/specification/hybridcompute/resource-manager/Microsoft.HybridCompute/preview/2023-10-03-preview/examples/networkSecurityPerimeterConfiguration/NetworkSecurityPerimeterConfigurationReconcile.json @@ -1,10 +1,10 @@ { "parameters": { "api-version": "2023-10-03-preview", - "subscriptionId": "86dc51d3-92ed-4d7e-947a-775ea79b4919", + "subscriptionId": "00000000-1111-2222-3333-444444444444", "resourceGroupName": "my-resource-group", "scopeName": "my-privatelinkscope", - "perimeterName": "ece2d09e-184e-4f71-beb9-346e8ab12b83.myAssociation" + "perimeterName": "aaaaaaaa-bbbb-cccc-dddd-eeeeeeeeeeee.myAssociation" }, "responses": { "202": { From 7290f60e84fc37f4e0c8aaf521b3527dfe1b87f5 Mon Sep 17 00:00:00 2001 From: Ved Kale Date: Mon, 13 Nov 2023 19:25:23 -0800 Subject: [PATCH 56/57] remove creds --- .../examples/runCommand/RunCommands_CreateOrUpdate.json | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/specification/hybridcompute/resource-manager/Microsoft.HybridCompute/preview/2023-10-03-preview/examples/runCommand/RunCommands_CreateOrUpdate.json b/specification/hybridcompute/resource-manager/Microsoft.HybridCompute/preview/2023-10-03-preview/examples/runCommand/RunCommands_CreateOrUpdate.json index b02a490ab085..9cecebf51355 100644 --- a/specification/hybridcompute/resource-manager/Microsoft.HybridCompute/preview/2023-10-03-preview/examples/runCommand/RunCommands_CreateOrUpdate.json +++ b/specification/hybridcompute/resource-manager/Microsoft.HybridCompute/preview/2023-10-03-preview/examples/runCommand/RunCommands_CreateOrUpdate.json @@ -26,7 +26,7 @@ "runAsPassword": "", "timeoutInSeconds": 3600, "outputBlobUri": "https://mystorageaccount.blob.core.windows.net/myscriptoutputcontainer/MyScriptoutput.txt", - "errorBlobUri": "https://mystorageaccount.blob.core.windows.net/mycontainer/MyScriptError.txt?sp=racw&st=2022-10-07T19:40:21Z&se=2022-10-08T03:40:21Z&spr=https&sv=2021-06-08&sr=b&sig=Yh7B%2Fy83olbYBdfsfbUREvd7ol8Dq5EVP3lAO4Kj4xDcN8%3D" + "errorBlobUri": "https://mystorageaccount.blob.core.windows.net/mycontainer/MyScriptError.txt" } } }, @@ -55,7 +55,7 @@ "runAsUser": "user1", "timeoutInSeconds": 3600, "outputBlobUri": "https://mystorageaccount.blob.core.windows.net/myscriptoutputcontainer/MyScriptoutput.txt", - "errorBlobUri": "https://mystorageaccount.blob.core.windows.net/mycontainer/MyScriptError.txt?sp=racw&st=2022-10-07T19:40:21Z&se=2022-10-08T03:40:21Z&spr=https&sv=2021-06-08&sr=b&sig=Yh7B%2Fy83olbYBdfsfbUREvd7ol8Dq5EVP3lAO4Kj4xDcN8%3D", + "errorBlobUri": "https://mystorageaccount.blob.core.windows.net/mycontainer/MyScriptError.txt", "provisioningState": "Succeeded" } } @@ -89,7 +89,7 @@ "runAsUser": "user1", "timeoutInSeconds": 3600, "outputBlobUri": "https://mystorageaccount.blob.core.windows.net/myscriptoutputcontainer/MyScriptoutput.txt", - "errorBlobUri": "https://mystorageaccount.blob.core.windows.net/mycontainer/MyScriptError.txt?sp=racw&st=2022-10-07T19:40:21Z&se=2022-10-08T03:40:21Z&spr=https&sv=2021-06-08&sr=b&sig=Yh7B%2Fy83olbYBdfsfbUREvd7ol8Dq5EVP3lAO4Kj4xDcN8%3D", + "errorBlobUri": "https://mystorageaccount.blob.core.windows.net/mycontainer/MyScriptError.txt", "provisioningState": "Creating" } } From 539cbd070abbf9fb9a004a9e36f9c7109d12fde8 Mon Sep 17 00:00:00 2001 From: Ved Kale Date: Mon, 13 Nov 2023 20:10:56 -0800 Subject: [PATCH 57/57] remove secrets --- .../examples/runCommand/RunCommands_Update.json | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/specification/hybridcompute/resource-manager/Microsoft.HybridCompute/preview/2023-10-03-preview/examples/runCommand/RunCommands_Update.json b/specification/hybridcompute/resource-manager/Microsoft.HybridCompute/preview/2023-10-03-preview/examples/runCommand/RunCommands_Update.json index 8181aaf12c11..0db4c7a6e688 100644 --- a/specification/hybridcompute/resource-manager/Microsoft.HybridCompute/preview/2023-10-03-preview/examples/runCommand/RunCommands_Update.json +++ b/specification/hybridcompute/resource-manager/Microsoft.HybridCompute/preview/2023-10-03-preview/examples/runCommand/RunCommands_Update.json @@ -37,7 +37,7 @@ "runAsUser": "user1", "timeoutInSeconds": 3600, "outputBlobUri": "https://mystorageaccount.blob.core.windows.net/myscriptoutputcontainer/MyScriptoutput.txt", - "errorBlobUri": "https://mystorageaccount.blob.core.windows.net/mycontainer/MyScriptError.txt?sp=racw&st=2022-10-07T19:40:21Z&se=2022-10-08T03:40:21Z&spr=https&sv=2021-06-08&sr=b&sig=Yh7B%2Fy83olbYBdfsfbUREvd7ol8Dq5EVP3lAO4Kj4xDcN8%3D", + "errorBlobUri": "https://mystorageaccount.blob.core.windows.net/mycontainer/MyScriptError.txt", "provisioningState": "Succeeded", "instanceView": { "executionState": "Succeeded",